* path.cc (cygpath): Don't consider cygpath stuff when trying to derive native
paths.
This commit is contained in:
parent
87f1a487ed
commit
53e61a867b
@ -1,3 +1,8 @@
|
||||
2001-11-21 Christopher Faylor <cgf@redhat.com>
|
||||
|
||||
* path.cc (cygpath): Don't consider cygpath stuff when trying to derive
|
||||
native paths.
|
||||
|
||||
2001-11-20 Mark Bradshaw <bradshaw@staff.crosswalk.com>
|
||||
|
||||
* mkpasswd.c: include lmerr.h
|
||||
@ -123,7 +128,7 @@
|
||||
|
||||
2001-10-15 Christopher Faylor <cgf@redhat.com>
|
||||
|
||||
* mkpasswd.cc (enum_users): Shorten "unused" passwd field.
|
||||
* mkpasswd.cc (enum_users): Shorten "unused" passwd field.
|
||||
|
||||
2001-10-13 Christopher Faylor <cgf@redhat.com>
|
||||
|
||||
|
@ -283,6 +283,9 @@ cygpath (const char *s, ...)
|
||||
|
||||
for (m = mount_table; m->posix ; m++)
|
||||
{
|
||||
if (m->flags & MOUNT_AUTO)
|
||||
continue;
|
||||
|
||||
int n = strlen (m->posix);
|
||||
if (n < max_len || !path_prefix_p (m->posix, path, n))
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user