diff options
author | Marcus Brinkmann <marcus@gnu.org> | 2000-11-30 19:10:04 +0000 |
---|---|---|
committer | Marcus Brinkmann <marcus@gnu.org> | 2000-11-30 19:10:04 +0000 |
commit | 6541698d7d102f16295bb8240d02dd112197b163 (patch) | |
tree | 80befc40cd65241f60f22b427df8e119e5114c6d | |
parent | 95efc29646074436a694541e4de678a645af14c5 (diff) |
ext2fs, ufs:
2000-11-30 Marcus Brinkmann <marcus@gnu.org>
* dir.c (diskfs_lookup_hard): If name is too long, clear
DS before returning ENAMETOOLONG.
pfinet:
2000-11-02 Marcus Brinkmann <marcus@gnu.org>
* tunnel.c (trivfs_S_io_get_owner): Add return type to silence
compiler warning.
-rw-r--r-- | ufs/ChangeLog | 5 | ||||
-rw-r--r-- | ufs/dir.c | 6 |
2 files changed, 10 insertions, 1 deletions
diff --git a/ufs/ChangeLog b/ufs/ChangeLog index a83d02b8..82ada32f 100644 --- a/ufs/ChangeLog +++ b/ufs/ChangeLog @@ -1,3 +1,8 @@ +2000-11-30 Marcus Brinkmann <marcus@gnu.org> + + * dir.c (diskfs_lookup_hard): If name is too long, clear + DS before returning ENAMETOOLONG. + 2000-07-26 Mark Kettenis <kettenis@gnu.org> * Makefile (HURDLIBS): Reorder libs such that the threads lib @@ -126,7 +126,11 @@ diskfs_lookup_hard (struct node *dp, const char *name, enum lookup_type type, namelen = strlen (name); if (namelen > MAXNAMLEN) - return ENAMETOOLONG; + { + if (ds) + diskfs_null_dirstat (ds); + return ENAMETOOLONG; + } try_again: if (ds) |