FreeBSD Bugzilla – Attachment 10946 Details for
Bug 21768
shouldn't trailing '/' on regular file symlink return EISDIR ?
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 733 bytes, created by
Kalou
on 2000-10-05 15:50:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Kalou
Created:
2000-10-05 15:50:00 UTC
Size:
733 bytes
patch
obsolete
>--- vfs_lookup.c Thu Oct 5 16:25:22 2000 >+++ vfs_lookup.c.new Thu Oct 5 16:24:44 2000 >@@ -504,6 +504,14 @@ > } > > /* >+ * Check for bogus trailing slashes. >+ */ >+ if (trailing_slash && dp->v_type != VDIR) { >+ error = ENOTDIR; >+ goto bad2; >+ } >+ >+ /* > * Check for symbolic link > */ > if ((dp->v_type == VLNK) && >@@ -515,14 +523,6 @@ > goto bad2; > } > return (0); >- } >- >- /* >- * Check for bogus trailing slashes. >- */ >- if (trailing_slash && dp->v_type != VDIR) { >- error = ENOTDIR; >- goto bad2; > } > > nextname:
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 21768
: 10946