diff options
author | delphij <delphij@FreeBSD.org> | 2012-06-26 23:17:33 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2012-06-26 23:17:33 +0000 |
commit | 922d40fed4b7f6bb0aafe327600825f9680ce0e7 (patch) | |
tree | 1acc67942c59e279c426e0a72ee0ad94cb0ed3ba /contrib/less/optfunc.c | |
parent | bd43c5e6d640101f1bd6cca7e83586ae41e1a065 (diff) | |
download | FreeBSD-src-922d40fed4b7f6bb0aafe327600825f9680ce0e7.zip FreeBSD-src-922d40fed4b7f6bb0aafe327600825f9680ce0e7.tar.gz |
MFV: less v449.
Diffstat (limited to 'contrib/less/optfunc.c')
-rw-r--r-- | contrib/less/optfunc.c | 42 |
1 files changed, 32 insertions, 10 deletions
diff --git a/contrib/less/optfunc.c b/contrib/less/optfunc.c index a0aa10a..b4288d7 100644 --- a/contrib/less/optfunc.c +++ b/contrib/less/optfunc.c @@ -1,12 +1,11 @@ -/* - * Copyright (C) 1984-2011 Mark Nudelman - * - * You may distribute under the terms of either the GNU General Public - * License or the Less License, as specified in the README file. - * - * For more information about less, or for information on how to - * contact the author, see the README file. - */ +/*
+ * Copyright (C) 1984-2012 Mark Nudelman
+ *
+ * You may distribute under the terms of either the GNU General Public
+ * License or the Less License, as specified in the README file.
+ *
+ * For more information, see the README file.
+ */
/* @@ -481,7 +480,30 @@ opt__V(type, s) any_display = 1; putstr("less "); putstr(version); - putstr("\nCopyright (C) 1984-2009 Mark Nudelman\n\n"); + putstr(" ("); +#if HAVE_GNU_REGEX + putstr("GNU "); +#endif +#if HAVE_POSIX_REGCOMP + putstr("POSIX "); +#endif +#if HAVE_PCRE + putstr("PCRE "); +#endif +#if HAVE_RE_COMP + putstr("BSD "); +#endif +#if HAVE_REGCMP + putstr("V8 "); +#endif +#if HAVE_V8_REGCOMP + putstr("Spencer V8 "); +#endif +#if !HAVE_GNU_REGEX && !HAVE_POSIX_REGCOMP && !HAVE_PCRE && !HAVE_RE_COMP && !HAVE_REGCMP && !HAVE_V8_REGCOMP + putstr("no "); +#endif + putstr("regular expressions)\n"); + putstr("Copyright (C) 1984-2012 Mark Nudelman\n\n"); putstr("less comes with NO WARRANTY, to the extent permitted by law.\n"); putstr("For information about the terms of redistribution,\n"); putstr("see the file named README in the less distribution.\n"); |