(do_spec_1, case 'g'): Handle %O as suffix if MKTEMP_EACH_FILE.

From-SVN: r9892
This commit is contained in:
Richard Kenner 1995-06-06 17:57:34 -04:00
parent 015892ee4a
commit 2e21df5a7f
1 changed files with 2 additions and 1 deletions

View File

@ -3308,7 +3308,8 @@ do_spec_1 (spec, inswitch, soft_matched_part)
In 2.4, do something about that. */
struct temp_name *t;
char *suffix = p;
while (*p == '.' || isalpha (*p))
while (*p == '.' || isalpha (*p)
|| (p[0] == '%' && p[1] == 'O'))
p++;
/* See if we already have an association of %g/%u/%U and