Changeset e0cd003 for src/common/common.cc
- Timestamp:
- 01/18/13 22:43:56 (12 years ago)
- Branches:
- master
- Children:
- b97a556
- Parents:
- 243d027
- git-author:
- Tomasz Obrebski <to@…> (01/18/13 22:43:56)
- git-committer:
- Tomasz Obrebski <to@…> (01/18/13 22:43:56)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/common/common.cc
rf4bf33e re0cd003 10 10 FILE* inputf=stdin; 11 11 FILE* outputf=stdout; 12 FILE* failedf=stdout;13 12 bool copy_processed=0; 14 13 bool one_field=false; … … 172 171 } 173 172 174 if(args->fail_given)175 if(!(failedf=fopen(args->fail_arg,"w")))176 {177 fprintf(stderr,"Cannot open the output file: %s.\n", args->fail_arg);178 exit(1);179 }180 181 173 if(args->input_field_given) 182 174 fieldprefix(args->input_field_arg[0],input_field_prefix);
Note: See TracChangeset
for help on using the changeset viewer.