[Pvfs2-cvs] commit by sampson in
pvfs2/src/client/windows/client-service: cert.c
client-service.h dokan-interface.c
CVS commit program
cvs at parl.clemson.edu
Wed May 11 17:36:12 EDT 2011
Update of /projects/cvsroot/pvfs2/src/client/windows/client-service
In directory parlweb1:/tmp/cvs-serv29013/src/client/windows/client-service
Modified Files:
Tag: windows-client
cert.c client-service.h dokan-interface.c
Log Message:
Initial Windows certs code
Index: cert.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/client/windows/client-service/Attic/cert.c,v
diff -p -u -r1.1.2.3 -r1.1.2.4
--- cert.c 3 May 2011 14:54:48 -0000 1.1.2.3
+++ cert.c 11 May 2011 21:36:11 -0000 1.1.2.4
@@ -12,7 +12,7 @@
#include <openssl/x509.h>
#include <openssl/x509_vfy.h>
-#include "pvfs2.h"
+#include "cert.h"
extern char *convert_wstring(const wchar_t *);
extern wchar_t *convert_mbstring(const char *);
@@ -128,7 +128,7 @@ static unsigned int get_profile_dir(char
return -1;
}
- strcpy(profile_dir, mbstr);
+ strncpy(profile_dir, mbstr, MAX_PATH);
free(mbstr);
}
Index: client-service.h
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/client/windows/client-service/Attic/client-service.h,v
diff -p -u -r1.1.2.3 -r1.1.2.4
--- client-service.h 3 May 2011 14:54:48 -0000 1.1.2.3
+++ client-service.h 11 May 2011 21:36:11 -0000 1.1.2.4
@@ -23,4 +23,6 @@ typedef struct
int gid;
} ORANGEFS_USER, *PORANGEFS_USER;
+void DbgPrint(char *format, ...);
+
#endif
Index: dokan-interface.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/client/windows/client-service/Attic/dokan-interface.c,v
diff -p -u -r1.1.2.35 -r1.1.2.36
--- dokan-interface.c 3 May 2011 14:54:48 -0000 1.1.2.35
+++ dokan-interface.c 11 May 2011 21:36:11 -0000 1.1.2.36
@@ -69,7 +69,7 @@ static void DbgInit()
}
}
-static void DbgPrint(LPCSTR format, ...)
+static void DbgPrint(char *format, ...)
{
if (g_DebugMode)
{
More information about the Pvfs2-cvs
mailing list