updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / rpl / rpl-1.4.0-gcc4.patch
blob6cfb8c62627df5f5604e1f27c39abe0ebdd37e8e
1 diff -Naur rpl-1.4.0-clean/src/replace.h rpl-1.4.0/src/replace.h
2 --- rpl-1.4.0-clean/src/replace.h 2002-07-24 10:41:45.000000000 -0500
3 +++ rpl-1.4.0/src/replace.h 2006-02-19 16:38:32.000000000 -0500
4 @@ -77,7 +77,7 @@
6 /* This is a simple macro to call malloc() and die if it returns null */
7 #define MALLOC_FAIL_STRING ("\n" PACKAGE " Unable to allocate memory!")
8 -#define MALLOC_AND_CHECK( x, y ) (void*)(x)=malloc((y));if(x==NULL){fprintf(stderr,"\n%s --> %s:%d\n", MALLOC_FAIL_STRING, __FILE__, __LINE__ );exit(EX_OSERR);}
9 +#define MALLOC_AND_CHECK( x, y ) (x)=malloc((y));if(x==NULL){fprintf(stderr,"\n%s --> %s:%d\n", MALLOC_FAIL_STRING, __FILE__, __LINE__ );exit(EX_OSERR);}
12 /* Function Prototypes */
13 @@ -90,4 +90,4 @@
15 static void EchoFeedback(int, int, int, char*);
17 -static void SetPerms(struct stat, int, int, char*, int* );
18 \ No newline at end of file
19 +static void SetPerms(struct stat, int, int, char*, int* );