* tempname.c (small_open, large_open): New macros.
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 25 May 2006 21:55:35 +0000 (21:55 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 25 May 2006 21:55:35 +0000 (21:55 +0000)
commit20a2d46057d80547364c06ae27c07b96f74016ff
treeaf203e8635b17b29527da5cc402f6aebd4b168c9
parentc4e9bf465717088daabf2636a56725c6c53ed461
* tempname.c (small_open, large_open): New macros.
(__open, __open64) [!_LIBC]: Remove.
(__gen_tempname): Use small_open and large_open instead of __open
and __open64.  This fixes a portability bug on HP-UX 11.11i
reported by Simon Wing-Tang in
<http://lists.gnu.org/archive/html/bug-coreutils/2006-05/msg00114.html>.
lib/ChangeLog
lib/tempname.c