Module Name: othersrc Committed By: lukem Date: Sat Sep 23 04:00:21 UTC 2023
Modified Files: othersrc/libexec/tnftpd: configure.ac tnftpd.h othersrc/libexec/tnftpd/libnetbsd: err.c othersrc/libexec/tnftpd/src: ftpd.c Added Files: othersrc/libexec/tnftpd/libnetbsd: setprogname.c Log Message: adapt __progname to setprogname() / getprogname() Import setprogname() and getprogname() from othersrc/usr.bin/tnftp/libnetbsd/setprogname.c rev 1.4. Use getprogname() instead of __progname. Fixes link error on modern NetBSD which correctly complained about duplicate definition of __progname. To generate a diff of this commit: cvs rdiff -u -r1.47 -r1.48 othersrc/libexec/tnftpd/configure.ac cvs rdiff -u -r1.38 -r1.39 othersrc/libexec/tnftpd/tnftpd.h cvs rdiff -u -r1.5 -r1.6 othersrc/libexec/tnftpd/libnetbsd/err.c cvs rdiff -u -r0 -r1.1 othersrc/libexec/tnftpd/libnetbsd/setprogname.c cvs rdiff -u -r1.37 -r1.38 othersrc/libexec/tnftpd/src/ftpd.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.