FreeBSD Bugzilla – Attachment 12081 Details for
Bug 23549
ldd invokes 'lseek' incorrectly
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 362 bytes, created by
dc
on 2000-12-14 18:10:02 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
dc
Created:
2000-12-14 18:10:02 UTC
Size:
362 bytes
patch
obsolete
>diff -u -r1.18 ldd.c >--- ldd.c 1999/08/28 01:02:43 1.18 >+++ ldd.c 2000/12/14 18:00:56 >@@ -153,7 +153,7 @@ > warnx("%s: can't read program header", *argv); > file_ok = 0; > } >- lseek(fd, 0, ehdr.e_phoff); >+ lseek(fd, ehdr.e_phoff, SEEK_SET); > for (i = 0; i < ehdr.e_phnum; i++) { > if (read(fd, &phdr, ehdr.e_phentsize) > != sizeof phdr) {
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 23549
: 12081