| /mirbsd/src/gnu/usr.bin/cvs/src/ |
| D | login.c | 537 if (current_parsed_root->method != pserver_method) in login() 540 error (1, 0, "CVSROOT: %s", current_parsed_root->original); in login() 543 cvsroot_canonical = normalize_cvsroot(current_parsed_root); in login() 547 if (current_parsed_root->password) in login() 549 typed_password = scramble (current_parsed_root->password); in login() 571 connect_to_pserver (current_parsed_root, NULL, NULL, 1, 0); in login() 573 password_entry_operation (password_entry_add, current_parsed_root, in login() 594 if (current_parsed_root->password) in get_cvs_password() 595 return scramble (current_parsed_root->password); in get_cvs_password() 617 if (current_parsed_root->method != pserver_method) in get_cvs_password() [all …]
|
| D | version.c | 58 if (current_parsed_root && current_parsed_root->isremote) in version() 68 if (current_parsed_root && current_parsed_root->isremote) in version()
|
| D | main.c | 319 if (current_parsed_root == NULL && p->data != NULL) in set_root_directory() 321 current_parsed_root = p->data; in set_root_directory() 322 original_parsed_root = current_parsed_root; in set_root_directory() 986 assert (current_parsed_root == NULL); in main() 1014 current_parsed_root ? current_parsed_root->directory in main() 1020 if (!current_parsed_root->isremote) in main() 1025 path = Xasprintf ("%s/%s", current_parsed_root->directory, in main() 1040 setenv (CVSROOT_ENV, current_parsed_root->original, 1); in main() 1050 if (!server_active && !current_parsed_root->isremote) in main() 1057 config = parse_config (current_parsed_root->directory, NULL); in main() [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() 361 cvsroot_t *current_parsed_root = NULL; variable 1062 if ((current_parsed_root = parse_cvsroot (argv[1])) == NULL) in main() 1069 method_names[current_parsed_root->method]); in main() 1071 current_parsed_root->username in main() [all …]
|
| D | checkout.c | 280 if (current_parsed_root->isremote) in checkout() 439 if (current_parsed_root->isremote) return 1; in safe_location() 446 hardpath = xcanonicalize_file_name (current_parsed_root->directory); in safe_location() 629 repository = xmalloc (strlen (current_parsed_root->directory) in checkout_proc() 634 current_parsed_root->directory, argv[0]); in checkout_proc() 809 if (strncmp (repository, current_parsed_root->directory, in checkout_proc() 810 strlen (current_parsed_root->directory)) != 0) in checkout_proc() 813 repository, current_parsed_root->directory); in checkout_proc() 878 if (strcmp (reposcopy, current_parsed_root->directory) == 0) in checkout_proc() 900 if (strcmp (reposcopy, current_parsed_root->directory) == 0) in checkout_proc() [all …]
|
| D | socket-client.c | 182 current_parsed_root->hostname); in socket_buffer_shutdown() 184 error (0, 0, "reading from %s: %s", current_parsed_root->hostname, in socket_buffer_shutdown() 189 if (current_parsed_root->method != server_method) in socket_buffer_shutdown() 206 if (current_parsed_root->method == server_method) in socket_buffer_shutdown()
|
| D | release.c | 190 if (current_parsed_root->isremote) in release() 323 if (!current_parsed_root->isremote in release() 339 if (current_parsed_root->isremote) in release() 363 if (current_parsed_root->isremote) in release() 385 if (current_parsed_root->isremote) in release()
|
| D | suck.c | 58 if (current_parsed_root->isremote) { in suck() 76 cp = Xasprintf("%s/%s", current_parsed_root->directory, argv[1]); in suck() 127 cvs_output(fn + strlen(current_parsed_root->directory) + 1, 0); in suck()
|
| D | modules.c | 74 if (current_parsed_root == NULL) in open_module() 79 mfile = Xasprintf ("%s/%s/%s", current_parsed_root->directory, in open_module() 212 file = xmalloc (strlen (current_parsed_root->directory) in my_module() 214 (void) sprintf (file, "%s/%s", current_parsed_root->directory, mname); in my_module() 215 attic_file = xmalloc (strlen (current_parsed_root->directory) in my_module() 221 (void) sprintf (attic_file, "%s/%s/%s/%s%s", current_parsed_root->directory, in my_module() 227 current_parsed_root->directory, in my_module() 688 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() 266 if (current_parsed_root->isremote) in import() 277 current_parsed_root->isremote ? NULL : repository, in import() 295 if (current_parsed_root->isremote) in import() 478 if (!current_parsed_root->isremote) in import_descend() 540 if (current_parsed_root->isremote) in import_descend() 563 if (!current_parsed_root->isremote) in import_descend() [all …]
|
| D | annotate.c | 106 if (current_parsed_root->isremote) in annotate() 180 repository = xmalloc (strlen (current_parsed_root->directory) + strlen (argv[0]) in rannotate_proc() 182 (void) sprintf (repository, "%s/%s", current_parsed_root->directory, argv[0]); in rannotate_proc()
|
| 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() 838 "r", "s", current_parsed_root->directory, in notify_proc() 1020 usersname = Xasprintf ("%s/%s/%s", current_parsed_root->directory, in notify_do() 1218 if (current_parsed_root->isremote) in editors()
|
| 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() 420 expand_path (temp, current_parsed_root->directory, false, in wrap_add() 436 e.tocvsFilter = expand_path (temp, current_parsed_root->directory, in wrap_add()
|
| D | find_names.c | 431 && strncmp (dir, current_parsed_root->directory, strlen (current_parsed_root->directory)) == 0 in find_dirs() 432 && ISSLASH (dir[strlen (current_parsed_root->directory)]) in find_dirs() 433 && strcmp (dir + strlen (current_parsed_root->directory) + 1, CVSROOTADM) == 0) in find_dirs()
|
| D | server.c | 248 empty = xmalloc (strlen (current_parsed_root->directory) in create_adm_p() 259 (void) sprintf (empty, "%s/%s/%s", current_parsed_root->directory, in create_adm_p() 587 assert (current_parsed_root); in isProxyServer() 601 current_parsed_root->directory)) in isProxyServer() 796 if (current_parsed_root != NULL) in serve_root() 808 original_parsed_root = current_parsed_root = local_cvsroot (arg); in serve_root() 813 if (strcmp (Pserver_Repos, current_parsed_root->directory) != 0) in serve_root() 816 + strlen (current_parsed_root->directory))) in serve_root() 822 current_parsed_root->directory, Pserver_Repos); in serve_root() 838 config = get_root_allow_config (current_parsed_root->directory, in serve_root() [all …]
|
| 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 | lock.c | 191 assert (current_parsed_root != NULL); in lock_name() 192 assert (current_parsed_root->directory != NULL); in lock_name() 193 assert (strncmp (repository, current_parsed_root->directory, in lock_name() 194 strlen (current_parsed_root->directory)) == 0); in lock_name() 195 short_repos = repository + strlen (current_parsed_root->directory) + 1; in lock_name() 197 if (strcmp (repository, current_parsed_root->directory) == 0) in lock_name()
|
| D | patch.c | 195 if (current_parsed_root->isremote) in patch() 292 repository = xmalloc (strlen (current_parsed_root->directory) in patch_proc() 296 current_parsed_root->directory, argv[0]); in patch_proc() 679 assert (current_parsed_root != NULL); in patch_fileproc() 680 assert (current_parsed_root->directory != NULL); in patch_fileproc() 682 strippath = Xasprintf ("%s/", current_parsed_root->directory); in patch_fileproc()
|
| D | create_adm.c | 108 if (strcmp (reposcopy, current_parsed_root->directory) == 0) in Create_Admin() 121 char *path = Xasprintf ("%s/", current_parsed_root->directory); in Create_Admin()
|
| D | client.c | 200 if (root_string && current_parsed_root in arg_should_not_be_sent_to_server() 625 client_referrer = current_parsed_root; in handle_redirect() 629 current_parsed_root = parse_cvsroot (args); in handle_redirect() 646 if (!current_parsed_root) in handle_redirect() 2050 if (strcmp (toplevel_repos, current_parsed_root->directory)) in is_cvsroot_level() 2537 > strlen (current_parsed_root->directory))) in send_a_repository() 2551 toplevel_repos = xstrdup (current_parsed_root->directory); in send_a_repository() 2721 send_a_repository ("", current_parsed_root->directory, ""); in client_expand_modules() 2759 send_a_repository ("", current_parsed_root->directory, ""); in client_send_expansions() 2767 send_a_repository ("", current_parsed_root->directory, ""); in client_nonexpanded_setup() [all …]
|
| D | tag.c | 199 if (current_parsed_root->isremote) in cvstag() 344 "r", "s", current_parsed_root->directory, in posttag_proc() 437 repository = xmalloc (strlen (current_parsed_root->directory) in rtag_proc() 441 (void) sprintf (repository, "%s/%s", current_parsed_root->directory, in rtag_proc() 783 "r", "s", current_parsed_root->directory, in pretag_proc() 1479 valtags_filename = Xasprintf ("%s/%s/%s", current_parsed_root->directory, in is_in_val_tags() 1543 val_tags_lock (current_parsed_root->directory); in add_to_val_tags()
|
| D | add.c | 102 cvsroot_len = strlen (current_parsed_root->directory); in add() 157 if (current_parsed_root->isremote) in add() 231 if (strncmp (repository, current_parsed_root->directory, cvsroot_len) == 0 in add() 329 if (strncmp (repository, current_parsed_root->directory, in add()
|
| D | history.c | 405 log_name = xmalloc (strlen (current_parsed_root->directory) in get_history_log_name() 408 sprintf (log_name, "%s/%s/%s", current_parsed_root->directory, in get_history_log_name() 590 if (current_parsed_root->isremote) in history() 727 current_parsed_root->directory, CVSROOTADM, fname); in history() 738 current_parsed_root->directory, CVSROOTADM, in history() 908 if (!history_lock (current_parsed_root->directory)) in history_write()
|
| D | admin.c | 173 "r", "s", current_parsed_root->directory, in postadmin_proc() 243 !current_parsed_root->isremote && in admin() 453 if (!current_parsed_root->isremote && !only_allowed_options && in admin() 517 if (current_parsed_root->isremote) in admin()
|
| D | logmsg.c | 210 assert (!current_parsed_root->isremote != !repository); in do_editor() 436 if (current_parsed_root->isremote) in do_verify() 838 "r", "s", current_parsed_root->directory, in logfile_write() 963 current_parsed_root->directory, in verifymsg_proc()
|