=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/sudo/Attic/visudo.c,v retrieving revision 1.5 retrieving revision 1.6 diff -c -r1.5 -r1.6 *** src/usr.bin/sudo/Attic/visudo.c 2000/06/05 14:01:15 1.5 --- src/usr.bin/sudo/Attic/visudo.c 2000/12/15 04:01:39 1.6 *************** *** 166,172 **** * Open sudoers, lock it and stat it. * sudoers_fd must remain open throughout in order to hold the lock. */ ! sudoers_fd = open(sudoers, O_RDWR | O_CREAT); if (sudoers_fd == -1) { (void) fprintf(stderr, "%s: %s: %s\n", Argv[0], sudoers, strerror(errno)); --- 166,172 ---- * Open sudoers, lock it and stat it. * sudoers_fd must remain open throughout in order to hold the lock. */ ! sudoers_fd = open(sudoers, O_RDWR | O_CREAT, SUDOERS_MODE); if (sudoers_fd == -1) { (void) fprintf(stderr, "%s: %s: %s\n", Argv[0], sudoers, strerror(errno));