Source-Changes-HG archive

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

[src/trunk]: src/lib/librumphijack fix symlink pathname examination (rational...



details:   https://anonhg.NetBSD.org/src/rev/b4e7f1945cd9
branches:  trunk
changeset: 762337:b4e7f1945cd9
user:      pooka <pooka%NetBSD.org@localhost>
date:      Sat Feb 19 19:17:33 2011 +0000

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

diffstat:

 lib/librumphijack/hijack.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (30 lines):

diff -r be0e4a701fee -r b4e7f1945cd9 lib/librumphijack/hijack.c
--- a/lib/librumphijack/hijack.c        Sat Feb 19 18:26:50 2011 +0000
+++ b/lib/librumphijack/hijack.c        Sat Feb 19 19:17:33 2011 +0000
@@ -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),                   \



Home | Main Index | Thread Index | Old Index