]> git.pld-linux.org Git - packages/grep.git/blob - grep-strerror.patch
- this patch breaks grep:
[packages/grep.git] / grep-strerror.patch
1 --- grep-2.5.3/lib/error.c.orig 2007-06-28 20:57:18.000000000 +0200
2 +++ grep-2.5.3/lib/error.c      2007-08-28 19:41:36.200139404 +0200
3 @@ -249,7 +249,7 @@
4      {
5  #if defined HAVE_STRERROR_R || _LIBC
6        char errbuf[1024];
7 -# if HAVE_WORKING_STRERROR_R || _LIBC
8 +# if STRERROR_R_CHAR_P || _LIBC
9        fprintf (stderr, ": %s", __strerror_r (errnum, errbuf, sizeof errbuf));
10  # else
11        /* Don't use __strerror_r's return value because on some systems
This page took 0.053462 seconds and 3 git commands to generate.