Paul Eggert
2d0c5eefd0
Sync from gnulib.
2005-09-22 06:05:39 +00:00
Jim Meyering
89abeac2b8
Don't check for fcntl.h anymore. Now we assume it exists and is usable.
2005-07-01 21:06:08 +00:00
Paul Eggert
42203a8afc
(gl_PREREQ_TEMPNAME): Check stdint.h only once.
...
Don't require AC_HEADER_STAT.
2005-04-29 05:36:52 +00:00
Paul Eggert
65ef46a51c
Use an all-permissive copyright notice, recommended by RMS.
2005-01-23 09:07:57 +00:00
Jim Meyering
be23469207
Remove `.tmp' suffix; mkstemp requires that XXXXXX be a suffix.
2005-01-03 18:01:22 +00:00
Jim Meyering
302b283180
(gl_FUNC_MKSTEMP): Don't `cd' into the temporary
...
subdirectory. That would make the subsequent AC_TRY_RUN macro fail,
for lack of the ./confdefs.h file. Instead, use the temporary
directory name as a prefix on the template string.
Include <unistd.h> for the declaration of close.
2005-01-03 17:26:28 +00:00
Jim Meyering
6f9ea4bd22
(gl_FUNC_MKSTEMP): Remove temporary directory right
...
away, rather than waiting for configure's at-exit trap code to do it.
Suggestion from Stepan Kasal.
2004-12-21 21:46:27 +00:00
Jim Meyering
71f15c4c41
adjust indentation
2004-12-21 21:43:36 +00:00
Jim Meyering
8d240b9d74
Do the `cd' in a subshell.
2004-12-20 16:39:24 +00:00
Jim Meyering
93e3e8be0b
Rather than using "conftestXXXXXX" as the mkstemp
...
template, use a temporary directory and an 8.3-friendly template
to avoid trouble on systems like DJGPP.
2004-12-20 15:31:47 +00:00
Jim Meyering
ae75db7d88
Change UTILS_ to gl_ in AC_DEFINE'd names.
...
Change utils_- and jm_-prefixed variables, too.
(gl_FUNC_MKSTEMP): Renamed from UTILS_FUNC_MKSTEP.
2004-04-20 09:19:52 +00:00
Jim Meyering
72002f81e3
Change jm_' in AC_DEFINE'd names to gl_'. Update all uses.
2004-04-13 15:28:45 +00:00
Jim Meyering
93810d912a
(jm_PREREQ_TEMPNAME): Do not require standard C headers.
2003-09-13 10:46:07 +00:00
Jim Meyering
19a897c05f
Require that the system mkstemp be able to create
...
70 temporary files, not just 30. Tru64 V4.0F's mkstemp function
would fail after 32. Reported by Danny Levinson. Details here:
http://mail.gnu.org/archive/html/bug-coreutils/2003-08/msg00124.html
2003-08-27 06:42:31 +00:00
Jim Meyering
69d741ae8e
Sync with gnulib.
2003-08-17 17:57:38 +00:00
Jim Meyering
5bbf05f92a
Normalize naming of Sun operating systems in comments, e.g., SunOS4 -> SunOS 4,
...
Solaris5.9 -> Solaris 9. From Paul Eggert.
2003-07-23 06:27:07 +00:00
Jim Meyering
52b883ffc0
update comment to reflect that SunOS4, solaris2.5.1 lose, too.
2001-11-20 10:37:24 +00:00
Jim Meyering
1b6f16a2d0
(UTILS_FUNC_MKSTEMP): Don't bother with a temporary
...
directory. Use "conftestXXXXXX" as the template.
Suggestion from Paul Eggert.
2001-11-19 10:00:00 +00:00
Jim Meyering
711933ad30
Close each descriptor immediately so the test
...
doesn't mistakenly hit the max-open-files limit.
2001-11-19 09:56:29 +00:00
Jim Meyering
6dc7d3dea2
(UTILS_FUNC_MKSTEMP): New file and macro.
...
Prompted by a report from Bob Proulx.
2001-11-17 08:54:26 +00:00