The Samba-Bugzilla – Attachment 4366 Details for
Bug 4960
Fails to compile on QNX
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Patch
change-uint-to-unsigned.patch (text/x-patch), 4.43 KB, created by
Matt Kraai (mail address dead)
on 2009-06-29 15:59:45 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Matt Kraai (mail address dead)
Created:
2009-06-29 15:59:45 UTC
Size:
4.43 KB
patch
obsolete
>diff -ru samba-3.3.6~/source/include/proto.h samba-3.3.6/source/include/proto.h >--- samba-3.3.6~/source/include/proto.h 2009-06-23 02:35:13.000000000 -0700 >+++ samba-3.3.6/source/include/proto.h 2009-06-24 13:26:16.000000000 -0700 >@@ -4507,14 +4507,14 @@ > bool cli_NetWkstaUserLogoff(struct cli_state *cli, const char *user, const char *workstation); > int cli_NetPrintQEnum(struct cli_state *cli, > void (*qfn)(const char*,uint16,uint16,uint16,const char*,const char*,const char*,const char*,const char*,uint16,uint16), >- void (*jfn)(uint16,const char*,const char*,const char*,const char*,uint16,uint16,const char*,uint,uint,const char*)); >+ void (*jfn)(uint16,const char*,const char*,const char*,const char*,uint16,uint16,const char*,unsigned,unsigned,const char*)); > int cli_NetPrintQGetInfo(struct cli_state *cli, const char *printer, > void (*qfn)(const char*,uint16,uint16,uint16,const char*,const char*,const char*,const char*,const char*,uint16,uint16), >- void (*jfn)(uint16,const char*,const char*,const char*,const char*,uint16,uint16,const char*,uint,uint,const char*)); >+ void (*jfn)(uint16,const char*,const char*,const char*,const char*,uint16,uint16,const char*,unsigned,unsigned,const char*)); > int cli_RNetServiceEnum(struct cli_state *cli, void (*fn)(const char *, const char *, void *), void *state); >-int cli_NetSessionEnum(struct cli_state *cli, void (*fn)(char *, char *, uint16, uint16, uint16, uint, uint, uint, char *)); >+int cli_NetSessionEnum(struct cli_state *cli, void (*fn)(char *, char *, uint16, uint16, uint16, unsigned, unsigned, unsigned, char *)); > int cli_NetSessionGetInfo(struct cli_state *cli, const char *workstation, >- void (*fn)(const char *, const char *, uint16, uint16, uint16, uint, uint, uint, const char *)); >+ void (*fn)(const char *, const char *, uint16, uint16, uint16, unsigned, unsigned, unsigned, const char *)); > int cli_NetSessionDel(struct cli_state *cli, const char *workstation); > int cli_NetConnectionEnum(struct cli_state *cli, const char *qualifier, > void (*fn)(uint16_t conid, uint16_t contype, >diff -ru samba-3.3.6~/source/libsmb/clirap2.c samba-3.3.6/source/libsmb/clirap2.c >--- samba-3.3.6~/source/libsmb/clirap2.c 2009-06-23 02:35:13.000000000 -0700 >+++ samba-3.3.6/source/libsmb/clirap2.c 2009-06-24 13:33:07.000000000 -0700 >@@ -1899,7 +1899,7 @@ > > int cli_NetPrintQEnum(struct cli_state *cli, > void (*qfn)(const char*,uint16,uint16,uint16,const char*,const char*,const char*,const char*,const char*,uint16,uint16), >- void (*jfn)(uint16,const char*,const char*,const char*,const char*,uint16,uint16,const char*,uint,uint,const char*)) >+ void (*jfn)(uint16,const char*,const char*,const char*,const char*,uint16,uint16,const char*,unsigned,unsigned,const char*)) > { > char param[WORDSIZE /* api number */ > +sizeof(RAP_NetPrintQEnum_REQ) /* req string */ >@@ -2075,7 +2075,7 @@ > > int cli_NetPrintQGetInfo(struct cli_state *cli, const char *printer, > void (*qfn)(const char*,uint16,uint16,uint16,const char*,const char*,const char*,const char*,const char*,uint16,uint16), >- void (*jfn)(uint16,const char*,const char*,const char*,const char*,uint16,uint16,const char*,uint,uint,const char*)) >+ void (*jfn)(uint16,const char*,const char*,const char*,const char*,uint16,uint16,const char*,unsigned,unsigned,const char*)) > { > char param[WORDSIZE /* api number */ > +sizeof(RAP_NetPrintQGetInfo_REQ) /* req string */ >@@ -2335,7 +2335,7 @@ > Call a NetSessionEnum - list workstations with sessions to an SMB server. > ****************************************************************************/ > >-int cli_NetSessionEnum(struct cli_state *cli, void (*fn)(char *, char *, uint16, uint16, uint16, uint, uint, uint, char *)) >+int cli_NetSessionEnum(struct cli_state *cli, void (*fn)(char *, char *, uint16, uint16, uint16, unsigned, unsigned, unsigned, char *)) > { > char param[WORDSIZE /* api number */ > +sizeof(RAP_NetSessionEnum_REQ) /* parm string */ >@@ -2435,7 +2435,7 @@ > ****************************************************************************/ > > int cli_NetSessionGetInfo(struct cli_state *cli, const char *workstation, >- void (*fn)(const char *, const char *, uint16, uint16, uint16, uint, uint, uint, const char *)) >+ void (*fn)(const char *, const char *, uint16, uint16, uint16, unsigned, unsigned, unsigned, const char *)) > { > char param[WORDSIZE /* api number */ > +sizeof(RAP_NetSessionGetInfo_REQ) /* req string */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 4960
:
2920
|
4366
|
4385
|
4386
|
4387
|
4596
|
4599
|
4662