--- xchat-2.4.1.orig/plugins/python/python.c 2004-10-18 14:12:21.000000000 =
   +0200
   +++ xchat-2.4.1/plugins/python/python.c      2005-02-07 22:30:40.000000000 
+0100
   @@ -327,12 +327,18 @@ Util_BuildList(char *word[])
    static void
    Util_Autoload()
    {
   -    char oldcwd[PATH_MAX];
   +    #ifdef _GNU_SOURCE

This is just so wrong and leads to broken programs, instead of
depending on _GNU_SOURCE to be defined, check if
get_current_dir_name() exists on the system in configure.in, and do:

#ifdef HAVE_GET_CURRENT_DIR_NAME
  char ...
#endif

Obviously, I'm assuming that xchat uses autoconf here. :-)


_______________________________________________
Help-hurd mailing list
Help-hurd@gnu.org
http://lists.gnu.org/mailman/listinfo/help-hurd

Reply via email to