From mboxrd@z Thu Jan 1 00:00:00 1970 From: "H. Peter Anvin" Date: Sat, 18 Sep 2004 00:31:17 +0000 Subject: Re: [klibc] latest klibc for udev Message-Id: <414B81D5.6020007@zytor.com> List-Id: References: <20040917191134.GA28506@vrfy.org> In-Reply-To: <20040917191134.GA28506@vrfy.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Kay Sievers wrote: > This patch make it possible to run udev with the latest klibc. > > One patch for the udev/Makefile to match the moved include/ dir. Another > one for klibc's string fuctions, that are causing segfaults: > > strncpy.c: the while() gets n = -1 and memset() dies > strncat.c: cat's only strlen(dest) count of chars from src to dest > Thanks. The definition of these functions is pretty bizarre; hence I added strlcpy() and strlcat() as well. -hpa ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel