Apply patch: ncpfs-hg-commit-431.patch

This commit is contained in:
Mario Fetka
2026-04-28 20:56:03 +02:00
parent b417a518c5
commit 4d94ea705a
96 changed files with 3398 additions and 431 deletions

View File

@@ -188,7 +188,7 @@ int main(int argc, char *argv[]) {
}
#ifndef N_PLAT_MSW4
{
static const u_int32_t add[] = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15};
static const NET_ADDRESS_TYPE add[] = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15};
dserr = NWDSSetTransport(ctx, 16, add);
if (dserr) {
fprintf(stderr, "NWDSSetTransport failed: %s\n",
@@ -231,7 +231,8 @@ int main(int argc, char *argv[]) {
{
nuint32 semHandle;
nuint16 semCurrentCount,semValue,semOpenCount;
nuint16 semCurrentCount, semOpenCount;
nint16 semValue;
err=NWOpenSemaphore (conn,semName,maxAccess,&semHandle, &semCurrentCount);
if (err) {
@@ -243,7 +244,7 @@ int main(int argc, char *argv[]) {
printf ("%s is open with handle(%x) for %u max concurrent access. Currently it has %d access\n",
semName,semHandle,maxAccess,semCurrentCount);
err=NWExamineSemaphore (conn,semHandle,&semValue,&semOpenCount);
err=NWExamineSemaphore(conn, semHandle, &semValue, &semOpenCount);
if (err) {
fprintf(stderr, "NWExamineSemaphore failed with error %s\n",
strnwerror(err));