/programs/system/shell/cmd/cmd_touch.c |
---|
2,7 → 2,7 |
int cmd_touch(char file[]) |
{ |
kol_struct70 k70; |
char temp[FILENAME_MAX]; |
char* temp = (char*) malloc(FILENAME_MAX); |
unsigned result; |
if (NULL == file || strlen(file) == 0) { |
43,6 → 43,8 |
result = kol_file_70(&k70); |
free(temp); |
if (0 == result) |
return TRUE; |
else |