fprintf(stderr, "SARG: (report) directory entry too long: %s/%s\n",tmp,direntp->d_name);
exit(1);
}
- if((fp_in=fopen(tmp3,"r"))==NULL){
+ if((fp_in=MY_FOPEN(tmp3,"r"))==NULL){
fprintf(stderr, "SARG: (report) %s: %s\n",text[45],tmp);
exit(1);
}
strcat(wdirname,oldaccuser);
strcat(wdirname,".utmp");
- if((fp_ou=fopen(wdirname,"a"))==NULL){
+ if((fp_ou=MY_FOPEN(wdirname,"a"))==NULL){
fprintf(stderr, "SARG: (report) %s: %s\n",text[45],wdirname);
exit(1);
}
strcat(wdirname,user);
strcat(wdirname,".htmp");
- if((fp_ou=fopen(wdirname,"a"))==NULL){
+ if((fp_ou=MY_FOPEN(wdirname,"a"))==NULL){
fprintf(stderr, "SARG: (report-2) %s: %s - %s\n",text[45],wdirname,strerror(errno));
exit(1);
}
strcat(wdirname,user);
strcat(wdirname,".ip");
- if((fp_ou=fopen(wdirname,"a"))==NULL){
+ if((fp_ou=MY_FOPEN(wdirname,"a"))==NULL){
fprintf(stderr, "SARG: (report) %s: %s\n",text[45],wdirname);
exit(1);
}
strcat(wdirname,oldaccuser);
strcat(wdirname,".utmp");
- if((fp_ou=fopen(wdirname,"a"))==NULL){
+ if((fp_ou=MY_FOPEN(wdirname,"a"))==NULL){
fprintf(stderr, "SARG: (report) %s: %s\n",text[45],wdirname);
exit(1);
}
strcat(dirname,"/");
strcat(dirname,"sarg-general");
- if((fp_ou=fopen(dirname,"a"))==NULL){
+ if((fp_ou=MY_FOPEN(dirname,"a"))==NULL){
fprintf(stderr, "SARG: (report) %s: %s\n",text[45],dirname);
exit(1);
}
sprintf(wdirname,"%s/smartfilter.unsort",dirname);
- if((fp_ou=fopen(wdirname,"a"))==NULL){
+ if((fp_ou=MY_FOPEN(wdirname,"a"))==NULL){
fprintf(stderr, "SARG: (report) %s: %s\n",text[45],wdirname);
exit(1);
}