[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] [PATCH 10/14] Do not depend on always defined macros
From: |
Giuseppe Scrivano |
Subject: |
Re: [Bug-wget] [PATCH 10/14] Do not depend on always defined macros |
Date: |
Thu, 12 Jun 2014 08:48:35 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
"Steven M. Schweda" <address@hidden> writes:
>> diff --git a/vms/vms.h b/vms/vms.h
>> index d65aeda..19efdef 100644
>> --- a/vms/vms.h
>> +++ b/vms/vms.h
>> @@ -54,8 +54,6 @@ int utime( const char *path, const struct utimbuf
>> *times);
>> */
>> #if defined(__VAX) || __CRTL_VER < 70301000
>>
>> -#define lstat( __p1, __p2) stat( __p1, __p2)
>> -
>> #endif /* defined(__VAX) || __CRTL_VER < 70301000 */
>
> That section disappeared (in my code) in version 1.14. Note that
> after removing the #define, there's nothing left in the #if-#endif
> block, and the related comments are similarly pointless.
ops, thanks to have catched it. I've fixed it in my local copy, this is
how it looks now:
diff --git a/vms/vms.h b/vms/vms.h
index d65aeda..6053df1 100644
--- a/vms/vms.h
+++ b/vms/vms.h
@@ -49,16 +49,6 @@ int utime( const char *path, const struct utimbuf *times);
#endif /* __CRTL_VER < 70300000 */
-/* Emergency substitution of stat() for lstat() for VAX and VMS CRTL
- before V7.3-1.
-*/
-#if defined(__VAX) || __CRTL_VER < 70301000
-
-#define lstat( __p1, __p2) stat( __p1, __p2)
-
-#endif /* defined(__VAX) || __CRTL_VER < 70301000 */
-
-
/* Global storage. */
/* VMS destination file system type. < 0: unset/unknown
Thanks,
Giuseppe