public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/3266] New: ldd doesn't work when /bin/sh is dash
@ 2006-09-26 16:02 sqweek at gmail dot com
  2006-09-27 17:00 ` [Bug libc/3266] " drepper at redhat dot com
                   ` (8 more replies)
  0 siblings, 9 replies; 15+ messages in thread
From: sqweek at gmail dot com @ 2006-09-26 16:02 UTC (permalink / raw)
  To: glibc-bugs

The problem is in line 122:
122:if set -o pipefail 2> /dev/null; then

 When dash hits the unknown pipefail option, it prints a diagnostic (which is
suppressed of course) and then exits. This appears to be well within the rights
of a compliant shell
<http://www.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html#tag_02_08_01>,
though it's arguable whether the specific case of "set -o foo" is covered
(especially since the table entries aren't exactly explicit about their
meaning). Anyway, I mean to contact dash about this aswell but I didn't find a
mailing list or bug database - only got as far as here tonight.

 As an aside, ldd also uses bash style $"" strings all over the place despite
claiming to be bourne compatible via #!/bin/sh (of course this still works in
dash you just get random $ signs in the output).

-- 
           Summary: ldd doesn't work when /bin/sh is dash
           Product: glibc
           Version: 2.3.6
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: drepper at redhat dot com
        ReportedBy: sqweek at gmail dot com
                CC: glibc-bugs at sources dot redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=3266

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 15+ messages in thread
[parent not found: <bug-3266-131@http.sourceware.org/bugzilla/>]

end of thread, other threads:[~2023-10-28 17:11 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-26 16:02 [Bug libc/3266] New: ldd doesn't work when /bin/sh is dash sqweek at gmail dot com
2006-09-27 17:00 ` [Bug libc/3266] " drepper at redhat dot com
2006-10-02  8:38 ` sqweek at gmail dot com
2007-07-04 15:44 ` richardvoigt at gmail dot com
2007-07-04 15:47 ` richardvoigt at gmail dot com
2007-07-04 16:47 ` drepper at redhat dot com
2007-07-04 17:53 ` richardvoigt at gmail dot com
2010-07-30 11:56 ` a4239214 at bofthew dot com
2010-07-30 12:02 ` jakub at redhat dot com
2010-08-09 18:39 ` sqweek at gmail dot com
     [not found] <bug-3266-131@http.sourceware.org/bugzilla/>
2013-09-07 15:45 ` pj+sourceware-bz at pehjota dot net
2013-10-14  6:01 ` vapier at gentoo dot org
2014-02-16 18:27 ` jackie.rosen at hushmail dot com
2014-05-28 19:43 ` schwab at sourceware dot org
2023-10-28 17:11 ` gabravier at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).