Module Name:    src
Committed By:   riastradh
Date:           Wed Jan 22 06:16:41 UTC 2014

Modified Files:
        src/usr.bin/vndcompress: offtab.c

Log Message:
Remove silly comment in offtab_reset_write.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/usr.bin/vndcompress/offtab.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/vndcompress/offtab.c
diff -u src/usr.bin/vndcompress/offtab.c:1.5 src/usr.bin/vndcompress/offtab.c:1.6
--- src/usr.bin/vndcompress/offtab.c:1.5	Wed Jan 22 06:16:14 2014
+++ src/usr.bin/vndcompress/offtab.c	Wed Jan 22 06:16:41 2014
@@ -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_reset_write(struct offtab *offtab
 	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");
 }

Reply via email to