summaryrefslogtreecommitdiffstats
path: root/contrib/tcsh/tw.help.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/tcsh/tw.help.c')
-rw-r--r--contrib/tcsh/tw.help.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/tcsh/tw.help.c b/contrib/tcsh/tw.help.c
index 1cdf7e3..6c40648 100644
--- a/contrib/tcsh/tw.help.c
+++ b/contrib/tcsh/tw.help.c
@@ -1,4 +1,4 @@
-/* $Header: /src/pub/tcsh/tw.help.c,v 3.18 2002/03/08 17:36:47 christos Exp $ */
+/* $Header: /src/pub/tcsh/tw.help.c,v 3.19 2002/11/21 20:02:01 christos Exp $ */
/* tw.help.c: actually look up and print documentation on a file.
* Look down the path for an appropriate file, then print it.
* Note that the printing is NOT PAGED. This is because the
@@ -35,7 +35,7 @@
*/
#include "sh.h"
-RCSID("$Id: tw.help.c,v 3.18 2002/03/08 17:36:47 christos Exp $")
+RCSID("$Id: tw.help.c,v 3.19 2002/11/21 20:02:01 christos Exp $")
#include "tw.h"
#include "tc.h"
@@ -120,7 +120,7 @@ do_help(command)
for (sp = h_ext; *sp; sp++) {
*ep = '\0';
catn(full, str2short(*sp), (int) (sizeof(full) / sizeof(Char)));
- if ((f = open(short2str(full), O_RDONLY)) != -1)
+ if ((f = open(short2str(full), O_RDONLY|O_LARGEFILE)) != -1)
break;
}
if (f != -1) {
OpenPOWER on IntegriCloud