Lines Matching refs:histname
232 register char *histname;
240 if(!(histname = nv_getval(HISTFILE)))
248 histname = stakptr(offset);
256 if(strcmp(histname,hp->histname)==0)
263 cp = path_relative(shp,histname);
323 hp->histname = strdup(histname);
374 sh_timeradd(1000L*(HIST_RECENT-30), 1, hist_touch, (void*)hp->histname);
466 unlink(hist_old->histname);
467 if(access(hist_old->histname,F_OK) >= 0)
471 char *last, *name=hist_old->histname;
729 int fd = open(hp->histname,O_RDWR);
1195 if((newfd=open(hp->histname,O_BINARY|O_APPEND|O_CREAT|O_RDWR,S_IRUSR|S_IWUSR)) >= 0)
1214 errormsg(SH_DICT,2,"History file write error-%d %s: file unrecoverable",errno,hp->histname);