Module Name: src
Committed By: pooka
Date: Tue Mar 1 10:54:06 UTC 2011
Modified Files:
src/lib/librumphijack: hijack.c
Log Message:
another comment
To generate a diff of this commit:
cvs rdiff -u -r1.73 -r1.74 src/lib/librumphijack/hijack.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/librumphijack/hijack.c
diff -u src/lib/librumphijack/hijack.c:1.73 src/lib/librumphijack/hijack.c:1.74
--- src/lib/librumphijack/hijack.c:1.73 Tue Mar 1 10:47:29 2011
+++ src/lib/librumphijack/hijack.c Tue Mar 1 10:54:06 2011
@@ -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