pkgsrc-Changes archive

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

CVS commit: [pkgsrc-2009Q3] pkgsrc/pkgtools/pkg_install/files/lib



Module Name:    pkgsrc
Committed By:   tron
Date:           Fri Oct 23 10:28:23 UTC 2009

Modified Files:
        pkgsrc/pkgtools/pkg_install/files/lib [pkgsrc-2009Q3]: pkgdb.c
            version.h

Log Message:
Pullup ticket #2921 - requested by joerg
pkg_install: bug fix

Revisions pulled up:
- pkgtools/pkg_install/files/lib/pkgdb.c        1.36
- pkgtools/pkg_install/files/lib/version.h      1.142
---
Module Name:    pkgsrc
Committed By:   joerg
Date:           Thu Oct 22 22:51:29 UTC 2009

Modified Files:
        pkgsrc/pkgtools/pkg_install/files/lib: pkgdb.c version.h

Log Message:
pkg_install-20091009:
Do not overwrite a string with itself using snprintf. This breaks
setting the pkgdb directory internally on Linux. Explicitly check
if the string is the same and otherwise just use xstrdup.


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.35.2.1 pkgsrc/pkgtools/pkg_install/files/lib/pkgdb.c
cvs rdiff -u -r1.139 -r1.139.2.1 \
    pkgsrc/pkgtools/pkg_install/files/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