aboutsummaryrefslogtreecommitdiff
path: root/less.h
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2012-06-26 20:38:53 +0000
committerXin LI <delphij@FreeBSD.org>2012-06-26 20:38:53 +0000
commitae8c2162b0f1c1823dae013469f900b9882b77a2 (patch)
tree9492f724d6c5c2081c7f6b978b27d62af6523d31 /less.h
parent5b2db585ea1bc974ea3553d32447fba4e9ec0c2a (diff)
downloadsrc-ae8c2162b0f1c1823dae013469f900b9882b77a2.tar.gz
src-ae8c2162b0f1c1823dae013469f900b9882b77a2.zip
Vendor import of less v449 (beta).vendor/less/v449
Notes
Notes: svn path=/vendor/less/dist/; revision=237607 svn path=/vendor/less/v449/; revision=237608; tag=vendor/less/v449
Diffstat (limited to 'less.h')
-rw-r--r--less.h20
1 files changed, 11 insertions, 9 deletions
diff --git a/less.h b/less.h
index d0133452222a..3ef89b1d47d8 100644
--- a/less.h
+++ b/less.h
@@ -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.
+ */
#define NEWBOT 1
@@ -485,10 +484,13 @@ struct textlist
#define CH_KEEPOPEN 002
#define CH_POPENED 004
#define CH_HELPFILE 010
+#define CH_NODATA 020 /* Special case for zero length files */
+
#define ch_zero() ((POSITION)0)
#define FAKE_HELPFILE "@/\\less/\\help/\\file/\\@"
+#define FAKE_EMPTYFILE "@/\\less/\\empty/\\file/\\@"
/* Flags for cvt_text */
#define CVT_TO_LC 01 /* Convert upper-case to lower-case */