Skip site navigation (1)Skip section navigation (2)
Date:      04 Jan 2001 14:28:02 +0100
From:      Dag-Erling Smorgrav <des@ofug.org>
To:        Paul Richards <paul@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/usr.sbin/pkg_install/update pkg_update.pl
Message-ID:  <xzp8zorla59.fsf@flood.ping.uio.no>
In-Reply-To: Paul Richards's message of "Fri, 29 Dec 2000 16:14:01 -0800 (PST)"
References:  <200012300014.eBU0E1238805@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Paul Richards <paul@FreeBSD.org> writes:
>   Log:
>   Change open modes from ">$file" to "> $file" because it's much safer should
>   $file not be what you expect, particularly should $file turn out to be
>   "+REQUIRES" since ">+" is a valid open mode.

This would not be a problem if you used sysopen() instead of open().

DES
-- 
Dag-Erling Smorgrav - des@ofug.org


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?xzp8zorla59.fsf>