root / trunk / data / dpkg / port.diff
| Revision 2, 2.6 kB (checked in by saurik, 11 months ago) |
|---|
-
lib/Makefile.am
diff -ru dpkg-1.13.25/lib/Makefile.am dpkg-1.13.25+iPhone/lib/Makefile.am
old new 34 34 tarfn.c tarfn.h \ 35 35 utils.c \ 36 36 varbuf.c \ 37 vercmp.c 37 vercmp.c \ 38 obstack.c -
lib/tarfn.c
diff -ru dpkg-1.13.25/lib/tarfn.c dpkg-1.13.25+iPhone/lib/tarfn.c
old new 53 53 return n; 54 54 } 55 55 56 int strnlen(const char *s, int size) { 57 for (int i = 0; i != size; ++i) 58 if (s[i] == '\0') 59 return i; 60 return size; 61 } 62 56 63 /* String block to C null-terminated string */ 57 64 char * 58 65 StoC(const char *s, int size) -
m4/funcs.m4
diff -ru dpkg-1.13.25/m4/funcs.m4 dpkg-1.13.25+iPhone/m4/funcs.m4
old new 3 3 # Define HAVE_VA_COPY if we have va_copy, fail if they can't be assigned 4 4 AC_DEFUN([DPKG_FUNC_VA_COPY], 5 5 [AC_CACHE_CHECK([for va_copy], [dpkg_cv_va_copy], 6 [AC_TRY_ RUN(6 [AC_TRY_COMPILE( 7 7 [#include <stdarg.h> 8 8 main() { 9 9 va_list v1, v2; -
src/help.c
diff -ru dpkg-1.13.25/src/help.c dpkg-1.13.25+iPhone/src/help.c
old new 69 69 70 70 void checkpath(void) { 71 71 /* Verify that some programs can be found in the PATH. */ 72 static const char *const checklist[]= { "ldconfig", 73 #ifdef WITH_START_STOP_DAEMON 74 "start-stop-daemon", 75 #endif 76 "install-info", "update-rc.d", 0 72 static const char *const checklist[]= { 73 "install-info", 0 77 74 }; 78 75 79 76 struct stat stab; -
utils/start-stop-daemon.c
diff -ru dpkg-1.13.25/utils/start-stop-daemon.c dpkg-1.13.25+iPhone/utils/start-stop-daemon.c
old new 32 32 # define OSOpenBSD 33 33 #elif defined(hpux) 34 34 # define OShpux 35 #elif defined(__FreeBSD__) 35 #elif defined(__FreeBSD__) || 1 36 36 # define OSFreeBSD 37 37 #elif defined(__NetBSD__) 38 38 # define OSNetBSD … … 928 928 errx(1, "%s", errbuf); 929 929 if ((kp = kvm_getprocs(kd, KERN_PROC_PID, pid, &nentries)) == 0) 930 930 errx(1, "%s", kvm_geterr(kd)); 931 if (kp->kp_proc.p_cred )931 /*if (kp->kp_proc.p_cred ) 932 932 kvm_read(kd, (u_long)&(kp->kp_proc.p_cred->p_ruid), 933 933 &proc_uid, sizeof(uid_t)); 934 else 934 else*/ 935 935 return 0; 936 936 return (proc_uid == (uid_t)uid); 937 937 }
Note: See TracBrowser
for help on using the browser.
