This _could_ repair ftp parsing against nowell 4 servers. Test it if you can.

This commit is contained in:
Pavel Machek 1999-01-28 17:28:11 +00:00
parent abc8c20b29
commit f2197f6bc2
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
1999-01-26 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
* vfs.c (vfs_parse_ls_lga): attempt to correctly work against
Notwell 4
Wed Jan 27 03:09:48 1999 Timur I. Bakeyev <mc@bat.ru>
* All around the source: Changed copy_strings() to g_strconcat(). Modi-

View File

@ -1577,6 +1577,8 @@ vfs_parse_ls_lga (char *p, struct stat *s, char **filename, char **linkname)
goto error;
s->st_mode = i;
if (*p == ' ') /* Notwell 4 */
p++;
if (*p == '['){
if (strlen (p) <= 8 || p [8] != ']')
goto error;