[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Groff] Re: mkstemp
From: |
John David Anglin |
Subject: |
[Groff] Re: mkstemp |
Date: |
Thu, 9 Aug 2001 22:56:00 -0400 (EDT) |
> I've finally added a mkstemp routine to groff. Please test.
I am back at it after fixing a g++ problem. With todays CVS source:
g++ -I. -I/xxx/gnu/groff-1.17.3/src/libs/libgroff
-I/xxx/gnu/groff-1.17.3/objdir/src/include -I/xxx/gnu/groff-1.17.3/src/include
-DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1
-DHAVE_SYS_DIR_H=1 -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DHAVE_MATH_H=1
-DHAVE_SYS_TIME_H=1 -DRET_TYPE_SRAND_IS_VOID=1 -DNEED_DECLARATION_STRNCASECMP=1
-DHAVE_CC_LIMITS_H=1 -Duintmax_t=unsigned\ long\ long -DRETSIGTYPE=void
-DHAVE_STRUCT_EXCEPTION=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1
-DHAVE_GETPAGESIZE=1 -DHAVE_FMOD=1 -DHAVE_STRTOL=1 -DHAVE_GETCWD=1
-DHAVE_STRERROR=1 -DHAVE_PUTENV=1 -DHAVE_RENAME=1 -DHAVE_STRCASECMP=1
-DHAVE_STRNCASECMP=1 -DHAVE_GETTIMEOFDAY=1 -DWCOREFLAG=0200 -O2 -c
/xxx/gnu/groff-1.17.3/src/libs/libgroff/tmpfile.cc
/xxx/gnu/groff-1.17.3/src/libs/libgroff/tmpfile.cc: In function `FILE*
xtmpfile(char**, const char*, const char*, int)':
/xxx/gnu/groff-1.17.3/src/libs/libgroff/tmpfile.cc:159: `mkstemp' undeclared
(first use this function)
/xxx/gnu/groff-1.17.3/src/libs/libgroff/tmpfile.cc:159: (Each undeclared
identifier is reported only once for each function it appears in.)
Besides this, I know there are problems with the declaration of
strcasecmp. Ultrix doesn't provide a declaration for strcasecmp.
It also doesn't provide one for strncasecmp.
Dave
--
J. David Anglin address@hidden
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)
- [Groff] Re: mkstemp,
John David Anglin <=