Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/fs/common Remove what looks like an outdated assert (t...



details:   https://anonhg.NetBSD.org/src/rev/acdbe43ef933
branches:  trunk
changeset: 789835:acdbe43ef933
user:      pooka <pooka%NetBSD.org@localhost>
date:      Mon Sep 09 19:47:38 2013 +0000

description:
Remove what looks like an outdated assert (there was something very sneaky
about this code, but my memory is fading ...)

diffstat:

 tests/fs/common/fstest_puffs.c |  8 +-------
 1 files changed, 1 insertions(+), 7 deletions(-)

diffs (22 lines):

diff -r 0e87f7d2bb78 -r acdbe43ef933 tests/fs/common/fstest_puffs.c
--- a/tests/fs/common/fstest_puffs.c    Mon Sep 09 19:37:17 2013 +0000
+++ b/tests/fs/common/fstest_puffs.c    Mon Sep 09 19:47:38 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fstest_puffs.c,v 1.10 2011/02/10 16:35:01 njoly Exp $  */
+/*     $NetBSD: fstest_puffs.c,v 1.11 2013/09/09 19:47:38 pooka Exp $  */
 
 /*
  * Copyright (c) 2010, 2011 The NetBSD Foundation, Inc.
@@ -386,12 +386,6 @@
        if (fd == -1)
                return fd;
 
-#if 0
-       pa->pa_fd = fd;
-#else
-       assert(fd == 0); /* XXX: FIXME */
-#endif
-
        if (rump_sys_mkdir(path, 0777) == -1)
                return -1;
 



Home | Main Index | Thread Index | Old Index