cechew@bruce.OZ (Earl Chew) (09/06/89)
#! /bin/sh
# This is a shell archive. Remove anything before this line, then unpack
# it by saving it into a file and typing "sh file". To overwrite existing
# files, type "sh file -c". You can also feed this as standard input via
# unshar, or by typing "sh <file", e.g.. If this archive is complete, you
# will see the following message at the end:
# "End of archive 2 (of 2)."
# Contents: vfprintf.c.cdif
# Wrapped by cechew@bruce on Wed Sep 6 11:22:42 1989
PATH=/bin:/usr/bin:/usr/ucb ; export PATH
if test -f 'vfprintf.c.cdif' -a "${1}" != "-c" ; then
echo shar: Will not clobber existing file \"'vfprintf.c.cdif'\"
else
echo shar: Extracting \"'vfprintf.c.cdif'\" \(2015 characters\)
sed "s/^X//" >'vfprintf.c.cdif' <<'END_OF_FILE'
X*** Old/vfprintf.c Mon Sep 4 20:51:34 1989
X--- New/vfprintf.c Wed Sep 6 10:56:19 1989
X***************
X*** 16,21
X * Patchlevel 1.0
X *
X * Edit History:
X * 03-Sep-1989 Use PUTC() for faster printf processing. Unroll
X * formatting loops.
X */
X
X--- 16,22 -----
X * Patchlevel 1.0
X *
X * Edit History:
X+ * 06-Sep-1989 (void) PUTC() for less lint.
X * 03-Sep-1989 Use PUTC() for faster printf processing. Unroll
X * formatting loops.
X */
X***************
X*** 305,311
X if (prefix != 0) {
X bytes += prefix;
X length -= prefix;
X! UNROLL_DO(doprefix, prefix, PUTC(backward ? *--p : *q++, fp));
X }
X }
X
X
X--- 306,312 -----
X if (prefix != 0) {
X bytes += prefix;
X length -= prefix;
X! UNROLL_DO(doprefix, prefix, (void) PUTC(backward ? *--p : *q++, fp));
X }
X }
X
X***************
X*** 312,318
X /* Now output the rest of the padding */
X width = -width;
X bytes += width;
X! UNROLL_DO(doleft, width, PUTC(zerofill, fp));
X }
X
X /* Output the string proper */
X
X--- 313,319 -----
X /* Now output the rest of the padding */
X width = -width;
X bytes += width;
X! UNROLL_DO(doleft, width, (void) PUTC(zerofill, fp));
X }
X
X /* Output the string proper */
X***************
X*** 318,324
X /* Output the string proper */
X if (length > 0) {
X bytes += length;
X! UNROLL_DO(dooutput, length, PUTC(backward ? *--p : *q++, fp));
X }
X
X /* Do right padding */
X
X--- 319,325 -----
X /* Output the string proper */
X if (length > 0) {
X bytes += length;
X! UNROLL_DO(dooutput, length, (void) PUTC(backward ? *--p : *q++, fp));
X }
X
X /* Do right padding */
X***************
X*** 324,330
X /* Do right padding */
X if (width != 0) {
X bytes += width;
X! UNROLL_DO(doright, width, PUTC(' ', fp));
X }
X }
X
X
X--- 325,331 -----
X /* Do right padding */
X if (width != 0) {
X bytes += width;
X! UNROLL_DO(doright, width, (void) PUTC(' ', fp));
X }
X }
X
END_OF_FILE
if test 2015 -ne `wc -c <'vfprintf.c.cdif'`; then
echo shar: \"'vfprintf.c.cdif'\" unpacked with wrong size!
fi
# end of 'vfprintf.c.cdif'
fi
echo shar: End of archive 2 \(of 2\).
cp /dev/null ark2isdone
MISSING=""
for I in 1 2 ; do
if test ! -f ark${I}isdone ; then
MISSING="${MISSING} ${I}"
fi
done
if test "${MISSING}" = "" ; then
echo You have unpacked both archives.
rm -f ark[1-9]isdone
else
echo You still need to unpack the following archives:
echo " " ${MISSING}
fi
## End of shell archive.
exit 0