Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/vndcompress Remove silly comment in offtab_reset_write.
details: https://anonhg.NetBSD.org/src/rev/1a13746c386a
branches: trunk
changeset: 792946:1a13746c386a
user: riastradh <riastradh%NetBSD.org@localhost>
date: Wed Jan 22 06:16:41 2014 +0000
description:
Remove silly comment in offtab_reset_write.
diffstat:
usr.bin/vndcompress/offtab.c | 8 +-------
1 files changed, 1 insertions(+), 7 deletions(-)
diffs (22 lines):
diff -r ef9b94c1bc8c -r 1a13746c386a usr.bin/vndcompress/offtab.c
--- a/usr.bin/vndcompress/offtab.c Wed Jan 22 06:16:32 2014 +0000
+++ b/usr.bin/vndcompress/offtab.c Wed Jan 22 06:16:41 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: offtab.c,v 1.5 2014/01/22 06:16:14 riastradh Exp $ */
+/* $NetBSD: offtab.c,v 1.6 2014/01/22 06:16:41 riastradh Exp $ */
/*-
* Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -385,12 +385,6 @@
offtab->ot_window[0] = htobe64(first_offset);
offtab_write_window(offtab);
- /*
- * We could adapt offtab_write_window to use pwrite instead of
- * write in order to avoid this lseek, but we require lseek on
- * the output anyway, and this avoids conditionalization of
- * offtab_write_window.
- */
if (lseek(offtab->ot_fd, first_offset, SEEK_SET) == -1)
err(1, "lseek to first offset failed");
}
Home |
Main Index |
Thread Index |
Old Index