This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi Chris, just an additional minor patch for Jonathtan's change in cygpath.cc, that keeps some consistency for -i option: /src/winsup/utils> cygpath -w > /dev/null 2>&1; echo $? 1 /src/winsup/utils> cygpath -wi > /dev/null 2>&1; echo $? 0 /src/winsup/utils> cygpath -w "" > /dev/null 2>&1; echo $? 1 /src/winsup/utils> cygpath -wi "" > /dev/null 2>&1; echo $? 1 <========== should be 0, too. /src/winsup/utils> cygpath -wp > /dev/null 2>&1; echo $? 1 /src/winsup/utils> cygpath -wpi > /dev/null 2>&1; echo $? 0 /src/winsup/utils> cygpath -wp "" > /dev/null 2>&1; echo $? 0 /src/winsup/utils> cygpath -wpi "" > /dev/null 2>&1; echo $? 0 ======== 2002-01-14 Joerg Schaible <joerg.schaible@gmx.de> * cygpath.cc (doit): Empty file ignored using option -i ======== Regards, Jorg >-----Original Message----- >From: Christopher Faylor [mailto:cgf@redhat.com] >Sent: Wednesday, December 26, 2001 6:46 PM >To: cygwin-patches@cygwin.com >Subject: Re: A few fixes to winsup/utils/cygpath.cc > > >On Wed, Dec 26, 2001 at 12:40:12PM -0500, Jonathan Kamens wrote: >>2001-12-26 Jonathan Kamens <jik@curl.com> >> >> * cygpath.cc (doit): Detect and warn about an empty >path. Detect >> and warn about errors converting a path. >> (main): Set prog_name correctly -- don't leave an extra slash or >> backslash at the beginning of it. > >Applied. Thanks. > >cgf >
Attachment:
cygpath.cc-patch
Description: Binary data
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |