[Midnightbsd-cvs] src: usr.bin/less: Update to v416.
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Thu Apr 17 19:42:30 EDT 2008
Log Message:
-----------
Update to v416.
Modified Files:
--------------
src/usr.bin/less:
defines.h (r1.2 -> r1.3)
lesspipe.sh (r1.2 -> r1.3)
-------------- next part --------------
Index: lesspipe.sh
===================================================================
RCS file: /home/cvs/src/usr.bin/less/lesspipe.sh,v
retrieving revision 1.2
retrieving revision 1.3
diff -L usr.bin/less/lesspipe.sh -L usr.bin/less/lesspipe.sh -u -r1.2 -r1.3
--- usr.bin/less/lesspipe.sh
+++ usr.bin/less/lesspipe.sh
@@ -1,15 +1,17 @@
#! /bin/sh
-# $FreeBSD: /repoman/r/ncvs/src/usr.bin/less/lesspipe.sh,v 1.2.2.1 2006/09/03 16:09:50 delphij Exp $
+# ex:ts=8
+#
+# $FreeBSD: src/usr.bin/less/lesspipe.sh,v 1.2.2.2 2007/05/27 10:15:18 le Exp $
# $MidnightBSD$
case "$1" in
*.Z)
- exec uncompress -c $1 2>/dev/null
+ exec uncompress -c "$1" 2>/dev/null
;;
*.gz)
- exec gzip -d -c $1 2>/dev/null
+ exec gzip -d -c "$1" 2>/dev/null
;;
*.bz2)
- exec bzip2 -d -c $1 2>/dev/null
+ exec bzip2 -d -c "$1" 2>/dev/null
;;
esac
Index: defines.h
===================================================================
RCS file: /home/cvs/src/usr.bin/less/defines.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -L usr.bin/less/defines.h -L usr.bin/less/defines.h -u -r1.2 -r1.3
--- usr.bin/less/defines.h
+++ usr.bin/less/defines.h
@@ -1,6 +1,6 @@
-/* $FreeBSD: /repoman/r/ncvs/src/usr.bin/less/defines.h,v 1.5.8.1 2006/08/29 18:36:51 delphij Exp $ */
+/* $FreeBSD: src/usr.bin/less/defines.h,v 1.5.8.2.2.1 2007/12/04 22:41:43 delphij Exp $ */
/* $MidnightBSD$ */
-/* defines.h. Generated by configure. */
+/* defines.h. Generated from defines.h.in by configure. */
/* defines.h.in. Generated from configure.ac by autoheader. */
@@ -49,7 +49,7 @@
#define CMD_HISTORY 1
/*
- * HILITE_SEARCH is 1 if you wish to have search targets to be
+ * HILITE_SEARCH is 1 if you wish to have search targets to be
* displayed in standout mode.
*/
#define HILITE_SEARCH 1
@@ -67,7 +67,7 @@
#define TAGS (!SECURE)
/*
- * USERFILE is 1 if you wish to allow a .less file to specify
+ * USERFILE is 1 if you wish to allow a .less file to specify
* user-defined key bindings.
*/
#define USERFILE (!SECURE)
@@ -104,10 +104,10 @@
#define ONLY_RETURN 0
/*
- * LESSKEYFILE is the filename of the default lesskey output file
+ * LESSKEYFILE is the filename of the default lesskey output file
* (in the HOME directory).
* LESSKEYFILE_SYS is the filename of the system-wide lesskey output file.
- * DEF_LESSKEYINFILE is the filename of the default lesskey input
+ * 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).
@@ -131,6 +131,12 @@
#define PATHNAME_SEP "/"
/*
+ * The value returned from tgetent on success.
+ * Some HP-UX systems return 0 on success.
+ */
+#define TGETENT_OK 1
+
+/*
* HAVE_SYS_TYPES_H is 1 if your system has <sys/types.h>.
*/
#define HAVE_SYS_TYPES_H 1
@@ -159,14 +165,23 @@
/*
* Default shell metacharacters and meta-escape character.
*/
-#define DEF_METACHARS "; *?\t\n'\"()<>[]|&^`#\\"
+#define DEF_METACHARS "; *?\t\n'\"()<>[]|&^`#\\$%=~"
#define DEF_METAESCAPE "\\"
-/*
+/*
* HAVE_DUP is 1 if your system has the dup() call.
*/
#define HAVE_DUP 1
+/* Define to 1 if you have the memcpy() function. */
+#define HAVE_MEMCPY 1
+
+/* Define to 1 if you have the strchr() function. */
+#define HAVE_STRCHR 1
+
+/* Define to 1 if you have the strstr() function. */
+#define HAVE_STRSTR 1
+
/*
* Sizes of various buffers.
*/
@@ -228,9 +243,6 @@
/* Define HAVE_LOCALE if you have locale.h and setlocale. */
#define HAVE_LOCALE 1
-/* Define to 1 if you have the `memcpy' function. */
-#define HAVE_MEMCPY 1
-
/* Define to 1 if you have the <memory.h> header file. */
#define HAVE_MEMORY_H 1
@@ -264,8 +276,8 @@
/* Define to 1 if you have the `sigsetmask' function. */
#define HAVE_SIGSETMASK 1
-/* Define HAVE_SIGSET_T you have the sigset_t type. */
-/* #undef HAVE_SIGSET_T */
+/* Define to 1 if the system has the type `sigset_t'. */
+#define HAVE_SIGSET_T 1
/* Define to 1 if you have the `snprintf' function. */
#define HAVE_SNPRINTF 1
@@ -273,6 +285,9 @@
/* Define to 1 if you have the `stat' function. */
#define HAVE_STAT 1
+/* Define HAVE_STAT_INO if your struct stat has st_ino and st_dev. */
+#define HAVE_STAT_INO 1
+
/* Define to 1 if you have the <stdint.h> header file. */
#define HAVE_STDINT_H 1
@@ -282,9 +297,6 @@
/* Define to 1 if you have the <stdlib.h> header file. */
#define HAVE_STDLIB_H 1
-/* Define to 1 if you have the `strchr' function. */
-#define HAVE_STRCHR 1
-
/* Define HAVE_STRERROR if you have the strerror() function. */
#define HAVE_STRERROR 1
@@ -294,9 +306,6 @@
/* Define to 1 if you have the <string.h> header file. */
#define HAVE_STRING_H 1
-/* Define to 1 if you have the `strstr' function. */
-#define HAVE_STRSTR 1
-
/* Define to 1 if you have the `system' function. */
#define HAVE_SYSTEM 1
@@ -306,9 +315,6 @@
/* Define to 1 if you have the <sys/ioctl.h> header file. */
#define HAVE_SYS_IOCTL_H 1
-/* Define to 1 if you have the <sys/ptem.h> header file. */
-/* #undef HAVE_SYS_PTEM_H */
-
/* Define to 1 if you have the <sys/stat.h> header file. */
#define HAVE_SYS_STAT_H 1
@@ -351,6 +357,12 @@
/* Define HAVE_VOID if your compiler supports the "void" type. */
#define HAVE_VOID 1
+/* Define HAVE_WCTYPE if you have iswupper, iswlower, towupper, towlower. */
+#define HAVE_WCTYPE 1
+
+/* Define to 1 if you have the <wctype.h> header file. */
+#define HAVE_WCTYPE_H 1
+
/* Define to 1 if you have the `_setjmp' function. */
#define HAVE__SETJMP 1
@@ -404,8 +416,8 @@
/* Define to empty if `const' does not conform to ANSI C. */
/* #undef const */
-/* Define to `long' if <sys/types.h> does not define. */
+/* Define to `long int' if <sys/types.h> does not define. */
/* #undef off_t */
-/* Define to `unsigned' if <sys/types.h> does not define. */
+/* Define to `unsigned int' if <sys/types.h> does not define. */
/* #undef size_t */
More information about the Midnightbsd-cvs
mailing list