Advertisement
Guest User

Untitled

a guest
Jan 31st, 2015
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.54 KB | None | 0 0
  1. Index: build_file.epp
  2. ===================================================================
  3. --- build_file.epp  (revision 60595)
  4. +++ build_file.epp  (working copy)
  5. @@ -119,7 +119,15 @@
  6.                 if (argv >= end_args)
  7.                     sw_bad = true;
  8.                 else
  9. +                {
  10.                     copy_terminate(db_file, *argv++, MAXPATHLEN);
  11. +
  12. +                    FILE *f = fopen(db_file, "rb");
  13. +                    if (!f)
  14. +                       exit(FINI_ERROR);
  15. +                    else
  16. +                        fclose(f);
  17. +                }
  18.                 break;
  19.  
  20.             case 'F':
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement