[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev LYUtils and mktemp, and string2.h warnings (glibc 2.2)
From: |
Thomas Dickey |
Subject: |
Re: lynx-dev LYUtils and mktemp, and string2.h warnings (glibc 2.2) |
Date: |
Sun, 24 Dec 2000 12:15:38 -0500 |
User-agent: |
Mutt/1.2.5i |
On Sun, Dec 24, 2000 at 08:22:18AM -0700, address@hidden wrote:
> I tested on both OS/390 and Solaris. mkstemp() creates files with mode 600.
> tmpfile() deletes the file when it's closed (on Solaris by unlinking the
> file before tmpfile() returns; on OS/390 by making a memorandum and
> deleting it later.) This behavior is ideal for some purposes; a problem
> for others. mkstemp() leaves it to the programmer to delete the file.
tmpfile() is hard for us to use because Lynx reuses filenames (also,
since it does use the filenames - ultimately the reason I stuffed that
all into a temporary directory for 2.8.3).
--
Thomas E. Dickey <address@hidden>
http://dickey.his.com
ftp://dickey.his.com
; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden