Hi. With glibc 2.2 dev.15 reports the following after linking
the binary:
LYUtils.o: In function `LYOpenTemp':
LYUtils.o(.text+0x7b83): the use of `mktemp' is dangerous, better use `mkstemp'
BTW, I see that with glibc 2.2 you get a lot of warnings
building Lynx (I always use --enable-warnings) and some other
tools:
/usr/include/bits/string2.h: In function `__mempcpy_small' ->
warning: pointer of type `void *' used in arithmetic
/usr/include/bits/string2.h: In function `__strcpy_small' ->
warning: pointer of type `void *' used in arithmetic
I also don't know why the binary increased so much in size:
-rwxr-xr-x 1 root bin 970368 Oct 26 01:35 lynx
(dev.13 with glibc 2.1.3)
-rwxr-xr-x 1 root bin 1529476 Dec 22 20:18 lynx
Both were built with egcs 1.1.2, although glibc 2.2 was built
with gcc 2.95.2, as it's the minimum requirement. The warnings
appear with gcc 2.95.2 too. The only change was the addition of
--enable-color-style. make LDFLAGS=-s on both, no changes to
CFLAGS.
--
0@pervalidus.{net, {dyndns.}org} TelFax: 55-21-717-2399 (Niter�i-RJ BR)
; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to [EMAIL PROTECTED]
lynx-dev LYUtils and mktemp, and string2.h warnings (glibc 2.2)
Fr�d�ric L . W . Meunier Fri, 22 Dec 2000 17:56:34 -0800
- Re: lynx-dev LYUtils and mktemp, and string2.h wa... Fr�d�ric L . W . Meunier
- Re: lynx-dev LYUtils and mktemp, and string2... David Woolley
- Re: lynx-dev LYUtils and mktemp, and str... Duncan Simpson
- Re: lynx-dev LYUtils and mktemp, and string2... Fr�d�ric L . W . Meunier
- Re: lynx-dev LYUtils and mktemp, and str... Thomas Dickey
- Re: lynx-dev LYUtils and mktemp, and string2... Thomas Dickey
- Re: lynx-dev LYUtils and mktemp, and string2... pg
- Re: lynx-dev LYUtils and mktemp, and string2... Thomas Dickey
- Re: lynx-dev LYUtils and mktemp, and string2... pg
- Re: lynx-dev LYUtils and mktemp, and str... Thomas Dickey
