This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
Re: A few fixes to winsup/utils/cygpath.cc
On Tue, Jan 15, 2002 at 01:59:03PM +0100, Schaible, Jorg wrote:
> >Your attached patch look like a reverse patch. And it's using
> >the wrong format. Please send patches using diff -u format.
>
> Uuups. Right. Sorry. Here it comes again.
That is a reversed patch either. That should help:
diff -up cygpath.cc-orig cygpath.cc
And please send the ChangeLog entry again.
Thanks,
Corinna
>
> ============================
> --- cygpath.cc Mon Jan 14 08:28:04 2002
> +++ cygpath.cc-orig Mon Jan 14 08:16:22 2002
> @@ -161,13 +161,8 @@
> len = strlen (filename) + 100;
> if (len == 100)
> {
> - if (!ignore_flag)
> - {
> - fprintf(stderr, "%s: can't convert empty path\n", prog_name);
> - exit (1);
> - }
> - else
> - exit (0);
> + fprintf(stderr, "%s: can't convert empty path\n", prog_name);
> + exit (1);
> }
> }
> else
> ============================
>
> Regards,
> Jorg
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin@cygwin.com
Red Hat, Inc.