Hi,

Here is the small patch to activate the -R behaviour when no arguments
are given :) Thanks for helping me ! I'll work on the other modification

i suggested as soon as i have enough time.

Best regards,

    - Maxime Henrion
*** /usr/src/sbin/ldconfig/ldconfig.c   Sun Jan 16 22:08:58 2000
--- ldconfig.c  Sun Jul  9 19:06:23 2000
***************
*** 115,121 ****
                errx(1, "unknown object format \"%s\"", objformat);
  
        hints_file = is_aout ? _PATH_LD_HINTS : _PATH_ELF_HINTS;
!       while ((c = getopt(argc, argv, "Rf:mrsv")) != -1) {
                switch (c) {
                case 'R':
                        rescan = 1;
--- 115,123 ----
                errx(1, "unknown object format \"%s\"", objformat);
  
        hints_file = is_aout ? _PATH_LD_HINTS : _PATH_ELF_HINTS;
!       if (argc == 1)
!               rescan = 1;
!       else while((c = getopt(argc, argv, "Rf:mrsv")) != -1) {
                switch (c) {
                case 'R':
                        rescan = 1;

Reply via email to