Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!mcvax!diku!seindal From: seindal@diku.UUCP (Rene Seindal) Newsgroups: comp.lang.c++ Subject: Re: Re: Cornell V1.2 Bug Report (1/5) Message-ID: <3237@diku.UUCP> Date: Mon, 25-May-87 08:48:20 EDT Article-I.D.: diku.3237 Posted: Mon May 25 08:48:20 1987 Date-Received: Wed, 27-May-87 00:55:08 EDT Organization: DIKU, U of Copenhagen, DK Lines: 25 In article <369@rlvd.UUCP> news@rlvd.UUCP (News) writes: >This problem is that the System V basename(1) (or at least the one we >have in the att universe on our Pyramid) allows invocations of the form: > basename filename .[cC] > >which has the expected (to sh(1) users) effect. The fix I came up with for >the older basename(1) was to use: > case $A in > *.c) B=`basename $A .c` > ;; > *.C) B=`basename $A .C` > ;; > esac This is actually one of the nastiest bugs in CC under Berkeley UNIX, since one can't bring up the system before it is fixed. I think Bjarne should be aware of such sysV dependencies for the next release. As far as I could see, the distribution (of 1.2) could not run on anything but sysV. This is not acceptable for a commercially distributed system. Rene' Seindal (seindal@diku.UUCP). The Computer Department, Institute of Datalogy, U. of Copenhagen.