FreeBSD Bugzilla – Attachment 7388 Details for
Bug 16056
[patch] ldconfig skips all command line params. if one is nonexistent
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 575 bytes, created by
un1i
on 2000-01-11 09:20:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
un1i
Created:
2000-01-11 09:20:00 UTC
Size:
575 bytes
patch
obsolete
>--- elfhints.c.orig Tue Jan 11 09:37:29 2000 >+++ elfhints.c Tue Jan 11 09:34:34 2000 >@@ -216,12 +216,14 @@ > for (i = 0; i < argc; i++) { > struct stat s; > >- if (stat(argv[i], &s) == -1) >- err(1, "%s", argv[i]); >- if (S_ISREG(s.st_mode)) >- read_dirs_from_file(hintsfile, argv[i]); >- else >- add_dir(hintsfile, argv[i]); >+ if (stat(argv[i], &s) == -1) { >+ warn("%s", argv[i]); >+ } else { >+ if (S_ISREG(s.st_mode)) >+ read_dirs_from_file(hintsfile, argv[i]); >+ else >+ add_dir(hintsfile, argv[i]); >+ } > } > write_elf_hints(hintsfile); > }
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 16056
: 7388