bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gnumach and strpbrk


From: Marcus Brinkmann
Subject: gnumach and strpbrk
Date: Tue, 18 Sep 2001 21:09:23 +0200
User-agent: Mutt/1.3.20i

Hi,

the function strsep is now used by the gnumach bootstrap code.

The strsep implementation in glibc uses strpbrk to find the delimiters.
This function is also defined in the linux glue code (linux/dev/glue/misc.c)
if HAVE_ARCH_STRPBRK is not defined.  But of course, the construction of
clib-routines.o doesn't take other defined symbols of kernel.o into account.

I suggest to add strpbrk to the allowed symbols to be taken from glibc, and
remove the strpbrk definition in the glue code.  Thinking about it, we
should probably remove the strstr, strspn, strtok from the glue code as
well, and just take them from glibc.

Thanks,
Marcus

-- 
`Rhubarb is no Egyptian god.' Debian http://www.debian.org brinkmd@debian.org
Marcus Brinkmann              GNU    http://www.gnu.org    marcus@gnu.org
Marcus.Brinkmann@ruhr-uni-bochum.de
http://www.marcus-brinkmann.de



reply via email to

[Prev in Thread] Current Thread [Next in Thread]