commit bash-20150807 snapshot

This commit is contained in:
Chet Ramey
2015-08-11 16:41:53 -04:00
parent d54a780601
commit e9eee9d4b0
29 changed files with 317 additions and 73 deletions
+4 -2
View File
@@ -309,7 +309,7 @@ static int speeds[] =
};
__private_extern__
void
int
tputs (str, nlines, outfun)
register char *str;
int nlines;
@@ -335,7 +335,7 @@ tputs (str, nlines, outfun)
#endif
if (!str)
return;
return -1;
while (*str >= '0' && *str <= '9')
{
@@ -372,6 +372,8 @@ tputs (str, nlines, outfun)
while (padcount-- > 0)
(*outfun) (PC);
return 0;
}
/* Finding the termcap entry in the termcap data base. */
+1 -1
View File
@@ -29,7 +29,7 @@ extern char *tgetstr (const char *name, char **area);
extern char PC;
extern short ospeed;
extern void tputs (const char *string, int nlines, int (*outfun) (int));
extern int tputs (const char *string, int nlines, int (*outfun) (int));
extern char *tparam (const char *ctlstring, char *buffer, int size, ...);