Fix how 'touch' opens files.

This commit is contained in:
Kevin Lange 2013-04-24 00:20:07 -07:00
parent 16da56ea9b
commit 9f7fa061ea

View File

@ -13,7 +13,7 @@ int main(int argc, char * argv[]) {
return 1;
}
FILE * f = fopen(argv[1], "w");
FILE * f = fopen(argv[1], "a");
fclose(f);
return 0;