diff options
author | mp <mp@FreeBSD.org> | 2004-07-11 02:17:56 +0000 |
---|---|---|
committer | mp <mp@FreeBSD.org> | 2004-07-11 02:17:56 +0000 |
commit | bbd1addf8f9452690ad13ce5b875ee4cc9633958 (patch) | |
tree | 730792f0cc19f3bb4fb663fe727589381f5901be /contrib/tcsh/tw.help.c | |
parent | f2c2aa29b7d05c53575ab7ce4dc5870fd33a1310 (diff) | |
download | FreeBSD-src-bbd1addf8f9452690ad13ce5b875ee4cc9633958.zip FreeBSD-src-bbd1addf8f9452690ad13ce5b875ee4cc9633958.tar.gz |
Import of tcsh-6.13.00
Diffstat (limited to 'contrib/tcsh/tw.help.c')
-rw-r--r-- | contrib/tcsh/tw.help.c | 6 |
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) { |