* sync strlfun.c

* update licence
* update to mksh 1.17
This commit is contained in:
tg 2004-12-05 16:10:58 +00:00
parent d3e5bf1ef2
commit f680d29969
3 changed files with 15 additions and 15 deletions

7
chvt.c
View File

@ -1,4 +1,4 @@
/** $MirBSD: chvt.c,v 1.3 2004/11/10 20:08:21 tg Exp $ */ /** $MirBSD: chvt.c,v 1.4 2004/12/05 16:10:58 tg Exp $ */
/*- /*-
* Copyright (c) 2004 * Copyright (c) 2004
@ -17,15 +17,14 @@
* licious intent or gross negligence; in no event shall licensor, an * licious intent or gross negligence; in no event shall licensor, an
* author or contributor be held liable for any damage, direct, indi- * author or contributor be held liable for any damage, direct, indi-
* rect or other, however caused, arising in any way out of the usage * rect or other, however caused, arising in any way out of the usage
* of covered work, even if advised of the possibility of such damage. * of this work, even if advised of the possibility of such damage.
*/ */
#include "sh.h" #include "sh.h"
#include <sys/ioctl.h> #include <sys/ioctl.h>
#include "ksh_stat.h" #include "ksh_stat.h"
__RCSID("$MirBSD: chvt.c,v 1.3 2004/11/10 20:08:21 tg Exp $"); __RCSID("$MirBSD: chvt.c,v 1.4 2004/12/05 16:10:58 tg Exp $");
char * char *
chvt(char *f) chvt(char *f)

17
rnd.c
View File

@ -1,15 +1,15 @@
/** $MirBSD: rnd.c,v 1.7 2004/08/27 14:55:45 tg Stab $ */ /** $MirBSD: rnd.c,v 1.8 2004/12/05 16:10:58 tg Exp $ */
/*- /*-
* Copyright (c) 2004 * Copyright (c) 2004
* Thorsten "mirabile" Glaser <tg@66h.42h.de> * Thorsten "mirabile" Glaser <tg@66h.42h.de>
* *
* Licensee is hereby permitted to deal in this work without restric- * Licensee is hereby permitted to deal in this work without restric-
* tion, including unlimited rights to use, publically perform, modi- * tion, including unlimited rights to use, publicly perform, modify,
* fy, merge, distribute, sell, give away or sublicence, provided the * merge, distribute, sell, give away or sublicence, provided all co-
* above copyright notices, these terms and the disclaimer are retai- * pyright notices above, these terms and the disclaimer are retained
* ned in all redistributions, or reproduced in accompanying documen- * in all redistributions or reproduced in accompanying documentation
* tation or other materials provided with binary redistributions. * or other materials provided with binary redistributions.
* *
* Licensor hereby provides this work "AS IS" and WITHOUT WARRANTY of * Licensor hereby provides this work "AS IS" and WITHOUT WARRANTY of
* any kind, expressed or implied, to the maximum extent permitted by * any kind, expressed or implied, to the maximum extent permitted by
@ -17,12 +17,14 @@
* licious intent or gross negligence; in no event shall licensor, an * licious intent or gross negligence; in no event shall licensor, an
* author or contributor be held liable for any damage, direct, indi- * author or contributor be held liable for any damage, direct, indi-
* rect or other, however caused, arising in any way out of the usage * rect or other, however caused, arising in any way out of the usage
* of covered work, even if advised of the possibility of such damage. * of this work, even if advised of the possibility of such damage.
*/ */
#include "sh.h" #include "sh.h"
#include "proto.h" #include "proto.h"
__RCSID("$MirBSD: rnd.c,v 1.8 2004/12/05 16:10:58 tg Exp $");
#ifndef HAVE_SRANDOM #ifndef HAVE_SRANDOM
#undef HAVE_RANDOM #undef HAVE_RANDOM
#endif #endif
@ -81,5 +83,4 @@ rnd_put(long newval)
} }
rnd_state = 1; rnd_state = 1;
} }
#endif /* def KSH */ #endif /* def KSH */

View File

@ -1,4 +1,4 @@
/** $MirBSD: version.c,v 1.16 2004/11/10 17:22:13 tg Exp $ */ /** $MirBSD: version.c,v 1.17 2004/12/05 16:10:58 tg Exp $ */
/* $OpenBSD: version.c,v 1.12 1999/07/14 13:37:24 millert Exp $ */ /* $OpenBSD: version.c,v 1.12 1999/07/14 13:37:24 millert Exp $ */
/*- /*-
@ -18,7 +18,7 @@
* licious intent or gross negligence; in no event shall licensor, an * licious intent or gross negligence; in no event shall licensor, an
* author or contributor be held liable for any damage, direct, indi- * author or contributor be held liable for any damage, direct, indi-
* rect or other, however caused, arising in any way out of the usage * rect or other, however caused, arising in any way out of the usage
* of covered work, even if advised of the possibility of such damage. * of this work, even if advised of the possibility of such damage.
*- *-
* value of $KSH_VERSION (or $SH_VERSION) * value of $KSH_VERSION (or $SH_VERSION)
*/ */
@ -26,7 +26,7 @@
#include "sh.h" #include "sh.h"
const char ksh_version[] = const char ksh_version[] =
"@(#)PD KSH v5.2.14 MirOS $Revision: 1.16 $ in " "@(#)PD KSH v5.2.14 MirOS $Revision: 1.17 $ in "
#ifdef MIRBSD_NATIVE #ifdef MIRBSD_NATIVE
"native " "native "
#endif #endif