housel@ea.ecn.purdue.edu (Peter S. Housel) (08/02/88)
It looks like fopen.c needs one more correction. (This is probably partially my fault. Sorry.) Peter S. Housel housel@ei.ecn.purdue.edu ...!pur-ee!housel *** fopen.c.bak Mon Aug 1 18:52:30 1988 --- fopen.c Mon Aug 1 18:52:50 1988 *************** *** 26,32 **** return(NULL); break; ! case 'a': if (( fd = open(name,1)) < 0 ) if(errno != ENOENT || (fd = creat(name, PMODE)) < 0) return(NULL); --- 26,33 ---- return(NULL); break; ! case 'a': ! flags |= WRITEMODE; if (( fd = open(name,1)) < 0 ) if(errno != ENOENT || (fd = creat(name, PMODE)) < 0) return(NULL);