Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/librumphijack another comment
details: https://anonhg.NetBSD.org/src/rev/c46a68c41bdf
branches: trunk
changeset: 762807:c46a68c41bdf
user: pooka <pooka%NetBSD.org@localhost>
date: Tue Mar 01 10:54:06 2011 +0000
description:
another comment
diffstat:
lib/librumphijack/hijack.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r 34052103ce00 -r c46a68c41bdf lib/librumphijack/hijack.c
--- a/lib/librumphijack/hijack.c Tue Mar 01 10:47:29 2011 +0000
+++ b/lib/librumphijack/hijack.c Tue Mar 01 10:54:06 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: hijack.c,v 1.73 2011/03/01 10:47:29 pooka Exp $ */
+/* $NetBSD: hijack.c,v 1.74 2011/03/01 10:54:06 pooka Exp $ */
/*-
* Copyright (c) 2011 Antti Kantee. All Rights Reserved.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: hijack.c,v 1.73 2011/03/01 10:47:29 pooka Exp $");
+__RCSID("$NetBSD: hijack.c,v 1.74 2011/03/01 10:54:06 pooka Exp $");
#define __ssp_weak_name(fun) _hijack_ ## fun
@@ -242,6 +242,8 @@
/*
* Maintain a mapping table for the usual dup2 suspects.
+ * Could use atomic ops to operate on dup2vec, but an application
+ * racing there is not well-defined, so don't bother.
*/
/* note: you cannot change this without editing the env-passing code */
#define DUP2HIGH 2
Home |
Main Index |
Thread Index |
Old Index