| /netbsd/src/external/gpl2/xcvs/dist/src/ |
| D | login.c | 525 if (current_parsed_root->method != pserver_method) in login() 528 error (1, 0, "CVSROOT: %s", current_parsed_root->original); in login() 531 cvsroot_canonical = normalize_cvsroot(current_parsed_root); in login() 535 if (current_parsed_root->password) in login() 537 typed_password = scramble (current_parsed_root->password); in login() 559 connect_to_pserver (current_parsed_root, NULL, NULL, 1, 0); in login() 561 password_entry_operation (password_entry_add, current_parsed_root, in login() 599 if (current_parsed_root->password) in get_cvs_password() 600 return scramble (current_parsed_root->password); in get_cvs_password() 622 if (current_parsed_root->method != pserver_method) in get_cvs_password() [all …]
|
| D | root.c | 206 "%s%s", current_parsed_root->directory, in primary_root_translate() 244 && !strncmp (root_in, current_parsed_root->directory, in primary_root_inverse_translate() 245 strlen (current_parsed_root->directory)) in primary_root_inverse_translate() 246 && (ISSLASH (root_in[strlen (current_parsed_root->directory)]) in primary_root_inverse_translate() 247 || root_in[strlen (current_parsed_root->directory)] == '\0') in primary_root_inverse_translate() 253 root_in + strlen (current_parsed_root->directory)); in primary_root_inverse_translate() 355 cvsroot_t *current_parsed_root = NULL; variable 1036 if ((current_parsed_root = parse_cvsroot (argv[1])) == NULL) in main() 1043 method_names[current_parsed_root->method]); in main() 1045 current_parsed_root->username in main() [all …]
|
| D | version.c | 62 if (current_parsed_root && current_parsed_root->isremote) in version() 74 if (current_parsed_root && current_parsed_root->isremote) in version()
|
| D | main.c | 323 if (current_parsed_root == NULL && p->data != NULL) in set_root_directory() 325 current_parsed_root = p->data; in set_root_directory() 326 original_parsed_root = current_parsed_root; in set_root_directory() 1095 assert (current_parsed_root == NULL); in main() 1118 current_parsed_root ? current_parsed_root->directory in main() 1124 if (!current_parsed_root->isremote && !nolock) in main() 1129 path = Xasprintf ("%s/%s", current_parsed_root->directory, in main() 1144 setenv (CVSROOT_ENV, current_parsed_root->original, 1); in main() 1154 if (!server_active && !current_parsed_root->isremote) in main() 1161 config = parse_config (current_parsed_root->directory, NULL); in main() [all …]
|
| D | checkout.c | 282 if (current_parsed_root->isremote) in checkout() 441 if (current_parsed_root->isremote) return 1; in safe_location() 448 hardpath = xcanonicalize_file_name (current_parsed_root->directory); in safe_location() 631 repository = xmalloc (strlen (current_parsed_root->directory) in checkout_proc() 636 current_parsed_root->directory, argv[0]); in checkout_proc() 811 if (strncmp (repository, current_parsed_root->directory, in checkout_proc() 812 strlen (current_parsed_root->directory)) != 0) in checkout_proc() 815 repository, current_parsed_root->directory); in checkout_proc() 880 if (strcmp (reposcopy, current_parsed_root->directory) == 0) in checkout_proc() 902 if (strcmp (reposcopy, current_parsed_root->directory) == 0) in checkout_proc() [all …]
|
| D | socket-client.c | 184 current_parsed_root->hostname); in socket_buffer_shutdown() 186 error (0, 0, "reading from %s: %s", current_parsed_root->hostname, in socket_buffer_shutdown() 191 if (current_parsed_root->method != server_method) in socket_buffer_shutdown() 208 if (current_parsed_root->method == server_method) in socket_buffer_shutdown()
|
| D | release.c | 192 if (current_parsed_root->isremote) in release() 325 if (!current_parsed_root->isremote in release() 341 if (current_parsed_root->isremote) in release() 365 if (current_parsed_root->isremote) in release() 387 if (current_parsed_root->isremote) in release()
|
| D | modules.c | 75 if (current_parsed_root == NULL) in open_module() 80 mfile = Xasprintf ("%s/%s/%s", current_parsed_root->directory, in open_module() 213 file = xmalloc (strlen (current_parsed_root->directory) in my_module() 215 (void) sprintf (file, "%s/%s", current_parsed_root->directory, mname); in my_module() 216 attic_file = xmalloc (strlen (current_parsed_root->directory) in my_module() 222 (void) sprintf (attic_file, "%s/%s/%s/%s%s", current_parsed_root->directory, in my_module() 228 current_parsed_root->directory, in my_module() 689 expanded_path = expand_path (prog, current_parsed_root->directory, in my_module()
|
| D | import.c | 92 killnew = !current_parsed_root->isremote in import() 213 if (current_parsed_root == NULL) in import() 219 repository = Xasprintf ("%s/%s", current_parsed_root->directory, argv[0]); in import() 220 repos_len = strlen (current_parsed_root->directory); in import() 249 if (current_parsed_root->isremote) in import() 260 current_parsed_root->isremote ? NULL : repository, in import() 278 if (current_parsed_root->isremote) in import() 473 if (!current_parsed_root->isremote) in import_descend() 535 if (current_parsed_root->isremote) in import_descend() 558 if (!current_parsed_root->isremote) in import_descend() [all …]
|
| D | edit.c | 86 if (current_parsed_root->isremote) in watch_onoff() 228 if (current_parsed_root->isremote) in send_notifications() 356 assert (!(current_parsed_root->isremote && check_edited)); in edit_fileproc() 373 if (!current_parsed_root->isremote) in edit_fileproc() 533 if (check_edited && current_parsed_root->isremote) in edit() 837 "r", "s", current_parsed_root->directory, in notify_proc() 1019 usersname = Xasprintf ("%s/%s/%s", current_parsed_root->directory, in notify_do() 1217 if (current_parsed_root->isremote) in editors()
|
| D | server.c | 250 empty = xmalloc (strlen (current_parsed_root->directory) in create_adm_p() 261 (void) sprintf (empty, "%s/%s/%s", current_parsed_root->directory, in create_adm_p() 600 if (current_parsed_root && !isSamePath (config->PrimaryServer->directory, in isProxyServer() 601 current_parsed_root->directory)) in isProxyServer() 797 if (current_parsed_root != NULL) in serve_root() 809 original_parsed_root = current_parsed_root = local_cvsroot (arg); in serve_root() 814 if (strcmp (Pserver_Repos, current_parsed_root->directory) != 0) in serve_root() 817 + strlen (current_parsed_root->directory))) in serve_root() 823 current_parsed_root->directory, Pserver_Repos); in serve_root() 831 config = get_root_allow_config (current_parsed_root->directory, in serve_root() [all …]
|
| D | wrapper.c | 98 if (!current_parsed_root->isremote) in wrap_setup() 103 file = Xasprintf ("%s/%s/%s", current_parsed_root->directory, in wrap_setup() 407 expand_path (temp, current_parsed_root->directory, false, in wrap_add() 423 e.tocvsFilter = expand_path (temp, current_parsed_root->directory, in wrap_add()
|
| D | find_names.c | 433 … && strncmp (dir, current_parsed_root->directory, strlen (current_parsed_root->directory)) == 0 in find_dirs() 434 && ISSLASH (dir[strlen (current_parsed_root->directory)]) in find_dirs() 435 && strcmp (dir + strlen (current_parsed_root->directory) + 1, CVSROOTADM) == 0) in find_dirs()
|
| D | annotate.c | 101 if (current_parsed_root->isremote) in annotate() 173 repository = xmalloc (strlen (current_parsed_root->directory) + strlen (argv[0]) in rannotate_proc() 175 (void) sprintf (repository, "%s/%s", current_parsed_root->directory, argv[0]); in rannotate_proc()
|
| D | patch.c | 195 if (current_parsed_root->isremote) in patch() 291 repository = xmalloc (strlen (current_parsed_root->directory) in patch_proc() 295 current_parsed_root->directory, argv[0]); in patch_proc() 705 assert (current_parsed_root != NULL); in patch_fileproc() 706 assert (current_parsed_root->directory != NULL); in patch_fileproc() 708 strippath = Xasprintf ("%s/", current_parsed_root->directory); in patch_fileproc()
|
| D | create_adm.c | 112 if (strcmp (reposcopy, current_parsed_root->directory) == 0) in Create_Admin() 125 char *path = Xasprintf ("%s/", current_parsed_root->directory); in Create_Admin()
|
| D | parseinfo.c | 48 if (!current_parsed_root) in Parse_Info() 56 infopath = Xasprintf ("%s/%s/%s", current_parsed_root->directory, in Parse_Info() 148 expand_path (value, current_parsed_root->directory, in Parse_Info() 175 expanded_value = expand_path (value, current_parsed_root->directory, in Parse_Info() 195 current_parsed_root->directory, in Parse_Info()
|
| D | client.c | 204 if (root_string && current_parsed_root in arg_should_not_be_sent_to_server() 629 client_referrer = current_parsed_root; in handle_redirect() 633 current_parsed_root = parse_cvsroot (args); in handle_redirect() 650 if (!current_parsed_root) in handle_redirect() 2054 if (strcmp (toplevel_repos, current_parsed_root->directory)) in is_cvsroot_level() 2542 > strlen (current_parsed_root->directory))) in send_a_repository() 2556 toplevel_repos = xstrdup (current_parsed_root->directory); in send_a_repository() 2726 send_a_repository ("", current_parsed_root->directory, ""); in client_expand_modules() 2764 send_a_repository ("", current_parsed_root->directory, ""); in client_send_expansions() 2772 send_a_repository ("", current_parsed_root->directory, ""); in client_nonexpanded_setup() [all …]
|
| D | mkmodules.c | 1259 if (current_parsed_root->isremote) in init() 1269 if (stat (current_parsed_root->directory, &st) != -1) in init() 1278 mkdir_if_needed (current_parsed_root->directory); in init() 1280 adm = Xasprintf ("%s/%s", current_parsed_root->directory, CVSROOTADM); in init()
|
| D | lock.c | 228 assert (current_parsed_root != NULL); in lock_name() 229 assert (current_parsed_root->directory != NULL); in lock_name() 234 len = find_root(repository, current_parsed_root->directory); in lock_name() 237 repository, current_parsed_root->directory); in lock_name() 240 if (strcmp (repository, current_parsed_root->directory) == 0) in lock_name()
|
| D | tag.c | 241 if (current_parsed_root->isremote) in cvstag() 391 "r", "s", current_parsed_root->directory, in posttag_proc() 484 repository = xmalloc (strlen (current_parsed_root->directory) in rtag_proc() 488 (void) sprintf (repository, "%s/%s", current_parsed_root->directory, in rtag_proc() 828 "r", "s", current_parsed_root->directory, in pretag_proc() 1553 valtags_filename = Xasprintf ("%s/%s/%s", current_parsed_root->directory, in is_in_val_tags() 1617 val_tags_lock (current_parsed_root->directory); in add_to_val_tags()
|
| D | history.c | 406 log_name = xmalloc (strlen (current_parsed_root->directory) in get_history_log_name() 409 sprintf (log_name, "%s/%s/%s", current_parsed_root->directory, in get_history_log_name() 591 if (current_parsed_root->isremote) in history() 728 current_parsed_root->directory, CVSROOTADM, fname); in history() 739 current_parsed_root->directory, CVSROOTADM, in history() 909 if (!history_lock (current_parsed_root->directory)) in history_write()
|
| D | add.c | 104 cvsroot_len = strlen (current_parsed_root->directory); in add() 159 if (current_parsed_root->isremote) in add() 233 if (strncmp (repository, current_parsed_root->directory, cvsroot_len) == 0 in add() 331 if (strncmp (repository, current_parsed_root->directory, in add()
|
| D | logmsg.c | 207 assert (!current_parsed_root->isremote != !repository); in do_editor() 411 if (current_parsed_root->isremote) in do_verify() 812 "r", "s", current_parsed_root->directory, in logfile_write() 936 current_parsed_root->directory, in verifymsg_proc()
|
| D | commit.c | 361 if (geteuid () == (uid_t) 0 && !current_parsed_root->isremote) in commit() 460 if (current_parsed_root->isremote) in commit() 815 size_t cvsroot_len = strlen (current_parsed_root->directory); in check_fileproc() 823 if (strncmp (finfo->repository, current_parsed_root->directory, in check_fileproc() 1261 "r", "s", current_parsed_root->directory, in precommit_proc() 1599 if (strncmp (current_parsed_root->directory, repository, in commit_filesdoneproc() 1600 strlen (current_parsed_root->directory)) != 0) in commit_filesdoneproc() 1603 repository, current_parsed_root->directory); in commit_filesdoneproc() 1604 p = repository + strlen (current_parsed_root->directory); in commit_filesdoneproc()
|