This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[patch@25783] vmsish.h fix for lstat() definition
authorJohn E. Malmberg <wb8tyw@qsl.net>
Mon, 17 Oct 2005 17:08:19 +0000 (13:08 -0400)
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Tue, 18 Oct 2005 08:01:12 +0000 (08:01 +0000)
From: "John E. Malmberg" <wb8tyw@qsl.net>
Message-ID: <435412C3.3080504@qsl.net>

p4raw-id: //depot/perl@25786

vms/vmsish.h

index db0ff93..fbec33a 100644 (file)
@@ -592,6 +592,9 @@ struct utimbuf {
 /* Use our own stat() clones, which handle Unix-style directory names */
 #define Stat(name,bufptr) flex_stat(name,bufptr)
 #define Fstat(fd,bufptr) Perl_flex_fstat(aTHX_ fd,bufptr)
+#ifndef DONT_MASK_RTL_CALLS
+#define lstat(name, bufptr) Perl_flex_lstat(name, bufptr)
+#endif
 
 /* Setup for the dirent routines:
  * opendir(), closedir(), readdir(), seekdir(), telldir(), and