Source-Changes-HG archive

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

[src/trunk]: src/tests/fs/puffs the old thread which does not return not retu...



details:   https://anonhg.NetBSD.org/src/rev/1461f130a53e
branches:  trunk
changeset: 756799:1461f130a53e
user:      pooka <pooka%NetBSD.org@localhost>
date:      Mon Aug 02 09:44:23 2010 +0000

description:
the old thread which does not return not returning a value
undetectable to all but the sh3 compiler trick

diffstat:

 tests/fs/puffs/t_fuzz.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 3b9004898308 -r 1461f130a53e tests/fs/puffs/t_fuzz.c
--- a/tests/fs/puffs/t_fuzz.c   Mon Aug 02 07:08:26 2010 +0000
+++ b/tests/fs/puffs/t_fuzz.c   Mon Aug 02 09:44:23 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: t_fuzz.c,v 1.1 2010/07/31 17:11:45 pooka Exp $ */
+/*     $NetBSD: t_fuzz.c,v 1.2 2010/08/02 09:44:23 pooka Exp $ */
 
 /*-
  * Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -202,6 +202,8 @@
                        pthread_mutex_lock(&damtx);
                }
        }
+
+       return NULL;
 }
 
 static void



Home | Main Index | Thread Index | Old Index