Package: zsh
Version: 4.3.10-9
Severity: normal

The zsh man page says:

  ulimit [ [ -SHacdfilmnpqstvx | -N resource [ limit ] ... ]
    Set  or  display  resource limits of the shell and the processes
    started by the shell.  The value of limit can be a number in the
    unit specified below or the value `unlimited'.  By default, only
[...]
    When looping over multiple resources, the shell will abort imme-
    diately  if  it detects a badly formed argument.  However, if it
[...]

$ zsh -f
xvii% limit f
filesize        unlimited
xvii% ulimit blah
xvii% limit f    
filesize        0kB

The shell should have returned an error (like bash and dash) instead
of regarding blah as 0.

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

Kernel: Linux 2.6.31-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.ISO8859-1 (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Versions of packages zsh depends on:
ii  libc6                     2.10.2-5       Embedded GNU C Library: Shared lib
ii  libcap2                   1:2.17-2       support for getting/setting POSIX.
ii  libncursesw5              5.7+20090803-2 shared libraries for terminal hand

Versions of packages zsh recommends:
ii  libc6                         2.10.2-5   Embedded GNU C Library: Shared lib
ii  libpcre3                      7.8-3      Perl 5 Compatible Regular Expressi

Versions of packages zsh suggests:
ii  zsh-doc                       4.3.10-9   zsh documentation - info/HTML form

-- no debconf information



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

Reply via email to