andrew@frip.WV.TEK.COM (Andrew Klossner) (07/19/89)
In the fixincludes shell script, in GCC 1.35: # Determine whether this system has symbolic links. if ln -s X $LIB/ShouldNotExist 2>/dev/null; then is done before mkdir $LIB > /dev/null 2>&1 so, if this was the first run of fixincludes, $LIB won't exist, so the ln will fail, and the system will appear not to have symbolic links. Fix: move the "mkdir" up above the "if ln". if egrep -s '[ ]_IO[A-Z]*\(|#define._IO|CTRL' $file; then system V egrep has no '-s' switch. Fix: for portability, eliminate -s and add ">/dev/null".