Lines Matching refs:working_path_len
410 int working_path_len;
413 &working_path_len);
419 real_path = malloc(working_path_len+1);
424 if((working_path_len > 3) && (!memcmp(working_path, "/~/", 3)))
426 memcpy(real_path, working_path+3, 4 + working_path_len-3);
428 memcpy(real_path, working_path, 1 + working_path_len);
431 if((working_path_len > 1) && (working_path[1] == '~')) {
433 real_path = malloc(homelen + working_path_len + 1);
443 if(working_path_len > 3) {
445 1 + working_path_len -3);
449 real_path = malloc(working_path_len+1);
454 memcpy(real_path, working_path, 1+working_path_len);