Age | Commit message (Collapse) | Author |
|
|
|
* normalized the signatures of the functions passed to each_file()
and each_full_file(). In most cases that meant adding a void *dummy.
In one case it changed an int to a void*, but the arg was only checked
for zero/not-zero so the change was not significant.
* removes unused code and structures.
* makes sure printf args match their format.
* got rid of some of the gcc -Wall warnings
OK deraadt@
|
|
Function arg types have not yet been fixed. OK fgs@, espie@
|
|
|
|
register variables. clean-up concept ok deraadt@
|
|
Add support for -U option:
Unconfigure directories specified on the command line or remove
inaccessible directories from search path if no directories spec-
ified. This option cannot be used with -m.
- this option helps to correctly pkg_delete packages like postgresql,
mysql (with shared libs in package's own directory).
ok espie@
|
|
Avoid duplicates in search path.
ok espie@
|
|
and major !=-1 anywhere).
Simplify test logic: it's enough to check path != NULL to know whether
we found something. cmpdewey() code is enough to ensure we get the best
one (libfoo.a doesn't change n, any appropriate libfoo.so will take
precedence).
|
|
we found something correct or not.
|
|
ld (and ld.so) should take the shared library of the highest version
in the first directory that it founds. this is the way ld/ld.so has
traditionally worked since SunOS 4 and this is the way it should work.
before changing this back - please make sure you understand the
semantics of this and that you are not just hiding some other bug but
toggling this change. also verify the example in the PR.
see PR/972
|
|
for shared libs when the first was found... thus it would miss a
newer version found later in the search path
|
|
|
|
directories. This is compatible with the SunOS behaviour. Also,
it fixes a problem where it was not possible for some 3rd party
package to have a library with the same name as a library already
in the system, and a lower version number. The highest version
would always be picked. This particular problem shows up with Mozilla,
which has a libutil.so.1.0; fvdl
|
|
|
|
|