FreeBSD Bugzilla – Attachment 203394 Details for
Bug 237030
ls -R produces invalid output when recursing dot directories
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to skip recursion of dot directories
ls.diff (text/plain), 363 bytes, created by
Duane
on 2019-04-05 02:43:00 UTC
(
hide
)
Description:
Patch to skip recursion of dot directories
Filename:
MIME Type:
Creator:
Duane
Created:
2019-04-05 02:43:00 UTC
Size:
363 bytes
patch
obsolete
>--- ls.c~ 2019-04-05 12:35:16.251595000 +1100 >+++ ls.c 2019-04-05 13:17:00.746771000 +1100 >@@ -550,8 +550,10 @@ > break; > case FTS_D: > if (p->fts_level != FTS_ROOTLEVEL && >- p->fts_name[0] == '.' && !f_listdot) >+ p->fts_name[0] == '.' && !f_listdot) { >+ (void)fts_set(ftsp, p, FTS_SKIP); > break; >+ } > > if (first) { > first = 0;
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 237030
: 203394