Lines Matching refs:backupName
109 char backupName[400];
116 strncpy(backupName, filename, 395);
117 strcat(backupName, ".t");
121 ALOGE("removing backup %s", backupName);
123 unlink(backupName);
127 ALOGE("rename %s to %s", filename, backupName);
129 rename(filename, backupName);
139 ALOGE("stating old file %s", backupName);
141 if (stat(backupName, &buf) == 0){
154 ALOGE("unlinking old file %s", backupName);
156 unlink(backupName);
165 rename(backupName, filename);