Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/rump/include/rump While mucking in here, give the [local...



details:   https://anonhg.NetBSD.org/src/rev/7e4b75603b5b
branches:  trunk
changeset: 782747:7e4b75603b5b
user:      pooka <pooka%NetBSD.org@localhost>
date:      Sun Nov 18 19:03:43 2012 +0000

description:
While mucking in here, give the [local] client a chance to access all
rump kernel (i.e. NetBSD) errnos, not just EJUSTRETURN.

diffstat:

 sys/rump/include/rump/makerumpdefs.sh |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (23 lines):

diff -r 881d52913ad6 -r 7e4b75603b5b sys/rump/include/rump/makerumpdefs.sh
--- a/sys/rump/include/rump/makerumpdefs.sh     Sun Nov 18 18:40:05 2012 +0000
+++ b/sys/rump/include/rump/makerumpdefs.sh     Sun Nov 18 19:03:43 2012 +0000
@@ -8,7 +8,7 @@
 rm -f rumpdefs.h
 exec > rumpdefs.h
 
-printf '/*     $NetBSD: makerumpdefs.sh,v 1.8 2012/11/18 18:39:23 pooka Exp $  */\n\n'
+printf '/*     $NetBSD: makerumpdefs.sh,v 1.9 2012/11/18 19:03:43 pooka Exp $  */\n\n'
 printf '/*\n *\tAUTOMATICALLY GENERATED.  DO NOT EDIT.\n */\n\n'
 printf '#ifndef _RUMP_RUMPDEFS_H_\n'
 printf '#define _RUMP_RUMPDEFS_H_\n\n'
@@ -46,9 +46,7 @@
     | sed 's,/\*.*$,,'
 
 fromvers ../../../sys/errno.h
-printf '#ifndef EJUSTRETURN\n'
-sed -n '/EJUSTRETURN/p'        < ../../../sys/errno.h
-printf '#endif /* EJUSTRETURN */\n'
+sed -n '/#define[      ]*E/s/E[A-Z]*/RUMP_&/p' < ../../../sys/errno.h
 
 fromvers ../../../sys/reboot.h
 sed -n '/#define.*RB_[A-Z]/s/RB_/RUMP_RB_/gp' <../../../sys/reboot.h   \



Home | Main Index | Thread Index | Old Index