Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/sushi add XXX comment for piece of very strange cod...
details: https://anonhg.NetBSD.org/src/rev/046441f01978
branches: trunk
changeset: 534412:046441f01978
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Thu Jul 25 12:20:56 2002 +0000
description:
add XXX comment for piece of very strange code; I don't currently
want to investigate more
diffstat:
usr.sbin/sushi/functions.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r 535745d062ad -r 046441f01978 usr.sbin/sushi/functions.c
--- a/usr.sbin/sushi/functions.c Thu Jul 25 12:13:03 2002 +0000
+++ b/usr.sbin/sushi/functions.c Thu Jul 25 12:20:56 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: functions.c,v 1.3 2001/03/03 13:54:22 garbled Exp $ */
+/* $NetBSD: functions.c,v 1.4 2002/07/25 12:20:56 jdolecek Exp $ */
/*
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -306,6 +306,9 @@
nlines = 0;
while(fgets(buf, sizeof(buf), f)) {
list[nlines] = strdup(buf);
+ /* XXX jdolecek: is this right? strdup() and conditional
+ * nlines++?
+ */
if (list[nlines][strlen(list[nlines])-2] == '/') {
list[nlines][strlen(list[nlines])-2] = '\0';
nlines++;
Home |
Main Index |
Thread Index |
Old Index