From 9c512bbadc47a7de000f53f11a7620d83ca0ddba Mon Sep 17 00:00:00 2001 From: "Thomas E. Dickey" Date: Fri, 30 Jul 1999 16:06:54 -0400 Subject: snapshot of project "lynx", label v2-8-3dev_5 --- WWW/Library/Implementation/HTFile.c | 30 +++--------------------------- 1 file changed, 3 insertions(+), 27 deletions(-) (limited to 'WWW/Library/Implementation/HTFile.c') 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) { -- cgit 1.4.1-2-gfad0