This is the mail archive of the
cygwin-developers@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: lm-header-patch
- To: Chris Faylor <cgf at cygnus dot com>, Anders Norlander <anorland at hem2 dot passagen dot se>, cygdev <cygwin-developers at sourceware dot cygnus dot com>
- Subject: Re: lm-header-patch
- From: Corinna Vinschen <corinna at vinschen dot de>
- Date: Sat, 02 Oct 1999 23:53:45 +0200
- References: <37F6733E.2C36FC6F@vinschen.de>
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*);