Lines Matching refs:workfile

3982 RCS_checkout (rcs, workfile, rev, nametag, options, sout, pfn, callerdat)  in RCS_checkout()  argument
3984 char *workfile;
4027 : (workfile != NULL
4028 ? workfile
4034 if (noexec && workfile != NULL)
4037 assert (sout == RUN_TTY || workfile == NULL);
4038 assert (pfn == NULL || (sout == RUN_TTY && workfile == NULL));
4173 if (pfn != NULL || (workfile == NULL && sout == RUN_TTY))
4176 if (workfile == NULL)
4179 dest = workfile;
4206 if (workfile != NULL)
4238 if (link (uptodate_link->key, workfile) < 0)
4240 workfile, uptodate_link->key);
4278 workfile, vers->version, info->data);
4286 workfile, info->data);
4345 dest = workfile;
4364 workfile);
4371 if (workfile == NULL)
4391 if (islink (workfile))
4392 if (unlink_file (workfile) < 0)
4393 error (1, errno, "cannot remove %s", workfile);
4395 ofp = CVS_FOPEN (workfile, expand == KFLAG_B ? "wb" : "w");
4400 && isfile (workfile) && !iswritable (workfile))
4402 xchmod (workfile, 1);
4403 ofp = CVS_FOPEN (workfile, expand == KFLAG_B ? "wb" : "w");
4408 error (0, errno, "cannot open %s", workfile);
4415 if (workfile == NULL && sout == RUN_TTY)
4446 (workfile != NULL
4447 ? workfile
4464 if (workfile != NULL)
4471 error (0, errno, "cannot close %s", workfile);
4477 if (chown (workfile, rcs_owner, rcs_group) < 0)
4479 workfile);
4482 ret = chmod (workfile,
4489 error (0, errno, "cannot close %s", workfile);
4493 ret = chmod (workfile,
4499 workfile);
4518 if (preserve_perms && workfile != NULL)
4519 update_hardlink_info (workfile);
4833 RCS_checkin (rcs, workfile, message, rev, flags) in RCS_checkin() argument
4835 char *workfile;
4864 if (workfile == NULL)
4868 workfile = xstrdup (last_component (rcs->path));
4869 p = workfile + (strlen (workfile) - extlen);
4886 cvs_output (workfile, 0);
4897 if (stat (workfile, &ws) < 0)
4899 error (1, errno, "cannot stat %s", workfile);
4938 if (CVS_LSTAT (workfile, &sb) < 0)
4939 error (1, 1, "cannot lstat %s", workfile);
4946 np->data = xreadlink (workfile);
4991 workfile);
4996 error (0, 0, "special file %s has unknown type", workfile);
5000 delta->hardlinks = list_linked_files_on_disk (workfile);
5050 get_file (workfile, workfile,
5076 if (unlink_file (workfile) < 0)
5078 error (0, errno, "cannot remove %s", workfile);
5300 get_file (workfile, workfile,
5309 switch (diff_exec (workfile, tmpfile, NULL, NULL, diffopts, changefile))
5316 error (1, errno, "error diffing %s", workfile);
5320 error (1, 0, "error diffing %s", workfile);
5357 switch (diff_exec (tmpfile, workfile, NULL, NULL, diffopts, changefile))
5364 error (1, errno, "error diffing %s", workfile);
5368 error (1, 0, "error diffing %s", workfile);
5431 if (unlink_file (workfile) < 0)
5433 error (1, errno, "cannot remove %s", workfile);
5447 free (workfile);
5905 char *repos, *workfile; local
5907 workfile = strrchr (repos, '/');
5908 *workfile++ = '\0';
5909 notify_do ('C', workfile, user, NULL, NULL, repos);