Source-Changes archive

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

CVS commit: src/external/bsd/openpam/dist/lib/libpam



Module Name:    src
Committed By:   riastradh
Date:           Sat Sep  6 12:23:17 UTC 2025

Modified Files:
        src/external/bsd/openpam/dist/lib/libpam: openpam_borrow_cred.c
            openpam_configure.c pam_start.c

Log Message:
openpam: Nix cast in calloc((size_t)1, ...).

This was added as a local change back in 2004 -- and we've been
carrying it around as a local patch for the last two decades -- with
the message:

> add size_t casts to silence up lint where size_t is unsigned long.

If writing a literal `1' for a size_t parameter still troubles lint,
let's fix lint rather than carry around silly patches like this.
(But I expect lint has been fixed long ago.)

No functional change intended.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 \
    src/external/bsd/openpam/dist/lib/libpam/openpam_borrow_cred.c
cvs rdiff -u -r1.7 -r1.8 \
    src/external/bsd/openpam/dist/lib/libpam/openpam_configure.c
cvs rdiff -u -r1.4 -r1.5 src/external/bsd/openpam/dist/lib/libpam/pam_start.c

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