From bc50b6c32147c44ef8dff437e3f4b453ce3db43f Mon Sep 17 00:00:00 2001 From: Brian Harring Date: Thu, 6 Oct 2005 18:24:42 +0000 Subject: removing unused sandbox dirs. svn path=/main/branches/2.0/; revision=2116 --- src/sandbox/problems/libsandbox_muttbug.c | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 src/sandbox/problems/libsandbox_muttbug.c (limited to 'src/sandbox/problems/libsandbox_muttbug.c') diff --git a/src/sandbox/problems/libsandbox_muttbug.c b/src/sandbox/problems/libsandbox_muttbug.c deleted file mode 100644 index 08a798654..000000000 --- a/src/sandbox/problems/libsandbox_muttbug.c +++ /dev/null @@ -1,24 +0,0 @@ -/* $Id: /var/cvsroot/gentoo-src/portage/src/sandbox/problems/Attic/libsandbox_muttbug.c,v 1.2 2003/03/22 14:24:38 carpaski Exp $ */ - -#define _GNU_SOURCE -#define _REENTRANT - -#define open xxx_open -#include -#include -#include -#undef open - -extern FILE* fopen(const char*, const char*); -FILE* (*orig_fopen)(const char*, const char*) = 0; -FILE* fopen(const char* a1, const char* a2) -{ - int old_errno = errno; - if (!orig_fopen) - { - orig_fopen = dlsym(RTLD_NEXT, "fopen"); - } - errno = old_errno; - return orig_fopen(a1, a2); -} - -- cgit v1.2.3-1-g7c22