Home
last modified time | relevance | path

Searched refs:full_dir_name (Results 1 – 1 of 1) sorted by relevance

/external/e2fsprogs/ext2ed/
Ddir_com.c219 char *ptr,full_dir_name [500],dir_name [500],temp [500],temp2 [500]; in type_dir___cd() local
228 strncpy (full_dir_name,dir_entry_ptr->name,dir_entry_ptr->name_len); in type_dir___cd()
229 full_dir_name [dir_entry_ptr->name_len]=0; in type_dir___cd()
232 ptr=parse_word (ptr,full_dir_name); in type_dir___cd()
234 ptr=strchr (full_dir_name,'/'); in type_dir___cd()
236 if (ptr==full_dir_name) { /* Pathname is from root - Let the general cd do the job */ in type_dir___cd()
237 sprintf (temp,"cd %s",full_dir_name);type_ext2___cd (temp);return; in type_dir___cd()
241 strcpy (dir_name,full_dir_name); in type_dir___cd()
242 full_dir_name [0]=0; in type_dir___cd()
246 strncpy (dir_name,full_dir_name,ptr-full_dir_name); in type_dir___cd()
[all …]