This is the mail archive of the cygwin-developers@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: lm-header-patch


Corinna Vinschen wrote:
> 
> Hi!
> 
> I have found some errors in the lan manager header files. Some types
> LPWSTR and LPCWSTR were defined as LPTSTR by accident and two or three
> prototypes were missing.
> 
> Regards,
> Corinna
> [...]

Shit!

I haven't seen a typo in lmrepl.h.

patch attached.

Regards,
Corinna
Index: include/lmrepl.h
===================================================================
RCS file: /src/cvsroot/winsup-990916/include/lmrepl.h,v
retrieving revision 1.2
diff -u -p -r1.2 lmrepl.h
--- include/lmrepl.h	1999/10/02 21:49:30	1.2
+++ include/lmrepl.h	1999/10/02 21:49:40
@@ -78,7 +78,7 @@ NET_API_STATUS WINAPI NetReplExportDirGe
 NET_API_STATUS WINAPI NetReplExportDirSetInfo(LPCWSTR,LPCWSTR,DWORD,PBYTE,PDWORD);
 NET_API_STATUS WINAPI NetReplExportDirLock(LPCWSTR,LPCWSTR);
 NET_API_STATUS WINAPI NetReplExportDirUnlock(LPCWSTR,LPCWSTR,DWORD);
-NET_API_STATUS WINAWI NetReplImportDirAdd(LPCWSTR,DWORD,PBYTE,PDWORD);
+NET_API_STATUS WINAPI NetReplImportDirAdd(LPCWSTR,DWORD,PBYTE,PDWORD);
 NET_API_STATUS WINAPI NetReplImportDirDel(LPCWSTR,LPCWSTR);
 NET_API_STATUS WINAPI NetReplImportDirEnum(LPCWSTR,DWORD,PBYTE*,DWORD,PDWORD,PDWORD,PDWORD);
 NET_API_STATUS WINAPI NetReplImportDirGetInfo(LPCWSTR,LPCWSTR,DWORD,PBYTE*);

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]