summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2012-07-11 13:14:43 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2012-07-11 13:14:43 +0000
commit67b1218cddf910c657bebbd5d31045e0d08cda27 (patch)
tree5f18107d87d8c2aa5ff6f1da4f9aec6ff6c2d76c /Build
parent3e63110f8cbdf119457ce8fb29f5213bc2f2cbe1 (diff)
web2c help msgs: Use DEV_NULL instead of hard-coding /dev/null
git-svn-id: svn://tug.org/texlive/trunk@26998 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r--Build/source/texk/web2c/ChangeLog2
-rw-r--r--Build/source/texk/web2c/help.h16
2 files changed, 6 insertions, 12 deletions
diff --git a/Build/source/texk/web2c/ChangeLog b/Build/source/texk/web2c/ChangeLog
index 4bebdb7446a..98e69b5f5e6 100644
--- a/Build/source/texk/web2c/ChangeLog
+++ b/Build/source/texk/web2c/ChangeLog
@@ -1,7 +1,7 @@
2012-07-11 Peter Breitenlohner <peb@mppmu.mpg.de>
* help.h (LUATANGLEHELP): Removed, luatangle no longer exists.
- [WIN32]: Use "nul" instead of "/dev/null" as for Unix.
+ Use DEV_NULL instead of hard-coding /dev/null (from W32TeX).
2012-07-06 Peter Breitenlohner <peb@mppmu.mpg.de>
diff --git a/Build/source/texk/web2c/help.h b/Build/source/texk/web2c/help.h
index 214ecf2215b..bee0a4f777a 100644
--- a/Build/source/texk/web2c/help.h
+++ b/Build/source/texk/web2c/help.h
@@ -33,12 +33,6 @@ along with this program; if not, see <http://www.gnu.org/licenses/>. */
#ifndef HELP_H
#define HELP_H
-#ifdef WIN32
-#define NULL_DEV "nul"
-#else
-#define NULL_DEV "/dev/null"
-#endif
-
#ifdef BIBTEX
const_string BIBTEXHELP[] = {
"Usage: bibtex [OPTION]... AUXFILE[.aux]",
@@ -57,7 +51,7 @@ const_string BIBTEXHELP[] = {
const_string CTANGLEHELP[] = {
"Usage: ctangle [OPTIONS] WEBFILE[.w] [{CHANGEFILE[.ch]|-} [OUTFILE[.c]]]",
" Tangle WEBFILE with CHANGEFILE into a C/C++ program.",
- " Default CHANGEFILE is " NULL_DEV ";",
+ " Default CHANGEFILE is " DEV_NULL ";",
" C output goes to the basename of WEBFILE extended with `.c'",
" unless otherwise specified by OUTFILE; in this case, '-' specifies",
" a null CHANGEFILE.",
@@ -74,7 +68,7 @@ const_string CTANGLEHELP[] = {
const_string CWEAVEHELP[] = {
"Usage: cweave [OPTIONS] WEBFILE[.w] [{CHANGEFILE[.ch]|-} [OUTFILE[.tex]]]",
" Weave WEBFILE with CHANGEFILE into a TeX document.",
- " Default CHANGEFILE is " NULL_DEV ";",
+ " Default CHANGEFILE is " DEV_NULL ";",
" TeX output goes to the basename of WEBFILE extended with `.tex'",
" unless otherwise specified by OUTFILE; in this case, '-' specifies",
" a null CHANGEFILE.",
@@ -249,7 +243,7 @@ const_string OPL2OFMHELP[] = {
const_string OTANGLEHELP[] = {
"Usage: otangle [OPTION]... WEBFILE[.web] [CHANGEFILE[.ch]]",
" Tangle WEBFILE with CHANGEFILE into a Pascal program.",
- " Default CHANGEFILE is " NULL_DEV ";",
+ " Default CHANGEFILE is " DEV_NULL ";",
" Pascal output goes to the basename of WEBFILE extended with `.p',",
" and a string pool file, if necessary, to the same extended with `.pool'.",
"",
@@ -436,7 +430,7 @@ const_string PTFTOPLHELP[] = {
const_string TANGLEHELP[] = {
"Usage: tangle [OPTION]... WEBFILE[.web] [CHANGEFILE[.ch]]",
" Tangle WEBFILE with CHANGEFILE into a Pascal program.",
- " Default CHANGEFILE is " NULL_DEV ";",
+ " Default CHANGEFILE is " DEV_NULL ";",
" Pascal output goes to the basename of WEBFILE extended with `.p',",
" and a string pool file, if necessary, to the same extended with `.pool'.",
"",
@@ -589,7 +583,7 @@ const_string VPTOVFHELP[] = {
const_string WEAVEHELP[] = {
"Usage: weave [OPTION]... WEBFILE[.web] [CHANGEFILE[.ch]]",
" Weave WEBFILE with CHANGEFILE into a TeX document.",
- " Default CHANGEFILE is " NULL_DEV ";",
+ " Default CHANGEFILE is " DEV_NULL ";",
" TeX output goes to the basename of WEBFILE extended with `.tex'.",
"",
"-x omit cross-reference information",