cc343f8
Patch by Lubomir Rintel <lkundrak@v3.sk> for arj >= 3.10.22, which disables
cc343f8
the custom printf to avoid conflicting strnlen definition with the glibc
cc343f8
headers. By using custom printf (as in the past), we're completely loosing
cc343f8
all the _FORTIFY_SOURCE printf protections.
cc343f8
cc343f8
--- arj-3.10.22/fardata.c		2004-04-17 13:39:42.000000000 +0200
cc343f8
+++ arj-3.10.22/fardata.c.printf	2009-04-18 16:23:52.000000000 +0200
cc343f8
@@ -13,7 +13,6 @@
cc343f8
 /* ASR fix 02/05/2003: need that regardless of COLOR_OUTPUT to support -jp
cc343f8
    correctly */
cc343f8
 #if SFX_LEVEL>=ARJ
cc343f8
- #define CUSTOM_PRINTF
cc343f8
  #define CHUNK_SIZE               512    /* Size of the output block */
cc343f8
  #define CHUNK_THRESHOLD (CHUNK_SIZE-256) /* Safety bound */
cc343f8
 #endif