bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-wget] [PATCH 10/14] Do not depend on always defined macros


From: Steven M. Schweda
Subject: [Bug-wget] [PATCH 10/14] Do not depend on always defined macros
Date: Wed, 11 Jun 2014 13:08:21 -0500 (CDT)

> 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.


ALP $ gdiff wget-1_14/vms/vms.h_orig wget-1_14/vms/vms.h
10,12d9
<  *  Emergency substitution of stat() for lstat() for VAX and VMS CRTL
<  *  before V7.3-1.
<  *
50,59d46
<
<
< /* 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 */

   SMS.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]