Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 121989
Collapse All | Expand All

(-)rpl-1.4.0-clean/src/replace.h (-2 / +2 lines)
Lines 77-83 Link Here
77
77
78
/* This is a simple macro to call malloc() and die if it returns null */
78
/* This is a simple macro to call malloc() and die if it returns null */
79
#define MALLOC_FAIL_STRING   ("\n" PACKAGE " Unable to allocate memory!")
79
#define MALLOC_FAIL_STRING   ("\n" PACKAGE " Unable to allocate memory!")
80
#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);}
80
#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);}
81
	
81
	
82
82
83
/*  Function Prototypes */
83
/*  Function Prototypes */
Lines 90-93 Link Here
90
90
91
static void EchoFeedback(int, int, int, char*);
91
static void EchoFeedback(int, int, int, char*);
92
92
93
static void SetPerms(struct stat, int, int, char*, int* );
93
static void SetPerms(struct stat, int, int, char*, int* );

Return to bug 121989