Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/atari/stand/keymaps Return a useful exit status.
details: https://anonhg.NetBSD.org/src/rev/5ba82e27e1d1
branches: trunk
changeset: 514653:5ba82e27e1d1
user: thomas <thomas%NetBSD.org@localhost>
date: Fri Sep 07 23:09:36 2001 +0000
description:
Return a useful exit status.
diffstat:
sys/arch/atari/stand/keymaps/de/de-kbdmap.c | 4 ++--
sys/arch/atari/stand/keymaps/fr/fr-kbdmap.c | 4 ++--
sys/arch/atari/stand/keymaps/uk/uk-kbdmap.c | 4 ++--
sys/arch/atari/stand/keymaps/us/us-kbdmap.c | 4 ++--
4 files changed, 8 insertions(+), 8 deletions(-)
diffs (68 lines):
diff -r 4f1d24aa3958 -r 5ba82e27e1d1 sys/arch/atari/stand/keymaps/de/de-kbdmap.c
--- a/sys/arch/atari/stand/keymaps/de/de-kbdmap.c Fri Sep 07 17:14:24 2001 +0000
+++ b/sys/arch/atari/stand/keymaps/de/de-kbdmap.c Fri Sep 07 23:09:36 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: de-kbdmap.c,v 1.1.1.1 1996/06/22 20:14:12 leo Exp $ */
+/* $NetBSD: de-kbdmap.c,v 1.2 2001/09/07 23:09:36 thomas Exp $ */
/*
* Contributed by Thomas Gerner
@@ -205,6 +205,6 @@
#ifndef _KERNEL
main()
{
- write (1, &ascii_kbdmap, sizeof (kbdmap));
+ exit(write (1, &ascii_kbdmap, sizeof (kbdmap)) == sizeof (kbdmap) ? 0 : 1);
}
#endif /* _KERNEL */
diff -r 4f1d24aa3958 -r 5ba82e27e1d1 sys/arch/atari/stand/keymaps/fr/fr-kbdmap.c
--- a/sys/arch/atari/stand/keymaps/fr/fr-kbdmap.c Fri Sep 07 17:14:24 2001 +0000
+++ b/sys/arch/atari/stand/keymaps/fr/fr-kbdmap.c Fri Sep 07 23:09:36 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fr-kbdmap.c,v 1.1.1.1 1996/06/22 20:14:11 leo Exp $ */
+/* $NetBSD: fr-kbdmap.c,v 1.2 2001/09/07 23:09:37 thomas Exp $ */
/*
* Contributed by Cedric Moreau
@@ -205,6 +205,6 @@
#ifndef _KERNEL
main()
{
- write (1, &ascii_kbdmap, sizeof (kbdmap));
+ exit(write (1, &ascii_kbdmap, sizeof (kbdmap)) == sizeof (kbdmap) ? 0 : 1);
}
#endif /* _KERNEL */
diff -r 4f1d24aa3958 -r 5ba82e27e1d1 sys/arch/atari/stand/keymaps/uk/uk-kbdmap.c
--- a/sys/arch/atari/stand/keymaps/uk/uk-kbdmap.c Fri Sep 07 17:14:24 2001 +0000
+++ b/sys/arch/atari/stand/keymaps/uk/uk-kbdmap.c Fri Sep 07 23:09:36 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uk-kbdmap.c,v 1.1.1.1 1996/06/22 20:14:10 leo Exp $ */
+/* $NetBSD: uk-kbdmap.c,v 1.2 2001/09/07 23:09:37 thomas Exp $ */
#include "../../../dev/kbdmap.h"
@@ -138,6 +138,6 @@
#ifndef _KERNEL
main()
{
- write (1, &ascii_kbdmap, sizeof (kbdmap));
+ exit(write (1, &ascii_kbdmap, sizeof (kbdmap)) == sizeof (kbdmap) ? 0 : 1);
}
#endif /* _KERNEL */
diff -r 4f1d24aa3958 -r 5ba82e27e1d1 sys/arch/atari/stand/keymaps/us/us-kbdmap.c
--- a/sys/arch/atari/stand/keymaps/us/us-kbdmap.c Fri Sep 07 17:14:24 2001 +0000
+++ b/sys/arch/atari/stand/keymaps/us/us-kbdmap.c Fri Sep 07 23:09:36 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: us-kbdmap.c,v 1.1.1.1 1996/06/22 20:14:11 leo Exp $ */
+/* $NetBSD: us-kbdmap.c,v 1.2 2001/09/07 23:09:37 thomas Exp $ */
#include "../../../dev/kbdmap.h"
@@ -154,6 +154,6 @@
#ifndef _KERNEL
main()
{
- write (1, &ascii_kbdmap, sizeof (kbdmap));
+ exit(write (1, &ascii_kbdmap, sizeof (kbdmap)) == sizeof (kbdmap) ? 0 : 1);
}
#endif /* _KERNEL */
Home |
Main Index |
Thread Index |
Old Index