Module Name:    src
Committed By:   pooka
Date:           Thu Aug 15 22:10:05 UTC 2013

Modified Files:
        src/sys/rump/include/rump: makerumpdefs.sh

Log Message:
translate ino_t to a portability-friendlier type


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/rump/include/rump/makerumpdefs.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/rump/include/rump/makerumpdefs.sh
diff -u src/sys/rump/include/rump/makerumpdefs.sh:1.20 src/sys/rump/include/rump/makerumpdefs.sh:1.21
--- src/sys/rump/include/rump/makerumpdefs.sh:1.20	Thu Aug 15 21:47:46 2013
+++ src/sys/rump/include/rump/makerumpdefs.sh	Thu Aug 15 22:10:04 2013
@@ -8,7 +8,7 @@ echo Generating rumpdefs.h
 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 @@ struct rump_'"$2"' {
 		n
 		s/^}.*;$/};/p
 		t
-		/^#/!{/MAXNAMLEN/!p}
+		/^#/!{/MAXNAMLEN/!{s/ino_t/uint64_t/;p;}}
 		b loop
 	}' < $1
 }

Reply via email to