diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2000-02-15 04:10:19 -0500 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2000-02-15 04:10:19 -0500 |
commit | 383b3f2ddbc1e2b64996958c1d9d944979fd190b (patch) | |
tree | 5c448e24f1b69593713b31529d1bdedf39a22a9d /WWW/Library/Implementation/HTFile.c | |
parent | d61bc4e56055c372ab0b8d027f376c2f4a2ecfff (diff) | |
download | lynx-snapshots-383b3f2ddbc1e2b64996958c1d9d944979fd190b.tar.gz |
snapshot of project "lynx", label v2-8-3dev_19
Diffstat (limited to 'WWW/Library/Implementation/HTFile.c')
-rw-r--r-- | WWW/Library/Implementation/HTFile.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/WWW/Library/Implementation/HTFile.c b/WWW/Library/Implementation/HTFile.c index 4ecf8820..20cda536 100644 --- a/WWW/Library/Implementation/HTFile.c +++ b/WWW/Library/Implementation/HTFile.c @@ -24,6 +24,7 @@ #ifndef VMS #ifdef DOSPATH +#undef LONG_LIST #define LONG_LIST /* Define this for long style unix listings (ls -l), the actual style is configurable from lynx.cfg */ #endif @@ -1215,9 +1216,7 @@ PUBLIC float HTFileValue ARGS1( PUBLIC BOOL HTEditable ARGS1( CONST char *, filename) { -#ifdef NO_GROUPS - return NO; /* Safe answer till we find the correct algorithm */ -#else +#ifndef NO_GROUPS GETGROUPS_T groups[NGROUPS]; uid_t myUid; int ngroups; /* The number of groups */ @@ -1259,8 +1258,8 @@ PUBLIC BOOL HTEditable ARGS1( } } CTRACE((tfp, "\tFile is not editable.\n")); - return NO; /* If no excuse, can't do */ #endif /* NO_GROUPS */ + return NO; /* If no excuse, can't do */ } /* Make a save stream. @@ -2317,7 +2316,7 @@ PUBLIC int HTLoadFile ARGS4( BOOL forget_multi = NO; STRUCT_DIRENT * dirbuf; - float best = NO_VALUE_FOUND; /* So far best is bad */ + float best = (float) NO_VALUE_FOUND; /* So far best is bad */ HTFormat best_rep = NULL; /* Set when rep found */ HTAtom * best_enc = NULL; char * best_name = NULL; /* Best dir entry so far */ |