root / trunk / data / cvs / mdns.diff
| Revision 218, 0.8 kB (checked in by saurik, 8 months ago) |
|---|
-
src/main.c
diff -ru cvs-1.11.22/src/main.c cvs-1.11.22+iPhone/src/main.c
old new 1 #include <mach-o/nlist.h> 2 1 3 /* 2 4 * Copyright (C) 1986-2006 The Free Software Foundation, Inc. 3 5 * … … 395 397 int argc; 396 398 char **argv; 397 399 { 400 #if !defined(__ENVIRONMENT_ASPEN_VERSION_MIN_REQUIRED__) || __ENVIRONMENT_ASPEN_VERSION_MIN_REQUIRED__ < 10200 401 struct nlist nl[2]; 402 memset(nl, 0, sizeof(nl)); 403 nl[0].n_un.n_name = (char *) "_useMDNSResponder"; 404 nlist("/usr/lib/libc.dylib", nl); 405 if (nl[0].n_type != N_UNDF) 406 *(int *) nl[0].n_value = 0; 407 #endif 408 398 409 cvsroot_t *CVSroot_parsed = NULL; 399 410 int cvsroot_update_env = 1; 400 411 char *cp, *end;
Note: See TracBrowser
for help on using the browser.
