atom feed3 messages in org.freebsd.freebsd-auditsetprogname
FromSent OnAttachments
Jacques A. VidrineAug 21, 2001 7:11 am 
Jacques A. VidrineAug 21, 2001 8:38 am 
Jordan HubbardAug 21, 2001 9:15 am 
Subject:setprogname
From:Jacques A. Vidrine (n@nectar.com)
Date:Aug 21, 2001 7:11:38 am
List:org.freebsd.freebsd-audit

Hello,

This needs to be fixed before 4.4-RELEASE. Heimdal is currently broken (daemon PID files are written in the wrong location). It has its own implementation of setprogname, but it is not used in 4-STABLE or 5-CURRENT since we now have an implementation. I only mailed Dima yesterday about it; I'm redirecting here so soon only due to the code freeze.

Index: setprogname.c =================================================================== RCS file: /home/ncvs/src/lib/libc/gen/setprogname.c,v retrieving revision 1.1 diff -u -r1.1 setprogname.c --- setprogname.c 2001/05/15 23:41:01 1.1 +++ setprogname.c 2001/08/21 14:07:27 @@ -8,6 +8,8 @@ void setprogname(const char *progname) { + char *p;

- __progname = progname; + p = strrchr('/', progname); + __progname = p ? p : progname; }

To Unsubscribe: send mail to majo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message