This _could_ repair ftp parsing against nowell 4 servers. Test it if you can.
Этот коммит содержится в:
родитель
abc8c20b29
Коммит
f2197f6bc2
@ -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-
|
||||
|
@ -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;
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user