[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#88780: marked as done (file expansion in csh)



Your message dated Sat, 14 Apr 2001 22:55:05 +0200
with message-id <20010414225505.B383@om>
and subject line Closed in csh 20010413-1
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Darren Benham
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 6 Mar 2001 19:42:52 +0000
>From pullum@ling.ucsc.edu Tue Mar 06 13:42:52 2001
Return-path: <pullum@ling.ucsc.edu>
Received: from rumpleteazer.ucsc.edu (cats.ucsc.edu) [::ffff:128.114.129.45] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 14aNMB-0008Ng-00; Tue, 06 Mar 2001 13:42:51 -0600
Received: from ling.UCSC.EDU (ling.ucsc.edu [128.114.180.10])
          by cats.ucsc.edu (8.9.3/8.8.4.cats-athena) with ESMTP
	  id LAA08071 for <submit@bugs.debian.org>; Tue, 6 Mar 2001 11:42:54 -0800 (PST)
Received: (from pullum@localhost)
	by ling.UCSC.EDU (8.8.8/8.8.6) id LAA09768;
	Tue, 6 Mar 2001 11:42:58 -0800 (PST)
Date: Tue, 6 Mar 2001 11:42:58 -0800 (PST)
From: "Geoffrey K. Pullum" <pullum@ling.UCSC.EDU>
Message-Id: <200103061942.LAA09768@ling.UCSC.EDU>
To: submit@bugs.debian.org
Subject: file expansion in csh
Delivered-To: submit@bugs.debian.org

Package: csh
Version: 5.26-10

There is a moderately important bug in the filename expansion handling in
csh that causes behavior not in accord with the manual.  The relevant line
of the manual (`man csh | tail +551 | head` on my system) is:

  .  .  .  .  .  .  .  .   In a list of words specifying filename substitu-
  tion it is an error for no pattern to match an existing file name, but it
  is not required for each pattern to match.   .  .  .  .  .  .  .  .  .  .

The bug is that csh DOES require each pattern to match.  It rejects a whole
command line if any pattern fails to match.  Here is a transcript:

 % uname -a
 Linux ocelot 2.2.17 #1 SMP Sun Dec 10 12:55:22 PST 2000 i686 unknown
 % ls -l /lib/libc-2.1.3.so
 -rwxr-xr-x    1 root     root       887712 Jan 15 12:06 /lib/libc-2.1.3.so
 % ls
 apple  banana  typescript
 % ls a*
 apple
 % ls a* b*
 apple  banana
 % rm banana
 % ls a* b*
 ls: No match.

This was discovered when a simple TeX directory cleanup like

 rm *.aux *.dvi *.log *.ps

failed to work due to the accidental absence of files with one of the
designated extensions.

Geoff Pullum
University of California, Santa Cruz


---------------------------------------
Received: (at 88780-done) by bugs.debian.org; 14 Apr 2001 20:37:49 +0000
>From mvela@public.srce.hr Sat Apr 14 15:37:49 2001
Return-path: <mvela@public.srce.hr>
Received: from jagor.srce.hr [161.53.2.130] (root)
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 14oWnj-0004gB-00; Sat, 14 Apr 2001 15:37:48 -0500
Received: from om (asy48.jmu.carnet.hr [193.198.128.48])
	by jagor.srce.hr (8.9.0/8.9.0) with ESMTP id WAA27985;
	Sat, 14 Apr 2001 22:37:41 +0200 (MET DST)
Received: from mvela by om with local (Exim 3.22 #1 (Debian))
	id 14oX4X-00006c-00; Sat, 14 Apr 2001 22:55:09 +0200
Date: Sat, 14 Apr 2001 22:55:05 +0200
From: Matej Vela <vela@debian.org>
To: 54993-done@bugs.debian.org, 63650-done@bugs.debian.org,
        88780-done@bugs.debian.org, 90859-done@bugs.debian.org,
        90860-done@bugs.debian.org, 91435-done@bugs.debian.org
Subject: Closed in csh 20010413-1
Message-ID: <20010414225505.B383@om>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.17i
X-Accept-Language: en, hr
Sender: Matej Vela <mvela@om>
Delivered-To: 88780-done@bugs.debian.org

(This report is being closed manually due to Bug#71600.)

The .changes file follows.

-----BEGIN PGP SIGNED MESSAGE-----

Format: 1.7
Date: Fri, 13 Apr 2001 20:43:09 +0200
Source: csh
Binary: csh
Architecture: source i386
Version: 20010413-1
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Matej Vela <vela@debian.org>
Description: 
 csh        - Shell with C-like syntax, standard login shell on BSD systems.
Closes: 54993 63650 88780 90859 90860 91435
Changes: 
 csh (20010413-1) unstable; urgency=medium
 .
   * New upstream version, re-ported from OpenBSD-current:
     * csh.c: Include <time.h> for time_t etc.  Closes: #90859.
     * csh.c (main, readf, writef, seekf, closef): funopen substituted
       with fopencookie.
     * csh.c (pintr1), proc.c (pprint): fpurge substituted with fflush.
       (Anything better?)
     * csh.h: Define MAXPATHLEN to 4096 if it isn't already defined (e.g.
       on the Hurd).  If X11 and Tcl can get away with it, so can we. ;-)
       Closes: #54993.
     * glob.c (libglob):
       * Don't set GLOB_QUOTE, it's already default.
       * Work around gl_matchc, this time correctly.  Closes: #88780.
     * misc.c (closem): Upstream fixed it to use `sysconf (_SC_OPEN_MAX)'
       rather than NOFILE.  Closes: #63650.
     * proc.c (dokill), proc.h, siglist.in: Use our own sys_signame
       array, constructed from siglist.in (taken from pdksh 5.2.14).
   * Package is orphaned (see #92493); maintainer set to Debian QA Group.
   * Converted to debhelper.  Closes: #91435.
   * Conforms to Standards version 3.5.2:
     * Added build dependencies.  Closes: #90860.
     * debian/rules: Support the `debug' build option.
     * debian/copyright: Updated.
   * Changed priority to optional, catching up with the override file.
   * debian/lintian: Override the `binary-without-manpage: csh' Lintian
     error caused by the /usr/bin/csh -> /bin/csh symlink.
   * debian/rules: Added a `get-orig-source' target.
   * Removed pre-bo (<< 5.26-6) compatibility code.
Files: 
 d7833337908e960e43aa3379bd49c9c5 721 shells optional csh_20010413-1.dsc
 fdd1070dd9d9f42299ad36bdaaa076eb 178545 shells optional csh_20010413.orig.tar.gz
 72fd1f575296f15bde55efb6a9f2c32e 7367 shells optional csh_20010413-1.diff.gz
 08f70f96a4bb3f0b899ae64a9a8b18d5 225564 shells optional csh_20010413-1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iQCVAwUBOtiN5uz+R+WhGHJJAQEyYgP9E5pX2vzCrV4jfNS13RRizHdtKTgvqzf3
shEMqoeOy3NkT716jYzOUHXpeni8ysMpMeBFQkHqDO+Y/2g8Heo4b4NPv1vVqXou
7G4FBFn8GGNqqtG7cR2Q6MK9zQS+C2xYTcdnc3UdDi/9/ioVS1qL9hfu4w4P1hnI
ri28fZkzzH0=
=X00F
-----END PGP SIGNATURE-----



Reply to: