Home
last modified time | relevance | path

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

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