Searched refs:working_path_len (Results 1 – 1 of 1) sorted by relevance
410 int working_path_len; in ssh_getworkingpath() local413 &working_path_len); in ssh_getworkingpath()419 real_path = malloc(working_path_len+1); in ssh_getworkingpath()424 if((working_path_len > 3) && (!memcmp(working_path, "/~/", 3))) in ssh_getworkingpath()426 memcpy(real_path, working_path+3, 4 + working_path_len-3); in ssh_getworkingpath()428 memcpy(real_path, working_path, 1 + working_path_len); in ssh_getworkingpath()431 if((working_path_len > 1) && (working_path[1] == '~')) { in ssh_getworkingpath()433 real_path = malloc(homelen + working_path_len + 1); in ssh_getworkingpath()443 if(working_path_len > 3) { in ssh_getworkingpath()445 1 + working_path_len -3); in ssh_getworkingpath()[all …]