SOURCES: links-segv.patch (NEW) - include basename() prototype to ...
Jakub Bogusz
qboosh w pld-linux.org
Wto, 10 Maj 2005, 10:09:51 CEST
On Tue, May 10, 2005 at 01:56:14AM +0200, pluto wrote:
> Author: pluto Date: Mon May 9 23:56:12 2005 GMT
> Module: SOURCES Tag: HEAD
> ---- Log message:
> - include basename() prototype to avoid implict int -> char* casting
> on x86-64 archs (finally sigsegv).
>
> ---- Files affected:
> SOURCES:
> links-segv.patch (NONE -> 1.1) (NEW)
>
> ---- Diffs:
>
> ================================================================
> Index: SOURCES/links-segv.patch
> diff -u /dev/null SOURCES/links-segv.patch:1.1
> --- /dev/null Tue May 10 01:56:12 2005
> +++ SOURCES/links-segv.patch Tue May 10 01:56:07 2005
> @@ -0,0 +1,10 @@
> +--- links-2.1pre17/links.h.orig 2005-05-10 01:52:48.000000000 +0200
> ++++ links-2.1pre17/links.h 2005-05-10 01:53:23.000000000 +0200
> +@@ -38,6 +38,7 @@
> +
> + #include "cfg.h"
> + #include "os_dep.h"
> ++#include <libgen.h>
> + #include <stdio.h>
> + #include <stdlib.h>
> + #include <stdarg.h>
A nie <string.h>?
<libgen.h> udostępnia inną implementację.
--
Jakub Bogusz http://qboosh.cs.net.pl/
Więcej informacji o liście dyskusyjnej pld-devel-pl