Sendmail source for the 3B1/7300 (part 1/8)

Kevin O'Gorman kevin at kosman.UUCP
Mon Feb 27 11:19:42 AEST 1989


This kit has a problem unpacking src/rename.c and src/stab.c.  Try it
yourself, and watch what happens.  This also happens on the stuff I got
at USENIX directly on floppy.

The problem is that rename.c ends with a ^L character with no trailing
linefeed.  This confuses the shar, which puts the end-of-file string on
the same line, where the here-document reader can't see it.  This gets
very messed up.

The problem is seen in the fourth line of the following extract.  Fix
with your favorite editor.  Meanwhile, David: check your shar for dealing
with incomplete last lines.

STUPID
INEWS
FODDER
STUPID
INEWS
FODDER

> 		return(-1);
> 	return(unlink(oldname));
> }
> END_OF_FILE
> if test 281 -ne `wc -c <'src/rename.c'`; then
>     echo shar: \"'src/rename.c'\" unpacked with wrong size!
> fi
> # end of 'src/rename.c'
> fi
> if test -f 'src/stab.c' -a "${1}" != "-c" ; then 
>   echo shar: Will not clobber existing file \"'src/stab.c'\"
> else
> echo shar: Extracting \"'src/stab.c'\" \(2239 characters\)
> sed "s/^X//" >'src/stab.c' <<'END_OF_FILE'
> /*
> **  Sendmail
> **  Copyright (c) 1983  Eric P. Allman



More information about the Unix-pc.sources mailing list