| Summary: | glibc-2.3.4.20040918: ldd broken | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Ed Catmur <ed> |
| Component: | [OLD] Core system | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | major | ||
| Priority: | High | ||
| Version: | 2004.2 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
Patch
Upstream diffs |
||
Created attachment 40138 [details, diff]
Patch
Two errors: omitted double-semicolon, omitted ending double quotes.
And these are the guys we trust to write glibc... Let's hope their C skills
don't reflect their bash abilities.
Created attachment 40139 [details, diff] Upstream diffs So this has been fixed upstream already: http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/elf/ldd.bash.in.diff?r1=1.31&r2=1.32&cvsroot=glibc Just 9 hours ago though... :grin: Their patch is more correct than mine, though. Obsoleting mine. |
ed@capella ~ $ ldd /bin/bash /usr/bin/ldd: line 78: syntax error near unexpected token `)' /usr/bin/ldd: line 78: ` --v | --ve | --ver)' ed@capella ~ $ cat -n /usr/bin/ldd | sed '75,81!d' 75 -u | --u | --un | --unu | --unus | --unuse | --unused) 76 unused=yes 77 shift 78 --v | --ve | --ver) 79 echo >&2 $"ldd: option \`$1' is ambiguous" 80 exit 1 81 ;; Note the missing double-semicolon after line 77. (This is a bash case...in block, btw.) Patch to follow; that isn't the only error in the file. (I /wondered/ why revdep-rebuild wasn't working...)