RCS file: /s/peter/work/cvsroot/src/bin/cat/cat.c,v Working file: cat.c head: 1.9 branch: locks: strict access list: symbolic names: RELENG_2_2: 1.5.0.2 RELENG_2_1_0: 1.2.0.8 RELENG_2_0_5: 1.2.0.6 BETA_2_0: 1.2.0.4 ALPHA_2_0: 1.2.0.2 keyword substitution: kv total revisions: 15; selected revisions: 15 description: ---------------------------- revision 1.9 date: 2008/05/27 16:44:42; author: peter; state: Exp; lines: +2 -2 SVN rev 24341 on 1997-03-28 15:24:41Z by imp compare return value from getopt against -1 rather than EOF, per the final posix standard on the topic. ---------------------------- revision 1.8 date: 2008/05/27 16:11:28; author: peter; state: Exp; lines: +1 -1 SVN rev 22981 on 1997-02-22 14:13:04Z by peter Revert $FreeBSD$ to $Id$ ---------------------------- revision 1.7 date: 2008/05/27 15:32:26; author: peter; state: Exp; lines: +1 -1 SVN rev 21666 on 1997-01-14 07:20:47Z by jkh Make the long-awaited change from $Id$ to $FreeBSD$ This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise. ---------------------------- revision 1.6 date: 2008/05/27 15:03:05; author: peter; state: Exp; lines: +3 -3 SVN rev 20405 on 1996-12-14 05:51:58Z by steve Merge Lite2 mods and -Wall cleaning. ---------------------------- revision 1.5 date: 2008/05/27 13:51:57; author: peter; state: Exp; lines: +5 -2 branches: 1.5.2; SVN rev 18571 on 1996-09-30 15:45:36Z by ache Activate LC_CTYPE locale and additionly use !isprint() for 8bit characters ---------------------------- revision 1.4 date: 2008/05/27 13:51:05; author: peter; state: Exp; lines: +4 -4 SVN rev 18539 on 1996-09-28 21:19:27Z by imp Merge in the NetBSD changes to cat.c. These appear to have come from the 4.4 lite 2 tape as well. There are now only two diffs between NetBSD's cat and FreeBSD's cat: getopt return value is -1 on NetBSD and EOF on FreeBSD. NetBSD has added setlocale calls before anything else. ---------------------------- revision 1.3 date: 2008/05/27 10:53:56; author: peter; state: Exp; lines: +7 -2 SVN rev 11137 on 1995-10-03 12:46:37Z by bde Fix exit status. `cat no-such-file >/dev/null' exited with status 0. This has been broken since cat's own err() function was sloppily replaced by the library functions warn() and err(). ---------------------------- revision 1.2 date: 2008/05/27 05:18:13; author: peter; state: Exp; lines: +2 -0 branches: 1.2.2; 1.2.4; 1.2.6; 1.2.8; SVN rev 3043 on 1994-09-24 02:59:15Z by davidg Added $Id$ ---------------------------- revision 1.1 date: 2008/05/27 03:38:14; author: peter; state: Exp; SVN rev 1557 on 1994-05-26 06:18:55Z by rgrimes This commit was generated by cvs2svn to compensate for changes in r1556, which included commits to RCS files with non-trunk default branches. ---------------------------- revision 1.2.8.2 date: 2008/05/27 10:55:14; author: peter; state: Exp; lines: +7 -2 SVN rev 11194 on 1995-10-05 07:20:59Z by davidg Brought in changes from rev 1.3: return proper exit status. ---------------------------- revision 1.2.8.1 date: 2008/05/27 10:14:00; author: peter; state: Exp; lines: +0 -0 SVN rev 9203 on 1995-06-13 18:05:17Z by cvs2svn This commit was manufactured by cvs2svn to create branch 'RELENG_2_1_0'. ---------------------------- revision 1.2.6.1 date: 2008/05/27 09:59:40; author: peter; state: Exp; lines: +0 -0 SVN rev 8861 on 1995-05-30 05:50:54Z by cvs2svn This commit was manufactured by cvs2svn to create branch 'RELENG_2_0_5_ALPHA'. ---------------------------- revision 1.2.4.1 date: 2008/05/27 07:35:00; author: peter; state: Exp; lines: +0 -0 SVN rev 4745 on 1994-11-21 07:33:22Z by cvs2svn This commit was manufactured by cvs2svn to create branch 'BETA_2_0'. ---------------------------- revision 1.2.2.1 date: 2008/05/27 06:57:07; author: peter; state: Exp; lines: +0 -0 SVN rev 4296 on 1994-11-08 19:51:51Z by cvs2svn This commit was manufactured by cvs2svn to create branch 'ALPHA_2_0'. ---------------------------- revision 1.5.2.1 date: 2008/05/27 14:29:24; author: peter; state: Exp; lines: +0 -0 SVN rev 19320 on 1996-11-02 10:41:29Z by cvs2svn This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. ---------------------------- =============================================================================