[Type] // Commit Type: Feature / Bugfix / Enhancement
[Module] // Module Name - (Main / Sub)
[Priority]
[CQ#]
[Redmine#]
[Problem]
[Cause]
[Solution]
[TestCase]
strcat(logfile, "logs/emulator.log");
if(access(logfile, F_OK | R_OK) == 0)
- {
- if(remove(logfile) == 0)
- fprintf(stdout, "origianl (%s) is removed\n", logfile);
- }
-
-
-
+ remove(logfile) == 0
}
/* allocate some tmp string space */
strcat(logfile, "/vtm.log");
if(access(logfile, F_OK | R_OK) == 0)
- {
- if(remove(logfile) == 0)
- fprintf(stdout, "origianl (%s) is removed\n", logfile);
- }
+ remove(logfile) == 0
}
/* allocate some tmp string space */