/[path-sandbox]/trunk/libsbutil/get_sandbox_lib.c
Gentoo

Contents of /trunk/libsbutil/get_sandbox_lib.c

Parent Directory Parent Directory | Revision Log Revision Log


Revision 382 - (show annotations) (download) (as text)
Sun Nov 9 13:20:38 2008 UTC (8 years, 11 months ago) by vapier
File MIME type: text/x-csrc
File size: 548 byte(s)
make sure we always let the ldso do the libsandbox search
1 /*
2 * get_sandbox_lib.c
3 *
4 * Util functions.
5 *
6 * Copyright 1999-2008 Gentoo Foundation
7 * Licensed under the GPL-2
8 *
9 * Some parts might have Copyright:
10 * Copyright (C) 2002 Brad House <brad@mainstreetsoftworks.com>
11 */
12
13 #include "headers.h"
14 #include "sbutil.h"
15
16 /* Always let the dynamic loader do the searching rather than hard coding the
17 * full path. This way, things like multilib, testing, local runs work easier.
18 */
19 void get_sandbox_lib(char *path)
20 {
21 save_errno();
22 snprintf(path, SB_PATH_MAX, "%s", LIB_NAME);
23 restore_errno();
24 }

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.20