clean some dirt

This commit is contained in:
tth 2019-09-10 15:39:33 +02:00
parent 3a141c5a17
commit dc641499cb
2 changed files with 4 additions and 4 deletions

View File

@ -26,8 +26,8 @@ fimg2pnm: fimg2pnm.c $(DEPS)
fimg2png: fimg2png.c $(DEPS) fimg2png: fimg2png.c $(DEPS)
gcc $(COPT) $< ../libfloatimg.a -o $@ gcc $(COPT) $< ../libfloatimg.a -o $@
# addtga2fimg: addtga2fimg.c $(DEPS) addtga2fimg: addtga2fimg.c $(DEPS)
# gcc $(COPT) $< ../libfloatimg.a -limageSO -lm -o $@ gcc $(COPT) $< ../libfloatimg.a -limageSO -lm -o $@
addpnm2fimg: addpnm2fimg.c $(DEPS) addpnm2fimg: addpnm2fimg.c $(DEPS)
gcc $(COPT) $< ../libfloatimg.a -lm -o $@ gcc $(COPT) $< ../libfloatimg.a -lm -o $@

View File

@ -67,8 +67,8 @@ if (foo) {
exit(1); exit(1);
} }
if ( 0==access(argv[2], R_OK|W_OK) ) { /* fimg is readable */ if ( 0==access(argv[2], R_OK) ) { /* fimg is readable */
// fprintf(stderr, "%s exist\n", argv[2]); fprintf(stderr, "%s is ok.\n", argv[2]);
} }
else { else {
fprintf(stderr, "*** must create '%s' %dx%d first !!!\n", fprintf(stderr, "*** must create '%s' %dx%d first !!!\n",