Skip site navigation (1)Skip section navigation (2)
Date:      24 Dec 1998 22:35:12 +0100
From:      Dag-Erling Smorgrav <des@flood.ping.uio.no>
To:        Steve Price <steve@FreeBSD.ORG>
Cc:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: src/usr.bin/w w.c
Message-ID:  <xzpr9tpxlyn.fsf@flood.ping.uio.no>
In-Reply-To: Steve Price's message of "Thu, 24 Dec 1998 10:20:59 -0800 (PST)"
References:  <199812241820.KAA03915@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Steve Price <steve@FreeBSD.ORG> writes:
> steve       1998/12/24 10:20:58 PST
> 
>   Modified files:
>     usr.bin/w            w.c 
>   Log:
>   Since argv is in scope, use argv[0] instead of __progname.

Is that correct? __progname is (AFAIK) guaranteed to always be the
base name (without the directory part) - at least now that it is fixed
for Elf programs - whereas argv[0] may or may not contain a directory
part.

DES
-- 
Dag-Erling Smorgrav - des@flood.ping.uio.no

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpr9tpxlyn.fsf>