Lines Matching refs:vers_ts
48 Vers_TS *vers_ts; in Version_TS() local
55 vers_ts = xmalloc (sizeof (Vers_TS)); in Version_TS()
56 memset (vers_ts, 0, sizeof (*vers_ts)); in Version_TS()
91 vers_ts->entdata = entdata; in Version_TS()
103 vers_ts->vn_user = xstrdup (entdata->version); in Version_TS()
104 vers_ts->ts_rcs = xstrdup (entdata->timestamp); in Version_TS()
105 vers_ts->ts_conflict = xstrdup (entdata->conflict); in Version_TS()
108 vers_ts->tag = xstrdup (entdata->tag); in Version_TS()
109 vers_ts->date = xstrdup (entdata->date); in Version_TS()
111 vers_ts->entdata = entdata; in Version_TS()
119 vers_ts->options = xstrdup (entdata->options); in Version_TS()
137 if (vers_ts->options != NULL) in Version_TS()
138 free (vers_ts->options); in Version_TS()
140 vers_ts->options = xstrdup ("-kb"); in Version_TS()
142 vers_ts->options = xstrdup (options); in Version_TS()
144 else if ((!vers_ts->options || *vers_ts->options == '\0') in Version_TS()
151 if (vers_ts->options != NULL) in Version_TS()
152 free (vers_ts->options); in Version_TS()
153 vers_ts->options = xmalloc (strlen (rcsexpand) + 3); in Version_TS()
154 strcpy (vers_ts->options, "-k"); in Version_TS()
155 strcat (vers_ts->options, rcsexpand); in Version_TS()
157 if (!vers_ts->options) in Version_TS()
158 vers_ts->options = xstrdup (""); in Version_TS()
166 vers_ts->tag = xstrdup (tag); in Version_TS()
167 vers_ts->date = xstrdup (date); in Version_TS()
169 else if (!vers_ts->entdata && (sdtp && sdtp->aflag == 0)) in Version_TS()
171 if (!vers_ts->tag) in Version_TS()
173 vers_ts->tag = xstrdup (sdtp->tag); in Version_TS()
174 vers_ts->nonbranch = sdtp->nonbranch; in Version_TS()
176 if (!vers_ts->date) in Version_TS()
177 vers_ts->date = xstrdup (sdtp->date); in Version_TS()
194 vers_ts->srcfile = rcsdata; in Version_TS()
196 if (vers_ts->tag && strcmp (vers_ts->tag, TAG_BASE) == 0) in Version_TS()
198 vers_ts->vn_rcs = xstrdup (vers_ts->vn_user); in Version_TS()
199 vers_ts->vn_tag = xstrdup (vers_ts->vn_user); in Version_TS()
205 vers_ts->vn_rcs = RCS_getversion (rcsdata, vers_ts->tag, in Version_TS()
206 vers_ts->date, force_tag_match, in Version_TS()
208 if (vers_ts->vn_rcs == NULL) in Version_TS()
209 vers_ts->vn_tag = NULL; in Version_TS()
211 vers_ts->vn_tag = xstrdup (vers_ts->tag); in Version_TS()
213 vers_ts->vn_tag = xstrdup (vers_ts->vn_rcs); in Version_TS()
221 if (set_time && vers_ts->vn_rcs != NULL) in Version_TS()
225 server_modtime (finfo, vers_ts); in Version_TS()
232 t.modtime = RCS_getrevtime (rcsdata, vers_ts->vn_rcs, 0, 0); in Version_TS()
270 time_stamp_server (finfo->file, vers_ts, entdata); in Version_TS()
273 vers_ts->ts_user = time_stamp (finfo->file); in Version_TS()
276 return (vers_ts); in Version_TS()
290 time_stamp_server (const char *file, Vers_TS *vers_ts, Entnode *entdata) in time_stamp_server() argument
315 mark_lost (vers_ts); in time_stamp_server()
319 mark_unchanged (vers_ts); in time_stamp_server()
324 vers_ts->ts_user = xstrdup (""); in time_stamp_server()
325 vers_ts->ts_conflict = xstrdup (""); in time_stamp_server()
331 vers_ts->ts_user = xstrdup ("Is-modified"); in time_stamp_server()
333 mark_lost (vers_ts); in time_stamp_server()
344 vers_ts->ts_user = xmalloc (25); in time_stamp_server()
357 (void) strcpy (vers_ts->ts_user, cp); in time_stamp_server()