Re: more gcc warnings

2005-07-09 Thread Paul Eggert
Paul Eggert [EMAIL PROTECTED] writes: Does the following patch fix your problems with Cygwin? Clearly the stropt.h - stropts.h fix was needed, so I installed that patch. If you still have problems with Cygwin please let us know. ___ Bug-coreutils

Re: more gcc warnings

2005-07-09 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Paul Eggert on 7/9/2005 1:40 AM: Does the following patch fix your problems with Cygwin? It hasn't hit anonymous CVS yet, but manual application of the patch from your email silenced gcc -Wall, so the problem has been addressed.

{base,dir}name // semantics

2005-07-09 Thread Eric Blake
POSIX allows implementations to define the behavior of 'basename //' and 'dirname //'. Currently, both operations in coreutils output a single /, but this definition is worthless on platforms (like cygwin) where // is distinct from /. The intent, according to POSIX, is that 'cd $(dirname string)

Re: {base,dir}name // semantics

2005-07-09 Thread Eric Blake
[EMAIL PROTECTED] (Eric Blake) writes: should this patch be made globally, or should it be limited to only systems that have a distinct //, leaving other platforms to continue having just a single slash returned? Limit it to just those systems, please. I take it a simple autoconf test

Re: {base,dir}name // semantics

2005-07-09 Thread Paul Eggert
[EMAIL PROTECTED] (Eric Blake) writes: I take it a simple autoconf test is in order (how about just testing to see if 'ls -di / //' produces 2 different inodes?) Sounds reasonable. Why doesn't gnulib use the platform's basename(3) and dirname(3), They're too often buggy.

Re: more gcc warnings

2005-07-09 Thread Paul Eggert
Eric Blake [EMAIL PROTECTED] writes: One more that I hadn't paid attention to - for systems with O_BINARY, the macro SET_BINARY was using setmode() without a prototype, Which include file declares setmode()? Where is this documented? I looked in the cygwin web site without much luck. Should

Re: more gcc warnings

2005-07-09 Thread Eric Blake
One more that I hadn't paid attention to - for systems with O_BINARY, the macro SET_BINARY was using setmode() without a prototype, Which include file declares setmode()? Where is this documented? I looked in the cygwin web site without much luck. cygwin's headers are poorly documented;

error

2005-07-09 Thread Isaque Vieira Magalhães
Dear, I am receiving an error from that the diretorio this emptiness when trying not to effect the command to rmdir + name of the diretorio. Not leaving I to delete the folder. Version: rmdri (coreutils) 5.2.1 Att, Isaque ___ Bug-coreutils