unify usage of spaces vs tabs

This commit is contained in:
tg
2004-10-31 23:02:05 +00:00
parent 8581802651
commit 06f6a128a8

8
main.c
View File

@ -1,4 +1,4 @@
/** $MirBSD: main.c,v 1.13 2004/10/31 23:01:18 tg Exp $ */ /** $MirBSD: main.c,v 1.14 2004/10/31 23:02:05 tg Exp $ */
/* $OpenBSD: main.c,v 1.28 2004/08/23 14:56:32 millert Exp $ */ /* $OpenBSD: main.c,v 1.28 2004/08/23 14:56:32 millert Exp $ */
/* /*
@ -11,7 +11,7 @@
#include "ksh_stat.h" #include "ksh_stat.h"
#include "ksh_time.h" #include "ksh_time.h"
__RCSID("$MirBSD: main.c,v 1.13 2004/10/31 23:01:18 tg Exp $"); __RCSID("$MirBSD: main.c,v 1.14 2004/10/31 23:02:05 tg Exp $");
extern char **environ; extern char **environ;
@ -260,11 +260,11 @@ main(int argc, char *argv[])
} }
ppid = getppid(); ppid = getppid();
setint(global("PPID"), (long) ppid); setint(global("PPID"), (long) ppid);
#ifdef KSH #ifdef KSH
rnd_seed( (*((long *)kshname)) rnd_seed( (*((long *)kshname))
^ ((long) (time(NULL) * kshpid * ppid)) ); ^ ((long) (time(NULL) * kshpid * ppid)) );
setint(global("RANDOM"), rnd_get()); setint(global("RANDOM"), rnd_get());
#endif /* KSH */ #endif /* KSH */
/* setstr can't fail here */ /* setstr can't fail here */
setstr(global(version_param), ksh_version, KSH_RETURN_ERROR); setstr(global(version_param), ksh_version, KSH_RETURN_ERROR);