Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!ncar!ames!uhccux!munnari.oz.au!bruce!cechew From: cechew@bruce.OZ (Earl Chew) Newsgroups: comp.os.minix Subject: Minix stdio patches - 5 of 5 Keywords: stdio, patches Message-ID: <1508@bruce.OZ> Date: 5 Sep 89 07:02:05 GMT Organization: Monash Uni. Computer Science, Australia Lines: 113 #! /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 'vfscanf.c.cdif' <<'END_OF_FILE' X*** Old/vfscanf.c Sun Sep 3 14:49:40 1989 X--- New/vfscanf.c Mon Sep 4 23:30:20 1989 X*************** X*** 10,16 X * The function returns EOF on end of input, and a short count X * for missing or illegal data items. X * X! * Patchlevel 1.0 X * X * Edit History: X */ X X--- 10,16 ----- X * The function returns EOF on end of input, and a short count X * for missing or illegal data items. X * X! * Patchlevel 1.1 X * X * Edit History: X * 05-Sep-1989 Include limits.h if TOLOWER undefined so removing X*************** X*** 13,18 X * Patchlevel 1.0 X * X * Edit History: X */ X X #include X X--- 13,20 ----- X * Patchlevel 1.1 X * X * Edit History: X+ * 05-Sep-1989 Include limits.h if TOLOWER undefined so removing X+ * need to define MINIX when compiling. X */ X X #include X*************** X*** 25,31 X # define CHARSET (1 << (BITSPERBYTE)) X #endif X X! #if defined(MINIX) || defined(__MSDOS__) || defined(MSDOS) X # include X # define TOLOWER(c) (tolower((c))) X # define CHARSET (1 << (CHAR_BIT)) X X--- 27,33 ----- X # define CHARSET (1 << (BITSPERBYTE)) X #endif X X! #if !defined(TOLOWER) X # include X # define TOLOWER(c) (tolower((c))) X # define CHARSET (1 << (CHAR_BIT)) X*************** X*** 29,35 X # include X # define TOLOWER(c) (tolower((c))) X # define CHARSET (1 << (CHAR_BIT)) X! extern int tolower Prototype((int)); X #endif X X #define WHITESPACE(c) ((c)==' '||(c)=='\t'||(c)=='\n') X X--- 31,37 ----- X # include X # define TOLOWER(c) (tolower((c))) X # define CHARSET (1 << (CHAR_BIT)) X! extern int tolower P((int)); X #endif X X #define WHITESPACE(c) ((c)==' '||(c)=='\t'||(c)=='\n') END_OF_FILE if test 1686 -ne `wc -c <'vfscanf.c.cdif'`; then echo shar: \"'vfscanf.c.cdif'\" unpacked with wrong size! fi # end of 'vfscanf.c.cdif' fi echo shar: End of archive 5 \(of 5\). cp /dev/null ark5isdone MISSING="" for I in 1 2 3 4 5 ; do if test ! -f ark${I}isdone ; then MISSING="${MISSING} ${I}" fi done if test "${MISSING}" = "" ; then echo You have unpacked all 5 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