bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: glibc sysdeps/posix/tempname.c artificially limited to TMP_MAX


From: Ulrich Drepper
Subject: Re: glibc sysdeps/posix/tempname.c artificially limited to TMP_MAX
Date: 26 Nov 2001 17:19:10 -0800
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.5 (asparagus)

Paul Eggert <address@hidden> writes:

> But let's not leave the limit so absurdly low on non-glibc platforms.

The limit is not imposed by the code.  This is the fault of the broken
systems you are trying to support.  The correct way to handle this is
to fix these systems.

Beside, using your code is plainly wrong since it doesn't take TMP_MAX
into account.  You cannot simply define a maximum values and be done.
If this value is not at least as big as TMP_MAX you'll have to use
TMP_MAX.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]