From owner-cvs-all Sat Dec 11 6:48:29 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id C5CAC15000; Sat, 11 Dec 1999 06:48:26 -0800 (PST) (envelope-from peter@FreeBSD.org) Received: (from peter@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id GAA61371; Sat, 11 Dec 1999 06:48:26 -0800 (PST) (envelope-from peter@FreeBSD.org) Message-Id: <199912111448.GAA61371@freefall.freebsd.org> From: Peter Wemm Date: Sat, 11 Dec 1999 06:48:26 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/stdio mktemp.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk peter 1999/12/11 06:48:26 PST Modified files: lib/libc/stdio mktemp.c Log: While comparing this with OpenBSD (ie: trying to figure out what mkstemps() is good for... :-)), I discovered that part of the change when mkstemps() was brought in was missed - it was missing the termination case to make sure it doesn't walk into the suffix. This isn't the same code OpenBSD has, I think this is a little better as we terminate the loop in a better spot. Revision Changes Path 1.17 +3 -3 src/lib/libc/stdio/mktemp.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message