head 1.2; access; symbols; locks; strict; comment @# @; 1.2 date 2008.05.08.17.37.47; author rse; state dead; branches; next 1.1; commitid IcR5Ho1ojgXkCb2t; 1.1 date 2008.03.18.20.52.08; author rse; state Exp; branches; next ; commitid GnxCkVqtsI1EkEVs; desc @@ 1.2 log @upgrading package: ffe 0.2.5 -> 0.2.6 @ text @Index: src/parserc.c --- src/parserc.c.orig 2008-03-17 19:51:28 +0100 +++ src/parserc.c 2008-03-18 21:48:11 +0100 @@@@ -298,7 +298,7 @@@@ #else panic("Command substitution is not supported in this system",NULL,NULL); #endif -#ifdef HAVE_SETMODE +#if defined(HAVE_SETMODE) && defined(O_TEXT) setmode(fileno(ret),O_TEXT); #endif return ret; Index: src/xmalloc.c --- src/xmalloc.c.orig 2008-03-10 18:46:36 +0100 +++ src/xmalloc.c 2008-03-18 21:47:56 +0100 @@@@ -59,7 +59,7 @@@@ FILE *ret = fopen(name,mode); if(ret == NULL) panic("Error in opening file",name,strerror(errno)); -#ifdef HAVE_SETMODE +#if defined(HAVE_SETMODE) && defined(O_TEXT) setmode(fileno(ret),O_TEXT); #endif return ret; @ 1.1 log @upgrading package: ffe 0.2.4 -> 0.2.5 @ text @@