Date: Sun, 09 Jul 2000 19:23:03 +0200 From: Maxime Henrion <mhenrion@cybercable.fr> To: freebsd-hackers@freebsd.org Subject: Re: ldconfig behaviour when no parameters are given Message-ID: <3968B4F7.17CC3DAC@cybercable.fr>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
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
[-- Attachment #2 --]
*** /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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3968B4F7.17CC3DAC>
