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 translate ino_t to a portability-frien...



details:   https://anonhg.NetBSD.org/src/rev/0e17162079c6
branches:  trunk
changeset: 789342:0e17162079c6
user:      pooka <pooka%NetBSD.org@localhost>
date:      Thu Aug 15 22:10:04 2013 +0000

description:
translate ino_t to a portability-friendlier type

diffstat:

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

diffs (21 lines):

diff -r b5159d9e997c -r 0e17162079c6 sys/rump/include/rump/makerumpdefs.sh
--- a/sys/rump/include/rump/makerumpdefs.sh     Thu Aug 15 21:48:05 2013 +0000
+++ b/sys/rump/include/rump/makerumpdefs.sh     Thu Aug 15 22:10:04 2013 +0000
@@ -8,7 +8,7 @@
 rm -f rumpdefs.h
 exec > rumpdefs.h
 
-printf '/*     $NetBSD: makerumpdefs.sh,v 1.20 2013/08/15 21:47:46 pooka Exp $ */\n\n'
+printf '/*     $NetBSD: makerumpdefs.sh,v 1.21 2013/08/15 22:10:04 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'
@@ -29,7 +29,7 @@
                n
                s/^}.*;$/};/p
                t
-               /^#/!{/MAXNAMLEN/!p}
+               /^#/!{/MAXNAMLEN/!{s/ino_t/uint64_t/;p;}}
                b loop
        }' < $1
 }



Home | Main Index | Thread Index | Old Index