Module Name:    src
Committed By:   pooka
Date:           Tue Feb 15 14:01:52 UTC 2011

Modified Files:
        src/lib/librumphijack: hijack.c

Log Message:
dup() is now implemented using fcntl()


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 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.40 src/lib/librumphijack/hijack.c:1.41
--- src/lib/librumphijack/hijack.c:1.40	Tue Feb 15 13:59:28 2011
+++ src/lib/librumphijack/hijack.c	Tue Feb 15 14:01:52 2011
@@ -1,4 +1,4 @@
-/*      $NetBSD: hijack.c,v 1.40 2011/02/15 13:59:28 pooka Exp $	*/
+/*      $NetBSD: hijack.c,v 1.41 2011/02/15 14:01:52 pooka Exp $	*/
 
 /*-
  * Copyright (c) 2011 Antti Kantee.  All Rights Reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: hijack.c,v 1.40 2011/02/15 13:59:28 pooka Exp $");
+__RCSID("$NetBSD: hijack.c,v 1.41 2011/02/15 14:01:52 pooka Exp $");
 
 #define __ssp_weak_name(fun) _hijack_ ## fun
 
@@ -66,7 +66,7 @@
 	DUALCALL_GETSOCKOPT, DUALCALL_SETSOCKOPT,
 	DUALCALL_SHUTDOWN,
 	DUALCALL_READ, DUALCALL_READV,
-	DUALCALL_DUP, DUALCALL_DUP2,
+	DUALCALL_DUP2,
 	DUALCALL_CLOSE,
 	DUALCALL_POLLTS,
 	DUALCALL_KEVENT,
@@ -124,7 +124,6 @@
 	{ DUALCALL_WRITEV,	"writev",	RSYS_NAME(WRITEV)	},
 	{ DUALCALL_IOCTL,	"ioctl",	RSYS_NAME(IOCTL)	},
 	{ DUALCALL_FCNTL,	"fcntl",	RSYS_NAME(FCNTL)	},
-	{ DUALCALL_DUP,		"dup",		RSYS_NAME(DUP)		},
 	{ DUALCALL_DUP2,	"dup2",		RSYS_NAME(DUP2)		},
 	{ DUALCALL_CLOSE,	"close",	RSYS_NAME(CLOSE)	},
 	{ DUALCALL_POLLTS,	S(REALPOLLTS),	RSYS_NAME(POLLTS)	},

Reply via email to