diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2010-10-28 15:02:42 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2010-10-28 15:02:42 +0000 |
commit | ad39b297930f7aeb9f57f3283cb31dad08c3a9ac (patch) | |
tree | 686235f31d6eb66ef3d8180a61333f611d32602b /usr.bin/cvs/update.c | |
parent | 24c64c90c25711433236441e0509ebae8231f426 (diff) |
Change basep parameter of getdirentries() to be off_t *, not long *
so it works correctly with large offsets (and matches other systems).
This requires adding a new getdirentries syscall, with the old one
renamed to ogetdirentries. All in-tree consumers of getdirentries()
have been updated. Bump libc and libpthread major numbers.
OK and with deraadt@
Diffstat (limited to 'usr.bin/cvs/update.c')
-rw-r--r-- | usr.bin/cvs/update.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/update.c b/usr.bin/cvs/update.c index 031783e7e47..514863d8eb5 100644 --- a/usr.bin/cvs/update.c +++ b/usr.bin/cvs/update.c @@ -1,4 +1,4 @@ -/* $OpenBSD: update.c,v 1.165 2010/10/27 08:35:45 tobias Exp $ */ +/* $OpenBSD: update.c,v 1.166 2010/10/28 15:02:41 millert Exp $ */ /* * Copyright (c) 2006 Joris Vink <joris@openbsd.org> * @@ -235,7 +235,7 @@ cvs_update_enterdir(struct cvs_file *cf) void cvs_update_leavedir(struct cvs_file *cf) { - long base; + off_t base; int nbytes; int isempty; size_t bufsize; |