repositories
/
deb_libnfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
647d2ea
)
nfs.x: some rpcgen's can not handle multiple union choices for the same arm.
author
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Sun, 28 Aug 2011 09:05:46 +0000
(19:05 +1000)
committer
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Thu, 1 Sep 2011 20:32:33 +0000
(06:32 +1000)
Make sure each choice has a dedicated arm
nfs/nfs.x
patch
|
blob
|
blame
|
history
diff --git
a/nfs/nfs.x
b/nfs/nfs.x
index 026abe52c2b838f02afa80f8576ca0d3d28c249d..1f4976b14e3a3b5188a2306dc616c7fe9d2db654 100644
(file)
--- a/
nfs/nfs.x
+++ b/
nfs/nfs.x
@@
-333,8
+333,9
@@
typedef opaque createverf3[NFS3_CREATEVERFSIZE];
union createhow3 switch (createmode3 mode) {
case UNCHECKED:
- case GUARDED:
sattr3 obj_attributes;
+ case GUARDED:
+ sattr3 g_obj_attributes;
case EXCLUSIVE:
createverf3 verf;
};
@@
-556,9
+557,11
@@
struct devicedata3 {
union mknoddata3 switch (ftype3 type) {
case NF3CHR:
+ devicedata3 chr_device;
case NF3BLK:
- devicedata3 device;
+ devicedata3
blk_
device;
case NF3SOCK:
+ sattr3 sock_attributes;
case NF3FIFO:
sattr3 pipe_attributes;
default: