commit bash-20090924 snapshot

This commit is contained in:
Chet Ramey
2011-12-08 20:16:21 -05:00
parent a8fd3f3e51
commit 82a5df635a
24 changed files with 9052 additions and 169 deletions
+7
View File
@@ -5083,6 +5083,13 @@ decode_prompt_string (string)
}
t_string[tlen] = '\0';
#if defined (MACOSX)
/* Convert from "fs" format to "input" format */
temp = fnx_fromfs (t_string, strlen (t_string));
if (temp != t_string)
strcpy (t_string, temp);
#endif
#define ROOT_PATH(x) ((x)[0] == '/' && (x)[1] == 0)
#define DOUBLE_SLASH_ROOT(x) ((x)[0] == '/' && (x)[1] == '/' && (x)[2] == 0)
/* Abbreviate \W as ~ if $PWD == $HOME */