| /openbsd-src/usr.bin/cvs/ |
| H A D | init.c | 91 cvs_client_send_request("init %s", current_cvsroot->cr_dir); in cvs_init() 109 init_mkdir(current_cvsroot->cr_dir, 0777); in cvs_init_local() 113 current_cvsroot->cr_dir, cvsroot_dirs[i]); in cvs_init_local() 120 current_cvsroot->cr_dir, cvsroot_files[i].cf_path); in cvs_init_local()
|
| H A D | root.c | 211 if (current_cvsroot == NULL) in cvsroot_is_local() 214 return (current_cvsroot->cr_method == CVS_METHOD_LOCAL); in cvsroot_is_local() 220 if (current_cvsroot == NULL) in cvsroot_is_remote() 223 return (current_cvsroot->cr_method != CVS_METHOD_LOCAL); in cvsroot_is_remote()
|
| H A D | version.c | 38 if (current_cvsroot != NULL && cvsroot_is_remote()) in cvs_version() 43 if (current_cvsroot != NULL && cvsroot_is_remote()) { in cvs_version()
|
| H A D | cvs.c | 69 struct cvsroot *current_cvsroot = NULL; variable 293 if ((current_cvsroot = cvsroot_get(".")) == NULL) { in main() 306 current_cvsroot->cr_dir, CVS_PATH_ROOT); in main() 311 current_cvsroot->cr_dir); in main() 313 fatal("%s: %s", current_cvsroot->cr_dir, in main() 318 current_cvsroot->cr_dir); in main()
|
| H A D | server.c | 171 if (current_cvsroot != NULL) in cvs_server_root() 174 if (data[0] != '/' || (current_cvsroot = cvsroot_get(data)) == NULL) in cvs_server_root() 329 if (current_cvsroot == NULL) in cvs_server_directory() 335 if (strlen(dir) < strlen(current_cvsroot->cr_dir)) in cvs_server_directory() 338 repo = dir + strlen(current_cvsroot->cr_dir); in cvs_server_directory() 657 if (current_cvsroot != NULL) in cvs_server_init() 660 if ((current_cvsroot = cvsroot_get(data)) == NULL) in cvs_server_init() 720 if (chdir(current_cvsroot->cr_dir) == -1) in cvs_server_rlog() 744 if (chdir(current_cvsroot->cr_dir) == -1) in cvs_server_rtag()
|
| H A D | client.c | 166 p = repository + strlen(current_cvsroot->cr_dir) + 1; in client_check_directory() 211 switch (current_cvsroot->cr_method) { in cvs_client_connect_to_server() 244 if (current_cvsroot->cr_user != NULL) { in cvs_client_connect_to_server() 246 argv[argc++] = current_cvsroot->cr_user; in cvs_client_connect_to_server() 250 argv[argc++] = current_cvsroot->cr_host; in cvs_client_connect_to_server() 256 current_cvsroot->cr_host); in cvs_client_connect_to_server() 267 if ((current_cvsroot->cr_srvin = fdopen(ifd[1], "w")) == NULL) in cvs_client_connect_to_server() 269 if ((current_cvsroot->cr_srvout = fdopen(ofd[0], "r")) == NULL) in cvs_client_connect_to_server() 272 setvbuf(current_cvsroot->cr_srvin, NULL,_IOLBF, 0); in cvs_client_connect_to_server() 273 setvbuf(current_cvsroot->cr_srvout, NULL, _IOLBF, 0); in cvs_client_connect_to_server() [all …]
|
| H A D | remote.c | 70 out = current_cvsroot->cr_srvin; in cvs_remote_output() 94 in = current_cvsroot->cr_srvout; in cvs_remote_input() 138 in = current_cvsroot->cr_srvout; in cvs_remote_receive_file() 174 out = current_cvsroot->cr_srvin; in cvs_remote_send_file()
|
| H A D | trigger.c | 119 val = current_cvsroot->cr_dir; in expand_args() 200 buf_puts(buf, current_cvsroot->cr_dir); in expand_var() 392 (void)xsnprintf(fpath, PATH_MAX, "%s/%s", current_cvsroot->cr_dir, in cvs_trigger_getlines() 544 buf_puts(buf, current_cvsroot->cr_dir); in cvs_trigger_loginfo_header()
|
| H A D | fatal.c | 55 if (current_cvsroot != NULL) in fatal()
|
| H A D | config.c | 88 current_cvsroot->cr_dir, name); in cvs_read_config()
|
| H A D | util.c | 449 (void)xsnprintf(dst, len, "%s/%s", current_cvsroot->cr_dir, buf); in cvs_get_repository_path() 636 cvs_mkadmin(rpath, current_cvsroot->cr_str, repo, in cvs_mkpath() 905 setenv("CVSROOT", current_cvsroot->cr_dir, 1); in cvs_exec()
|
| H A D | import.c | 161 current_cvsroot->cr_dir, import_repository); in cvs_import() 257 current_cvsroot->cr_dir, cf->file_wd, CVS_PATH_ATTIC, in cvs_import_local()
|
| H A D | history.c | 164 current_cvsroot->cr_dir, CVS_PATH_HISTORY); in cvs_history_add()
|
| H A D | annotate.c | 125 chdir(current_cvsroot->cr_dir) == -1) in cvs_annotate()
|
| H A D | add.c | 219 buf_puts(buf, current_cvsroot->cr_dir); in cvs_add_loginfo() 354 cvs_mkadmin(cf->file_path, current_cvsroot->cr_dir, in add_directory()
|
| H A D | cvs.h | 285 extern struct cvsroot *current_cvsroot;
|
| H A D | tag.c | 199 if (cvs_cmdop == CVS_OP_RTAG && chdir(current_cvsroot->cr_dir) == -1) in cvs_tag()
|
| H A D | getlog.c | 170 chdir(current_cvsroot->cr_dir) == -1) in cvs_getlog()
|
| H A D | diff.c | 270 chdir(current_cvsroot->cr_dir) == -1) in cvs_diff()
|
| H A D | checkout.c | 311 current_cvsroot->cr_dir, fl->file_path); in checkout_check_repository()
|