diff options
author | Mark Peek <mp@FreeBSD.org> | 2002-07-24 16:23:10 +0000 |
---|---|---|
committer | Mark Peek <mp@FreeBSD.org> | 2002-07-24 16:23:10 +0000 |
commit | 2930157267fc56387bb43acf5bb441a84ff6e765 (patch) | |
tree | 22260a5dd95c2612c939ecc9dc8166877f07d1d1 /contrib/tcsh/tc.vers.c | |
parent | ad35f55d4538cb8e6cd9e8eb7185a28e6f477160 (diff) | |
download | src-2930157267fc56387bb43acf5bb441a84ff6e765.tar.gz src-2930157267fc56387bb43acf5bb441a84ff6e765.zip |
Import of tcsh-6.12.00
Notes
Notes:
svn path=/vendor/tcsh/dist/; revision=100616
Diffstat (limited to 'contrib/tcsh/tc.vers.c')
-rw-r--r-- | contrib/tcsh/tc.vers.c | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/contrib/tcsh/tc.vers.c b/contrib/tcsh/tc.vers.c index f319b8e16a6d..6d1b38ae77be 100644 --- a/contrib/tcsh/tc.vers.c +++ b/contrib/tcsh/tc.vers.c @@ -1,4 +1,4 @@ -/* $Header: /src/pub/tcsh/tc.vers.c,v 3.46 1999/05/11 13:07:54 christos Exp $ */ +/* $Header: /src/pub/tcsh/tc.vers.c,v 3.49 2002/05/16 13:51:26 christos Exp $ */ /* * tc.vers.c: Version dependent stuff */ @@ -14,11 +14,7 @@ * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. - * 3. All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * This product includes software developed by the University of - * California, Berkeley and its contributors. - * 4. Neither the name of the University nor the names of its contributors + * 3. Neither the name of the University nor the names of its contributors * may be used to endorse or promote products derived from this software * without specific prior written permission. * @@ -37,7 +33,7 @@ #include "sh.h" #include "tw.h" -RCSID("$Id: tc.vers.c,v 3.46 1999/05/11 13:07:54 christos Exp $") +RCSID("$Id: tc.vers.c,v 3.49 2002/05/16 13:51:26 christos Exp $") #include "patchlevel.h" @@ -139,6 +135,11 @@ fix_version() #else # define CCATSTR "" #endif +#if defined(FILEC) && defined(TIOCSTI) +# define FILECSTR ",filec" +#else +# define FILECSTR "" +#endif /* if you want your local version to say something */ #ifndef LOCALSTR # define LOCALSTR "" @@ -157,11 +158,11 @@ fix_version() (void) xsnprintf(version, sizeof(version), -"tcsh %d.%.2d.%.2d (%s) %s (%S-%S-%S) options %s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s", +"tcsh %d.%.2d.%.2d (%s) %s (%S-%S-%S) options %s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s", REV, VERS, PATCHLEVEL, ORIGIN, DATE, machtype, vendor, ostype, SSSTR, NLSSTR, LFSTR, DLSTR, VISTR, DTRSTR, BYESTR, ALSTR, KANSTR, SMSTR, HBSTR, NGSTR, RHSTR, AFSSTR, NDSTR, - COLORSTR, DSPMSTR, CCATSTR, LOCALSTR); + COLORSTR, DSPMSTR, CCATSTR, FILECSTR, LOCALSTR); set(STRversion, SAVE(version), VAR_READWRITE); (void) xsnprintf(version, sizeof(version), "%d.%.2d.%.2d", REV, VERS, PATCHLEVEL); |