main.c: need <time.h> if not HAVE_ARC4RANDOM
strlfun.c: sync found while creating debian source package main.c, check.t: mksh R22c
This commit is contained in:
parent
428e27331e
commit
a41e8aa581
4
check.t
4
check.t
@ -1,4 +1,4 @@
|
||||
# $MirOS: src/bin/mksh/check.t,v 1.14 2005/05/25 14:39:33 tg Exp $
|
||||
# $MirOS: src/bin/mksh/check.t,v 1.15 2005/05/28 21:02:02 tg Exp $
|
||||
# $OpenBSD: bksl-nl.t,v 1.2 2001/01/28 23:04:56 niklas Exp $
|
||||
# $OpenBSD: history.t,v 1.5 2001/01/28 23:04:56 niklas Exp $
|
||||
# $OpenBSD: read.t,v 1.3 2003/03/10 03:48:16 david Exp $
|
||||
@ -3734,5 +3734,5 @@ category: pdksh
|
||||
stdin:
|
||||
echo $KSH_VERSION
|
||||
expected-stdout:
|
||||
@(#)MIRBSD KSH R22 2005/05/25
|
||||
@(#)MIRBSD KSH R22 2005/05/28
|
||||
---
|
||||
|
9
main.c
9
main.c
@ -1,4 +1,4 @@
|
||||
/** $MirOS: src/bin/mksh/main.c,v 1.8 2005/05/26 23:01:30 tg Exp $ */
|
||||
/** $MirOS: src/bin/mksh/main.c,v 1.9 2005/05/28 21:02:02 tg Exp $ */
|
||||
/* $OpenBSD: main.c,v 1.38 2005/03/30 17:16:37 deraadt Exp $ */
|
||||
/* $OpenBSD: tty.c,v 1.8 2005/03/30 17:16:37 deraadt Exp $ */
|
||||
/* $OpenBSD: io.c,v 1.21 2005/03/30 17:16:37 deraadt Exp $ */
|
||||
@ -9,8 +9,11 @@
|
||||
#include <sys/stat.h>
|
||||
#include <ctype.h>
|
||||
#include <pwd.h>
|
||||
#if !HAVE_ARC4RANDOM
|
||||
#include <time.h>
|
||||
#endif
|
||||
|
||||
__RCSID("$MirOS: src/bin/mksh/main.c,v 1.8 2005/05/26 23:01:30 tg Exp $");
|
||||
__RCSID("$MirOS: src/bin/mksh/main.c,v 1.9 2005/05/28 21:02:02 tg Exp $");
|
||||
|
||||
extern char **environ;
|
||||
|
||||
@ -18,7 +21,7 @@ static void reclaim(void);
|
||||
static void remove_temps(struct temp *tp);
|
||||
static int is_restricted(char *name);
|
||||
|
||||
const char ksh_version[] = "@(#)MIRBSD KSH R22 2005/05/25";
|
||||
const char ksh_version[] = "@(#)MIRBSD KSH R22 2005/05/28";
|
||||
|
||||
static const char initifs[] = "IFS= \t\n";
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user