=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/cvs/update.c,v retrieving revision 1.72 retrieving revision 1.73 diff -c -r1.72 -r1.73 *** src/usr.bin/cvs/update.c 2006/06/14 14:10:50 1.72 --- src/usr.bin/cvs/update.c 2006/06/14 15:17:54 1.73 *************** *** 1,4 **** ! /* $OpenBSD: update.c,v 1.72 2006/06/14 14:10:50 joris Exp $ */ /* * Copyright (c) 2006 Joris Vink * --- 1,4 ---- ! /* $OpenBSD: update.c,v 1.73 2006/06/14 15:17:54 joris Exp $ */ /* * Copyright (c) 2006 Joris Vink * *************** *** 183,189 **** isempty = 1; buf = xmalloc(bufsize); ! if (lseek(cf->fd, SEEK_SET, 0) == -1) fatal("cvs_update_leavedir: %s", strerror(errno)); while ((nbytes = getdirentries(cf->fd, buf, bufsize, &base)) > 0) { --- 183,189 ---- isempty = 1; buf = xmalloc(bufsize); ! if (lseek(cf->fd, 0, SEEK_SET) == -1) fatal("cvs_update_leavedir: %s", strerror(errno)); while ((nbytes = getdirentries(cf->fd, buf, bufsize, &base)) > 0) {