- From beecef021755b971f1c8016d7b8c86890176df9c Mon Sep 17 00:00:00 2001
- From: Roland Mainz <roland.mainz@nrubsig.org>
- Date: Mon, 9 Dec 2024 14:05:54 +0100
- Subject: [PATCH 1/3] dll: Cleanup nfs41_np.def for Visual Studio >= 2019
- Cleanup nfs41_np.def for Visual Studio >= 2019
- Signed-off-by: Cedric Blancher <cedric.blancher@gmail.com>
- ---
- dll/nfs41_np.def | 28 ++++++++++++++--------------
- 1 file changed, 14 insertions(+), 14 deletions(-)
- diff --git a/dll/nfs41_np.def b/dll/nfs41_np.def
- index dcafae8..277d961 100644
- --- a/dll/nfs41_np.def
- +++ b/dll/nfs41_np.def
- @@ -1,16 +1,16 @@
- +LIBRARY
- EXPORTS
- - NPGetCaps @13
- - NPAddConnection @17
- - NPAddConnection3 @38
- - NPCancelConnection @18
- - NPGetConnection @12
- - NPOpenEnum @33
- - NPEnumResource @34
- - NPCloseEnum @35
- - NPGetUniversalName @40
- - NPGetResourceParent @41
- - NPGetResourceInformation @52
- - NPLogonNotify @500
- - NPPasswordChangeNotify @501
- -
- + NPGetCaps
- + NPAddConnection
- + NPAddConnection3
- + NPCancelConnection
- + NPGetConnection
- + NPOpenEnum
- + NPEnumResource
- + NPCloseEnum
- + NPGetUniversalName
- + NPGetResourceParent
- + NPGetResourceInformation
- + NPLogonNotify
- + NPPasswordChangeNotify
- --
- 2.45.1
- From 789d4c5cea6b949912e03f4b701963133f3cb5ba Mon Sep 17 00:00:00 2001
- From: Roland Mainz <roland.mainz@nrubsig.org>
- Date: Mon, 9 Dec 2024 14:06:53 +0100
- Subject: [PATCH 2/3] dll: Add missing |NPGetConnection3()| to nfs41_np.def
- Add missing |NPGetConnection3()| to nfs41_np.def
- Signed-off-by: Cedric Blancher <cedric.blancher@gmail.com>
- ---
- dll/nfs41_np.def | 1 +
- 1 file changed, 1 insertion(+)
- diff --git a/dll/nfs41_np.def b/dll/nfs41_np.def
- index 277d961..8ac37a9 100644
- --- a/dll/nfs41_np.def
- +++ b/dll/nfs41_np.def
- @@ -6,6 +6,7 @@ EXPORTS
- NPAddConnection3
- NPCancelConnection
- NPGetConnection
- + NPGetConnection3
- NPOpenEnum
- NPEnumResource
- NPCloseEnum
- --
- 2.45.1
- From de8b9f8ba3d0e5fd7f9747daab521f8553a6845f Mon Sep 17 00:00:00 2001
- From: Roland Mainz <roland.mainz@nrubsig.org>
- Date: Mon, 9 Dec 2024 14:21:22 +0100
- Subject: [PATCH 3/3] dll: Debug output for |NPGetCaps()| prints garbage
- |nIndex| string+wrong function name
- dll: Debug output for |NPGetCaps()| prints garbage |nIndex| string
- and uses the wrong function name.
- Reported-by: Josh Hurst <joshhurst@gmail.com>
- Signed-off-by: Cedric Blancher <cedric.blancher@gmail.com>
- ---
- dll/nfs41_np.c | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
- diff --git a/dll/nfs41_np.c b/dll/nfs41_np.c
- index 1e8a712..cb1148c 100644
- --- a/dll/nfs41_np.c
- +++ b/dll/nfs41_np.c
- @@ -434,7 +434,7 @@ NPGetCaps(
- {
- DWORD rc = 0;
- - DbgP((L"--> GetNetCaps(nIndex='%S'(=%d)\n",
- + DbgP((L"--> NPGetCaps(nIndex='%s'(=%d)\n",
- netcaps2string(nIndex), nIndex));
- switch(nIndex) {
- case WNNC_SPEC_VERSION:
- @@ -467,7 +467,7 @@ NPGetCaps(
- break;
- }
- - DbgP((L"<-- GetNetCaps returns %d\n", (int)rc));
- + DbgP((L"<-- NPGetCaps returns %d\n", (int)rc));
- return rc;
- }
- --
- 2.45.1
msnfs41client: Patches for nfs41 network provider+misc, 2024-12-09
Posted by Anonymous on Mon 9th Dec 2024 18:03
raw | new post
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.