Source-Changes-HG archive

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

[src/trunk]: src/lib/librumphijack Unbreak the ssp lossage from the default -...



details:   https://anonhg.NetBSD.org/src/rev/dab81e739394
branches:  trunk
changeset: 761773:dab81e739394
user:      pooka <pooka%NetBSD.org@localhost>
date:      Mon Feb 07 11:51:02 2011 +0000

description:
Unbreak the ssp lossage from the default -current build by removing
it.  I still don't have any idea what the ssp stuff is supposed to
do and how it's supposed to even begin to work.  If someone wants
to change this now, run tests/lib/librumphijack before commit so
that I can avoid another multihour debugging session!

diffstat:

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

diffs (27 lines):

diff -r f154811951ee -r dab81e739394 lib/librumphijack/hijack.c
--- a/lib/librumphijack/hijack.c        Mon Feb 07 10:28:18 2011 +0000
+++ b/lib/librumphijack/hijack.c        Mon Feb 07 11:51:02 2011 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: hijack.c,v 1.29 2011/02/07 10:28:18 pooka Exp $       */
+/*      $NetBSD: hijack.c,v 1.30 2011/02/07 11:51:02 pooka Exp $       */
 
 /*-
  * Copyright (c) 2011 Antti Kantee.  All Rights Reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: hijack.c,v 1.29 2011/02/07 10:28:18 pooka Exp $");
+__RCSID("$NetBSD: hijack.c,v 1.30 2011/02/07 11:51:02 pooka Exp $");
 
 #define __ssp_weak_name(fun) _hijack_ ## fun
 
@@ -912,7 +912,7 @@
 #define STUB(fun) fun
 #endif
 
-FDCALL(ssize_t, STUB(read), DUALCALL_READ,                             \
+FDCALL(ssize_t, read, DUALCALL_READ,                                   \
        (int fd, void *buf, size_t buflen),                             \
        (int, void *, size_t),                                          \
        (fd, buf, buflen))



Home | Main Index | Thread Index | Old Index