New mc.spec from Paul E. Johnson

This commit is contained in:
Miguel de Icaza 1999-03-12 22:11:07 +00:00
parent ab76cf3097
commit 8cb5ff2882
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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))