=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/cvs/client.c,v retrieving revision 1.59 retrieving revision 1.60 diff -c -r1.59 -r1.60 *** src/usr.bin/cvs/client.c 2007/02/22 06:42:09 1.59 --- src/usr.bin/cvs/client.c 2007/05/16 09:52:47 1.60 *************** *** 1,4 **** ! /* $OpenBSD: client.c,v 1.59 2007/02/22 06:42:09 otto Exp $ */ /* * Copyright (c) 2006 Joris Vink * --- 1,4 ---- ! /* $OpenBSD: client.c,v 1.60 2007/05/16 09:52:47 xsa Exp $ */ /* * Copyright (c) 2006 Joris Vink * *************** *** 957,963 **** } if ((cvs_client_inlog_fd = open(fpath, ! O_RDWR | O_CREAT | O_TRUNC, 0644)) == NULL) { fatal("cvs_client_initlog: open `%s': %s", fpath, strerror(errno)); } --- 957,963 ---- } if ((cvs_client_inlog_fd = open(fpath, ! O_RDWR | O_CREAT | O_TRUNC, 0644)) == -1) { fatal("cvs_client_initlog: open `%s': %s", fpath, strerror(errno)); } *************** *** 976,982 **** } if ((cvs_client_outlog_fd = open(fpath, ! O_RDWR | O_CREAT | O_TRUNC, 0644)) == NULL) { fatal("cvs_client_initlog: open `%s': %s", fpath, strerror(errno)); } --- 976,982 ---- } if ((cvs_client_outlog_fd = open(fpath, ! O_RDWR | O_CREAT | O_TRUNC, 0644)) == -1) { fatal("cvs_client_initlog: open `%s': %s", fpath, strerror(errno)); }