Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site watmath.UUCP Path: utzoo!watmath!idallen From: idallen@watmath.UUCP Newsgroups: net.news.b Subject: Bug in xfopen() in rfuncs.c in 2.10.2 News Message-ID: <11144@watmath.UUCP> Date: Sat, 26-Jan-85 19:22:23 EST Article-I.D.: watmath.11144 Posted: Sat Jan 26 19:22:23 1985 Date-Received: Sun, 27-Jan-85 07:41:15 EST Distribution: net Organization: U of Waterloo, Ontario Lines: 13 x /* kludge for setuid not being honored for root */ #ifdef OLD_NONSENSE if ((uid == 0) && (duid != 0) && ((fmode == "a") || (fmode == "w"))) chown(name, duid, dgid); #else CORRECT if ((uid == 0) && (duid != 0) && (strcmp(fmode,"a")==0 || strcmp(fmode,"w")==0)) chown(name, duid, dgid); #endif return(fp); Methinks someone thought C had string operators.