Subject: patch for csh needed ?
To: None <netbsd-current-users@sun-lamp.cs.berkeley.edu>
From: Andrew Wheadon <andrew@wipux2.wifo.uni-mannheim.de>
List: current-users
Date: 07/30/1994 16:36:32
I'm currently messing with compiling andrew 6.3 for X11R6, and
came accross a patch for NetBSD 0.9 which patched

make/str.c	The patch or an equivalent seems to have been applied, and
csh/dir.c	The patch has not been applied.

I'm wondering whether it's
a) not a bug
b) been fixed differently
c) still needs fixing.

The relevant part is here:

	  Notes on AUIS 6.3a2 on free Net2/386 derived UNIX's
		 NetBSD-0.9, NetBSD-current, FreeBSD
Preparation:

	o	Bug in /bin/csh

		Found in: NetBSD-0.9
		Fixed in: NetBSD-current(I hope) FreeBSD-1.1

		Free's memory area's when it shouldn't. A patch is
		below

		bash$ diff -c src/bin/csh/dir.c.dist src/bin/csh/dir.c
*** src/bin/csh/dir.c.dist      Sun Feb  6 01:44:54 1994
--- src/bin/csh/dir.c   Sun Feb  6 01:45:34 1994
***************
*** 123,129 ****
                    swd.st_ino == shp.st_ino)
                    tcp = cwd;
            }
!           cp = dcanon(str2short(tcp), STRNULL);
        }
      }
  
--- 123,129 ----
                    swd.st_ino == shp.st_ino)
                    tcp = cwd;
            }
!           cp = dcanon(SAVE(tcp), STRNULL);
        }
      }
	 

Comments ?
-- 
The cost of living hasn't affected it's popularity. (unknown)
current	release=doc host=wipux2.wifo.uni-mannheim.de hostbase=/src base=/usr \
prefix=/usr backup delete use-rel-suffix ; updated midday MET NetBSD-current

------------------------------------------------------------------------------