Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/usr.sbin/pkg_install



Module Name:    src
Committed By:   agc
Date:           Fri Jul 30 11:35:47 UTC 2004

Modified Files:
        src/usr.sbin/pkg_install/add: perform.c
        src/usr.sbin/pkg_install/lib: version.h

Log Message:
Re-work the code which checks the recorded build versions of a binary
package to make pkg_add work properly when no +BUILD_INFO file exists.

Modify the return value from read_buildinfo() to return 1 for success
and 0 for failure.

Use symbolic constants, rather than integers.

If we can't read the build information, always tell of this fact.

Bump version to 20040730

Addresses PR 26429; a different version of these mods were verified to
allow a +BUILD_INFO-less binary package to be added by Martin Husemann.


To generate a diff of this commit:
cvs rdiff -r1.101 -r1.102 src/usr.sbin/pkg_install/add/perform.c
cvs rdiff -r1.54 -r1.55 src/usr.sbin/pkg_install/lib/version.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index