mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-06 22:40:36 +08:00
* cygpath.cc (doit): Empty file ignored using option -i.
This commit is contained in:
parent
f062174ba5
commit
7b5c105b61
@ -1,3 +1,7 @@
|
|||||||
|
2002-01-15 Joerg Schaible <joerg.schaible@gmx.de>
|
||||||
|
|
||||||
|
* cygpath.cc (doit): Empty file ignored using option -i.
|
||||||
|
|
||||||
2002-01-15 Mark Bradshaw <bradshaw@crosswalk.com>
|
2002-01-15 Mark Bradshaw <bradshaw@crosswalk.com>
|
||||||
|
|
||||||
* mkpasswd.c (print_win_error): Add a new function.
|
* mkpasswd.c (print_win_error): Add a new function.
|
||||||
|
@ -161,8 +161,13 @@ doit (char *filename)
|
|||||||
len = strlen (filename) + 100;
|
len = strlen (filename) + 100;
|
||||||
if (len == 100)
|
if (len == 100)
|
||||||
{
|
{
|
||||||
fprintf(stderr, "%s: can't convert empty path\n", prog_name);
|
if (!ignore_flag)
|
||||||
exit (1);
|
{
|
||||||
|
fprintf(stderr, "%s: can't convert empty path\n", prog_name);
|
||||||
|
exit (1);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
exit (0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user