Module Name:    src
Committed By:   pooka
Date:           Sat Feb 19 19:17:34 UTC 2011

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

Log Message:
fix symlink pathname examination (rationale-to-joerg: so that it works)


To generate a diff of this commit:
cvs rdiff -u -r1.57 -r1.58 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.57 src/lib/librumphijack/hijack.c:1.58
--- src/lib/librumphijack/hijack.c:1.57	Sat Feb 19 13:10:35 2011
+++ src/lib/librumphijack/hijack.c	Sat Feb 19 19:17:33 2011
@@ -1,4 +1,4 @@
-/*      $NetBSD: hijack.c,v 1.57 2011/02/19 13:10:35 pooka Exp $	*/
+/*      $NetBSD: hijack.c,v 1.58 2011/02/19 19:17:33 pooka Exp $	*/
 
 /*-
  * Copyright (c) 2011 Antti Kantee.  All Rights Reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: hijack.c,v 1.57 2011/02/19 13:10:35 pooka Exp $");
+__RCSID("$NetBSD: hijack.c,v 1.58 2011/02/19 19:17:33 pooka Exp $");
 
 #define __ssp_weak_name(fun) _hijack_ ## fun
 
@@ -1695,9 +1695,9 @@
 	(path))
 
 PATHCALL(int, symlink, DUALCALL_SYMLINK,				\
-	(const char *path, const char *target),				\
+	(const char *target, const char *path),				\
 	(const char *, const char *),					\
-	(path, target))
+	(target, path))
 
 PATHCALL(ssize_t, readlink, DUALCALL_READLINK,				\
 	(const char *path, char *buf, size_t bufsiz),			\

Reply via email to