* cygpath.cc (doit): Allocate more space for non-path filename.
This commit is contained in:
parent
31ad033df2
commit
7ca68b7ec3
@ -1,3 +1,7 @@
|
|||||||
|
2003-02-12 Christopher Faylor <cgf@redhat.com>
|
||||||
|
|
||||||
|
* cygpath.cc (doit): Allocate more space for non-path filename.
|
||||||
|
|
||||||
2003-02-07 Christopher Faylor <cgf@redhat.com>
|
2003-02-07 Christopher Faylor <cgf@redhat.com>
|
||||||
|
|
||||||
* dump_setup.cc (compar): Use case insensitive comparisons.
|
* dump_setup.cc (compar): Use case insensitive comparisons.
|
||||||
|
@ -415,7 +415,7 @@ doit (char *filename)
|
|||||||
{
|
{
|
||||||
len = strlen (filename);
|
len = strlen (filename);
|
||||||
if (len)
|
if (len)
|
||||||
len += 100;
|
len += MAX_PATH + 1001;
|
||||||
else if (ignore_flag)
|
else if (ignore_flag)
|
||||||
exit (0);
|
exit (0);
|
||||||
else
|
else
|
||||||
@ -470,10 +470,10 @@ doit (char *filename)
|
|||||||
}
|
}
|
||||||
if (!unix_flag)
|
if (!unix_flag)
|
||||||
{
|
{
|
||||||
if (shortname_flag)
|
if (shortname_flag)
|
||||||
buf = get_short_name (buf);
|
buf = get_short_name (buf);
|
||||||
if (longname_flag)
|
if (longname_flag)
|
||||||
buf = get_long_name (buf, len);
|
buf = get_long_name (buf, len);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user