• AIX: display OS version better (tested on 5.3 by cnuke@)
• IBM XL C: display version better (tested on V7.0 by cnuke@) • do not 'IFS=: read nr name', Cygwin 1.7 dash fails it • disable cd-pe, glob-range-3 on Cygwin (the former cannot succeed because the mv fails, the latter fails from 1.7 on) • mark heredoc-tmpfile-8 as need-pass: no • apply __attribute__ only to a function prototype, not to the body (even if static), since xlC fails that • bump version to R40 (beta)
This commit is contained in:
7
main.c
7
main.c
@ -33,7 +33,7 @@
|
||||
#include <locale.h>
|
||||
#endif
|
||||
|
||||
__RCSID("$MirOS: src/bin/mksh/main.c,v 1.190 2011/04/17 12:24:43 tg Exp $");
|
||||
__RCSID("$MirOS: src/bin/mksh/main.c,v 1.191 2011/05/29 16:31:42 tg Exp $");
|
||||
|
||||
extern char **environ;
|
||||
|
||||
@ -1010,7 +1010,10 @@ tty_close(void)
|
||||
#define VWARNINGF_BUILTIN 4
|
||||
#define VWARNINGF_INTERNAL 8
|
||||
|
||||
static void MKSH_A_FORMAT(__printf__, 2, 0)
|
||||
static void vwarningf(unsigned int, const char *, va_list)
|
||||
MKSH_A_FORMAT(__printf__, 2, 0);
|
||||
|
||||
static void
|
||||
vwarningf(unsigned int flags, const char *fmt, va_list ap)
|
||||
{
|
||||
if (*fmt != 1) {
|
||||
|
Reference in New Issue
Block a user