Processed: Re: Bug#558989: dash reverses the established logic of test -nt -ot (and maybe others)

2010-03-19 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

 severity 558989 important
Bug #558989 [dash] dash reverses the established logic of test -nt -ot (and 
maybe others)
Severity set to 'important' from 'grave'

 tags 558989 + wontfix
Bug #558989 [dash] dash reverses the established logic of test -nt -ot (and 
maybe others)
Added tag(s) wontfix.
 quit
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#558989: dash reverses the established logic of test -nt -ot (and maybe others)

2010-03-19 Thread Gerrit Pape
severity 558989 important
tags 558989 + wontfix
quit

On Tue, Dec 01, 2009 at 12:43:44PM +1030, Ron wrote:
 Dash should not implement -nt at all if it wants to be strict about
 things that aren't POSIX.  If it is going to implement non standard
 things from other sources, then it absolutely should not be inventing
 entirely new behaviours for them from whole cloth, let alone completely
 reversing the logic of existing long established code.

Hi, here's upstream's opinion on this
 http://www.mail-archive.com/d...@vger.kernel.org/msg00208.html

I don't think we should make a Debian-specific change for that, hence I
mark the bug wontfix.

Thanks, Gerrit.



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#558989: dash reverses the established logic of test -nt -ot (and maybe others)

2009-11-30 Thread Ron
Package: dash
Version: 0.5.5.1-3
Severity: grave
Justification: doing the opposite of what people asked for could do _anything_

Dash should not implement -nt at all if it wants to be strict about
things that aren't POSIX.  If it is going to implement non standard
things from other sources, then it absolutely should not be inventing
entirely new behaviours for them from whole cloth, let alone completely
reversing the logic of existing long established code.

Doing that could easily introduce any of the scenarios defined for a
'critical' bug, but I don't want to get all handwavy about the severity,
I just think this is an RC issue that should be fixed for squeeze (but
it's not really a -policy thing else I'd have probably just made it
'serious').

$ bash
$ test /bin/ls -nt no-such-file || echo oh ffs :(
$ /usr/bin/test /bin/ls -nt no-such-file || echo oh ffs :(
$ dash
$ test /bin/ls -nt no-such-file || echo oh ffs :(
oh ffs :(

Now imagine that's checking something important to the integrity of
the system ...

Please fix this.  Even if it's just to remove -nt entirely and have
such scripts _obviously_ break rather than silently doing the exact
opposite of what they always have in the past.  People who've had
systems running Debian for years deserve more from us than this.

Thanks,
Ron


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.31-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dash depends on:
ii  debianutils   3.2.2  Miscellaneous utilities specific t
hi  dpkg  1.15.3.1   Debian package management system
ii  libc6 2.10.1-7   GNU C Library: Shared libraries

dash recommends no packages.

dash suggests no packages.

-- debconf information excluded



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org