mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 04:46:55 +03:00
New mc.spec from Paul E. Johnson
This commit is contained in:
parent
ab76cf3097
commit
8cb5ff2882
@ -1,3 +1,8 @@
|
|||||||
|
1999-03-12 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
||||||
|
|
||||||
|
* vfs.c (vfs_parse_ls_lga): Handle stupid servers that send n_link
|
||||||
|
set to zero.
|
||||||
|
|
||||||
1999-03-11 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
1999-03-11 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
||||||
|
|
||||||
* vfs.h: Make it compile in AIX. Boy do those guys polute the
|
* vfs.h: Make it compile in AIX. Boy do those guys polute the
|
||||||
|
@ -1607,7 +1607,7 @@ vfs_parse_ls_lga (char *p, struct stat *s, char **filename, char **linkname)
|
|||||||
num_cols = vfs_split_text (p);
|
num_cols = vfs_split_text (p);
|
||||||
|
|
||||||
s->st_nlink = atol (columns [0]);
|
s->st_nlink = atol (columns [0]);
|
||||||
if (s->st_nlink <= 0)
|
if (s->st_nlink < 0)
|
||||||
goto error;
|
goto error;
|
||||||
|
|
||||||
if (!is_num (1))
|
if (!is_num (1))
|
||||||
|
Loading…
Reference in New Issue
Block a user