=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/cvs/update.c,v retrieving revision 1.150 retrieving revision 1.151 diff -c -r1.150 -r1.151 *** src/usr.bin/cvs/update.c 2008/06/11 19:10:02 1.150 --- src/usr.bin/cvs/update.c 2008/06/12 07:16:14 1.151 *************** *** 1,4 **** ! /* $OpenBSD: update.c,v 1.150 2008/06/11 19:10:02 joris Exp $ */ /* * Copyright (c) 2006 Joris Vink * --- 1,4 ---- ! /* $OpenBSD: update.c,v 1.151 2008/06/12 07:16:14 joris Exp $ */ /* * Copyright (c) 2006 Joris Vink * *************** *** 252,258 **** bufsize = st.st_blksize; if (st.st_size > SIZE_MAX) ! fatal("cvs_update_leavedir: %s: file size too big", cf->file_name); isempty = 1; buf = xmalloc(bufsize); --- 252,259 ---- bufsize = st.st_blksize; if (st.st_size > SIZE_MAX) ! fatal("cvs_update_leavedir: %s: file size too big", ! cf->file_name); isempty = 1; buf = xmalloc(bufsize); *************** *** 295,302 **** xfree(buf); ! if ((isempty == 1 && prune_dirs == 1) || (cvs_server_active == 1 && ! cvs_cmdop == CVS_OP_CHECKOUT)) { /* XXX */ cvs_rmdir(cf->file_path); --- 296,303 ---- xfree(buf); ! if ((isempty == 1 && prune_dirs == 1) || ! (cvs_server_active == 1 && cvs_cmdop == CVS_OP_CHECKOUT)) { /* XXX */ cvs_rmdir(cf->file_path);