diff options
author | delphij <delphij@FreeBSD.org> | 2006-08-20 15:51:18 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2006-08-20 15:51:18 +0000 |
commit | c9b9b029289023422da12f9f4c3ced61b50378a8 (patch) | |
tree | b7bd3ea389b75aa269e051ec7802ffd2cfbd4033 | |
parent | 5d6048735154d14b6086c89e5252e985c9d0a527 (diff) | |
download | FreeBSD-src-c9b9b029289023422da12f9f4c3ced61b50378a8.zip FreeBSD-src-c9b9b029289023422da12f9f4c3ced61b50378a8.tar.gz |
Regen.
-rw-r--r-- | usr.bin/less/defines.h | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/usr.bin/less/defines.h b/usr.bin/less/defines.h index f173474..3833d38 100644 --- a/usr.bin/less/defines.h +++ b/usr.bin/less/defines.h @@ -20,8 +20,9 @@ /* * SECURE is 1 if you wish to disable a bunch of features in order to * be safe to run by unprivileged users. + * SECURE_COMPILE is set by the --with-secure configure option. */ -#define SECURE 0 +#define SECURE SECURE_COMPILE /* * SHELL_ESCAPE is 1 if you wish to allow shell escapes. @@ -107,10 +108,13 @@ * LESSKEYFILE_SYS is the filename of the system-wide lesskey output file. * DEF_LESSKEYINFILE is the filename of the default lesskey input * (in the HOME directory). + * LESSHISTFILE is the filename of the history file + * (in the HOME directory). */ #define LESSKEYFILE ".less" #define LESSKEYFILE_SYS "/etc/lesskey" #define DEF_LESSKEYINFILE ".lesskey" +#define LESSHISTFILE ".lesshst" /* Settings always true on Unix. */ @@ -154,7 +158,7 @@ /* * Default shell metacharacters and meta-escape character. */ -#define DEF_METACHARS "; *?\t\n'\"()<>|&^`#\\" +#define DEF_METACHARS "; *?\t\n'\"()<>[]|&^`#\\" #define DEF_METAESCAPE "\\" /* @@ -193,6 +197,9 @@ /* Define to 1 if you have the <errno.h> header file. */ #define HAVE_ERRNO_H 1 +/* Define to 1 if you have the `fchmod' function. */ +#define HAVE_FCHMOD 1 + /* Define to 1 if you have the <fcntl.h> header file. */ #define HAVE_FCNTL_H 1 @@ -259,6 +266,9 @@ /* Define HAVE_SIGSET_T you have the sigset_t type. */ /* #undef HAVE_SIGSET_T */ +/* Define to 1 if you have the `snprintf' function. */ +#define HAVE_SNPRINTF 1 + /* Define to 1 if you have the `stat' function. */ #define HAVE_STAT 1 @@ -372,6 +382,9 @@ /* Define as the return type of signal handlers (`int' or `void'). */ #define RETSIGTYPE void +/* Define SECURE_COMPILE=1 to build a secure version of less. */ +#define SECURE_COMPILE 0 + /* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */ /* #undef STAT_MACROS_BROKEN */ |