diff options
Diffstat (limited to 'net/coda6_server/files')
-rw-r--r-- | net/coda6_server/files/patch-coda-src-venus-comm.cc | 11 | ||||
-rw-r--r-- | net/coda6_server/files/patch-coda-src-venus-fso.h | 32 |
2 files changed, 43 insertions, 0 deletions
diff --git a/net/coda6_server/files/patch-coda-src-venus-comm.cc b/net/coda6_server/files/patch-coda-src-venus-comm.cc new file mode 100644 index 000000000000..08745c321fee --- /dev/null +++ b/net/coda6_server/files/patch-coda-src-venus-comm.cc @@ -0,0 +1,11 @@ +--- coda-src/venus/comm.cc.orig Fri Aug 6 23:01:08 2004 ++++ coda-src/venus/comm.cc Fri Aug 6 23:02:04 2004 +@@ -173,7 +173,7 @@ + sei.AckPoint = sftp_ackpoint; + sei.PacketSize = sftp_packetsize; + sei.EnforceQuota = 1; +- sei.Port.Tag = (enum PortTag)0; ++ sei.Port.Tag = (PortTag)0; + SFTP_Activate(&sei); + + /* RPC2 initialization. */ diff --git a/net/coda6_server/files/patch-coda-src-venus-fso.h b/net/coda6_server/files/patch-coda-src-venus-fso.h new file mode 100644 index 000000000000..e416579b5a96 --- /dev/null +++ b/net/coda6_server/files/patch-coda-src-venus-fso.h @@ -0,0 +1,32 @@ +--- coda-src/venus/fso.h.orig Fri Aug 6 22:52:18 2004 ++++ coda-src/venus/fso.h Fri Aug 6 22:54:34 2004 +@@ -539,7 +539,7 @@ + void DetachHdbBindings(); + void DetachHdbBinding(binding *, int =0); + int PredetermineFetchState(int, int); +- void SetFetchAllowed(enum HoardFetchState new_state) ++ void SetFetchAllowed(HoardFetchState new_state) + { FetchAllowed = new_state; } + int IsFetchAllowed() + { if (FetchAllowed == HF_Fetch) +@@ -547,7 +547,7 @@ + else + return 0; + } +- void SetAskingAllowed(enum HoardAskState new_state) ++ void SetAskingAllowed(HoardAskState new_state) + { AskingAllowed = new_state; } + int IsAskingAllowed() + { if (AskingAllowed == HA_Ask) +@@ -820,9 +820,8 @@ + #define CFSOP_PRELUDE(str, comp, fid)\ + {\ + char buf[256];\ +- strcpy(buf, (comp));\ +- if (buf[0] == '\0')\ +- sprintf(buf, "%s", FID_(&(fid)));\ ++ if (comp) strcpy(buf, (comp));\ ++ else sprintf(buf, "%s", FID_(&(fid)));\ + MarinerLog((str), buf);\ + } + #define CFSOP_POSTLUDE(str)\ |