Make this not lose on machines with unsigned chars.

This commit is contained in:
mycroft 1998-02-27 07:05:45 +00:00
parent f17bbcfffa
commit 30689c5677
1 changed files with 7 additions and 6 deletions

View File

@ -331,19 +331,20 @@ print_filename (to_print, full_pathname)
{
#if !defined (VISIBLE_STATS)
char *s;
int c;
for (s = to_print; *s; s++)
for (s = to_print; c = *s; s++)
{
PUTX (*s);
PUTX (c);
}
return 0;
#else
char *s, c, *new_full_pathname;
int extension_char, slen, tlen;
char *s, *new_full_pathname;
int c, int extension_char, slen, tlen;
for (s = to_print; *s; s++)
for (s = to_print; c = *s; s++)
{
PUTX (*s);
PUTX (c);
}
if (rl_filename_completion_desired && rl_visible_stats)