[PATCH] winsup/cygwin: fix compile of path.cc after basename changes

Corinna Vinschen corinna-cygwin@cygwin.com
Mon Jul 6 20:02:00 GMT 2015


On Jul  6 14:41, Yaakov Selkowitz wrote:
> ---
>  winsup/cygwin/path.cc | 5 ++---
>  1 file changed, 2 insertions(+), 3 deletions(-)
> 
> diff --git a/winsup/cygwin/path.cc b/winsup/cygwin/path.cc
> index 446d746..5eb076f 100644
> --- a/winsup/cygwin/path.cc
> +++ b/winsup/cygwin/path.cc
> @@ -48,7 +48,7 @@
>       c: means c:\.
>    */
>  
> -#define _BASENAME_DEFINED
> +#define basename basename

As part of the sources, this define needs an informative comment,
describing why it's necessary.  Ideally not in just three words
following on the same line but in full english preceeding the #define
line.  With such a comment and a ChangeLog entry, patch is ok.


Thanks,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20150706/61c17398/attachment.sig>


More information about the Cygwin-patches mailing list