Lines Matching refs:tsname
1124 filediff(char *tsname, char *sname)
1131 if (stat(tsname, &sbuf) != 0)
1146 fd = open(tsname, O_RDONLY);
1183 char *tsname = NULL;
1202 if (meta_systemfile_copy(sname, 0, 1, 1, 0, &tsname, &tsfp, ep) != 0) {
1215 if (meta_systemfile_append_mddb(cname, sname, tsname, tsfp, 1, 0, 0,
1220 if (filediff(tsname, sname) == 0) {
1227 (void) mdsyserror(ep, errno, tsname);
1237 if (rename(tsname, sname) != 0 && errno != EXDEV) {
1243 if ((tsfp = fopen(tsname, "r")) == NULL)
1263 Free(tsname);
1264 tsname = NULL;
1271 if (tsname != NULL) {
1272 (void) unlink(tsname);
1273 Free(tsname);