This is the mail archive of the libc-alpha@cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Unprotected extern inline function __cmsg_nxthdr


>Submitter-Id:	net
>Originator:	Horst von Brand
>Organization:
  Horst von Brand                             vonbrand@sleipnir.valparaiso.cl
  Casilla 9G, Viņa del Mar, Chile                               +56 32 672616
>
>Confidential:	no
>Synopsis:	__cmsg_nxthdr is defined in /usr/include/bits/socket.h
>Severity:	non-critical
>Priority:	medium
>Category:	libc
>Class:		sw-bug
>Release:	libc-2.0.96
>Environment:
	
Host type: i586-redhat-linux-gnu
System: Linux sleipnir 2.1.123 #8 Mon Sep 28 06:28:59 CLT 1998 i586 unknown
Architecture: i586

Addons: crypt linuxthreads
Build CFLAGS: -Vegcs-2.91.57 -O2 -march=pentium
Build CC: gcc
Compiler version: egcs-2.91.57 19980901 (egcs-1.1 release)
Kernel headers: 2.1.123
Symbol versioning: yes
Build static: yes
Build shared: yes
Build pic-default: no
Build profile: yes
Build omitfp: yes
Build bounded: no
Build static-nss: no
Stdio: libio

>Description:
	The inline function __cmsg_nxthdr() defined in
        /usr/include/bits/socket.h is visible for non-gcc compilers.
	Without it, I assume <socket.h> won't work.
>How-To-Repeat:
	I was checking out lcc-4.1 on a file that #includes <sys/socket.h>
	lcc is a simple ANSI C compiler available as source from
	http://www.cs.princeton.edu/software/lcc/
>Fix:
	Don't use non-gcc compilers on Linux :(


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]