# HG changeset patch # User J. Ali Harlow # Date 1231437004 0 # Node ID 47f3e27cb978bcdfc0fc4a9689b621a7ba21f4af # Parent c89695ed29f042b0b3162d112efeacdad075f41f Provide a program_name global variable as required by gnulib to avoid the need for all programs that use librazor to do so. diff -r c89695ed29f0 -r 47f3e27cb978 librazor/util.c --- a/librazor/util.c Thu Jan 08 17:36:50 2009 +0000 +++ b/librazor/util.c Thu Jan 08 17:50:04 2009 +0000 @@ -39,6 +39,9 @@ #define O_BINARY 0 #endif +/* Required by gnulib on non-libc platforms */ +char *program_name = "librazor"; + int razor_create_dir(const char *root, const char *path) {