[prev in list] [next in list] [prev in thread] [next in thread]
List: klik-devel
Subject: [klik-devel] [klikclient commit] r1420 -
From: codesite-noreply () google ! com
Date: 2008-03-23 10:02:33
Message-ID: 0016e645b798044917d167b8edd9e431 () google ! com
[Download RAW message or body]
Author: lionel.tricon
Date: Sun Mar 23 03:01:48 2008
New Revision: 1420
Modified:
trunk/virtualization/unionfuse/trunk/fusioniso/src/fs.c
Log:
Modification of readlink to point ld-klik2 instead of ld-linux (option -g)
Modified: trunk/virtualization/unionfuse/trunk/fusioniso/src/fs.c
==============================================================================
--- trunk/virtualization/unionfuse/trunk/fusioniso/src/fs.c (original)
+++ trunk/virtualization/unionfuse/trunk/fusioniso/src/fs.c Sun Mar 23
03:01:48 2008
@@ -817,6 +817,15 @@
{
struct stat v_stbuf;
+ // Use our own loader
+ if (_glibc && strcmp(path,"/lib/ld-linux.so.2")==0)
+ {
+ retval = readlink("/lib/ld-klik2.so.2", target, size-1);
+ if (retval == -1) return -errno;
+ target[retval] = '\0';
+ return 0;
+ }
+
if (fs_home_stat(path,&newpath,&v_stbuf) == 0)
{
if (!S_ISLNK(v_stbuf.st_mode)) return -EINVAL;
_______________________________________________
klik-devel mailing list
klik-devel@kde.org
https://mail.kde.org/mailman/listinfo/klik-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic