On Tue, May 21, 2002 at 02:16:07PM -0600, [EMAIL PROTECTED] wrote: > In a recent note, Thomas Dickey said: > > > Date: Tue, 21 May 2002 16:06:12 -0400 > > > > > > And another bug, present in 2.8.5dev.7, not in 2.8.4rel.1: > > > Downloading seems to be broken. It does not save the right file, but > > > rather the contents of the download page, like this: > > > > The bug is the way I'm using mkstemp - quick fix: edit lynx_cfg.h to > > say that it is not found. (As you might expect, the bug does not appear > > on the platforms where I'm using lynx). > > > FWIW, I submitted such a quick fix in: > > Linkname: lynx-dev Re: Lynx for OS-X [PATCH] (rework) > URL: http://www.flora.org/lynx-dev/html/month042002/msg00092.html
yes, I recall that. Oddly, I was able to run the same executable on Solaris 8 that failed on Solaris 2.5.1 (I compiled it on the latter). My guess is that the mkstemp function was improved to always increment its next-filename counter. (And I'd taken it for granted that a tempnam clone would not try to generate the same name over and over). Given that, I don't think I can write a usable configure test for mkstemp, so I'll simply remove it. (It's redundant given the temporary-directory permissions, and I only turned it on to quiet those linker warnings ;-) -- Thomas E. Dickey <[EMAIL PROTECTED]> http://invisible-island.net ftp://invisible-island.net ; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to [EMAIL PROTECTED]
