diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 1999-07-30 16:06:54 -0400 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 1999-07-30 16:06:54 -0400 |
commit | 9c512bbadc47a7de000f53f11a7620d83ca0ddba (patch) | |
tree | 8580cd97bbe59c18fa8d8ee0dbf8e67e1ad413db /WWW/Library/Implementation/HTFile.c | |
parent | a2a1ab1ed484fec332c6dcccb8d033f1c33bb0b5 (diff) | |
download | lynx-snapshots-9c512bbadc47a7de000f53f11a7620d83ca0ddba.tar.gz |
snapshot of project "lynx", label v2-8-3dev_5
Diffstat (limited to 'WWW/Library/Implementation/HTFile.c')
-rw-r--r-- | WWW/Library/Implementation/HTFile.c | 30 |
1 files changed, 3 insertions, 27 deletions
diff --git a/WWW/Library/Implementation/HTFile.c b/WWW/Library/Implementation/HTFile.c index 8a213373..575e9e7f 100644 --- a/WWW/Library/Implementation/HTFile.c +++ b/WWW/Library/Implementation/HTFile.c @@ -208,9 +208,9 @@ PRIVATE void LYListFmtParse ARGS5( #ifdef _WINDOWS /* 1998/01/06 (Tue) 21:20:53 */ static char *pbits[] = { "---", "--x", "-w-", "-wx", - "r--", "r-x", "rw-", "rwx", + "r--", "r-x", "rw-", "rwx", 0 }; -#define PBIT(a, n, s) pbits[((a) >> (n)) & 0x7] +#define PBIT(a, n, s) pbits[((a) >> (n)) & 0x7] #else static char *pbits[] = { "---", "--x", "-w-", "-wx", @@ -378,7 +378,7 @@ PRIVATE void LYListFmtParse ARGS5( default: type = '?'; break; } #ifdef _WINDOWS - sprintf(tmp, "%c%s", type, + sprintf(tmp, "%c%s", type, PBIT(st.st_mode, 6, st.st_mode & S_IRWXU)); #else sprintf(tmp, "%c%s%s%s", type, @@ -1123,30 +1123,6 @@ PUBLIC float HTFileValue ARGS1( ** 1. No code for non-unix systems. ** 2. Isn't there a quicker way? */ - -#if defined(HAVE_CONFIG_H) - -#ifndef HAVE_GETGROUPS -#define NO_GROUPS -#endif - -#else - -#ifdef VMS -#define NO_GROUPS -#endif /* VMS */ -#ifdef NO_UNIX_IO -#define NO_GROUPS -#endif /* NO_UNIX_IO */ -#ifdef PCNFS -#define NO_GROUPS -#endif /* PCNFS */ -#ifdef NOUSERS -#define NO_GROUPS -#endif /* PCNFS */ - -#endif /* HAVE_CONFIG_H */ - PUBLIC BOOL HTEditable ARGS1( CONST char *, filename) { |