[Glibc-bsd-commits] r1845 - trunk/kfreebsd-6/debian/patches
Aurelien Jarno
aurel32 at alioth.debian.org
Fri Jan 5 11:26:00 CET 2007
Author: aurel32
Date: 2007-01-05 11:26:00 +0100 (Fri, 05 Jan 2007)
New Revision: 1845
Modified:
trunk/kfreebsd-6/debian/patches/010_ET_DYN.diff
Log:
Use strcmp instead of strstr (this function does not exist in the kernel), and the full path of dynamic load.
Modified: trunk/kfreebsd-6/debian/patches/010_ET_DYN.diff
===================================================================
--- trunk/kfreebsd-6/debian/patches/010_ET_DYN.diff 2007-01-04 21:25:23 UTC (rev 1844)
+++ trunk/kfreebsd-6/debian/patches/010_ET_DYN.diff 2007-01-05 10:26:00 UTC (rev 1845)
@@ -37,7 +37,7 @@
+
sv = brand_info->sysvec;
- if (interp != NULL && brand_info->interp_newpath != NULL)
-+ if (interp != NULL && brand_info->interp_newpath != NULL && strstr(interp, "ld-elf.so") != NULL)
++ if (interp != NULL && brand_info->interp_newpath != NULL && !strcmp(interp, "/libexec/ld-elf.so.1") != NULL)
interp = brand_info->interp_newpath;
/*
More information about the Glibc-bsd-commits
mailing list