orig rh72
[nethome.git] / src / ldconfig-1999-02-21-prep-docache.diff
1 ftp://sunsite.mff.cuni.cz/MIRRORS/ftp.redhat.com/redhat/linux/6.2/en/os/i386/SRPMS/ldconfig-1.9.5-16.src.rpm
2
3 diff -ru ldconfig-1999-02-21-prep-orig/ldconfig.c ldconfig-1999-02-21-prep/ldconfig.c
4 --- ldconfig-1999-02-21-prep-orig/ldconfig.c    Fri Jun 29 21:06:47 2001
5 +++ ldconfig-1999-02-21-prep/ldconfig.c Fri Jun 29 21:11:22 2001
6 @@ -624,7 +624,7 @@
7             break;
8         case 'n':
9             nodefault = 1;      /* no default dirs */
10 -           nocache = 1;
11 +           /* nocache = 1; * Lace */
12             break;
13         case 'N':
14             nocache = 1;        /* don't build cache */
15 @@ -707,16 +707,20 @@
16      {
17         /* the lazy bum want's us to do all the work for him */
18  
19 +#if 0 /* Lace */
20         /* don't cache dirs on the command line */
21         int nocache_save = nocache;
22         nocache = 1;
23 +#endif
24  
25         /* OK, which directories should we do? */
26         for (i = optind; i < argc; i++)
27             scan_dir(argv[i]);
28  
29 +#if 0 /* Lace */
30         /* restore the desired caching state */
31         nocache = nocache_save;
32 +#endif
33  
34         /* look ma, no defaults */
35         if (!nodefault)