11 Aug
2015
11 Aug
'15
3:25 p.m.
Unlinking is unecessary as the old file will be overwritten with the new as intended.
Signed-off-by: Liam Girdwood liam.r.girdwood@linux.intel.com --- src/topology/parser.c | 3 --- 1 file changed, 3 deletions(-)
diff --git a/src/topology/parser.c b/src/topology/parser.c index ed25bb8..5544517 100644 --- a/src/topology/parser.c +++ b/src/topology/parser.c @@ -266,9 +266,6 @@ int snd_tplg_build_file(snd_tplg_t *tplg, const char *infile, snd_config_t *cfg = NULL; int err = 0;
- /* delete any old output files */ - unlink(outfile); - tplg->out_fd = open(outfile, O_RDWR | O_CREAT, S_IRWXU | S_IRWXG | S_IRWXO); if (tplg->out_fd < 0) {
--
2.1.4