forked from AngryPowman/vnoc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
2. 适应登陆协议错误的修正,做了些改动 3. 密码做了SHA1计算,才传给服务端 git-svn-id: http://subversion.assembla.com/svn/vnoc/trunk@255 36a5fca6-8feb-4701-ac75-490187a78786
- Loading branch information
bengin
committed
Jun 13, 2012
1 parent
1e9fb51
commit 6b12fde
Showing
13 changed files
with
1,326 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
@echo off | ||
@cd .. | ||
setlocal EnableDelayedExpansion | ||
|
||
@if "%1"=="RELEASE" goto gRelease | ||
; | ||
cd | ||
xcopy /e/c/y "../VisualLeakDetector/bin/win32" "Debug" > nul | ||
|
||
goto gEnd | ||
|
||
:gRelease | ||
; | ||
@xcopy /e/c/y "../VisualLeakDetector/bin/win32" "Release" > nul | ||
|
||
:gEnd | ||
@echo "Post Dispatch OK!" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# | ||
# Makefile | ||
# | ||
# Copyright (C) 1998, 2009 | ||
# Paul E. Jones <[email protected]> | ||
# All Rights Reserved. | ||
# | ||
############################################################################# | ||
# $Id: Makefile 12 2009-06-22 19:34:25Z paulej $ | ||
############################################################################# | ||
# | ||
# Description: | ||
# This is a makefile for UNIX to build the programs sha, shacmp, and | ||
# shatest | ||
# | ||
# | ||
|
||
CC = g++ | ||
|
||
CFLAGS = -c -O2 -Wall -D_FILE_OFFSET_BITS=64 | ||
|
||
LIBS = | ||
|
||
OBJS = sha1.o | ||
|
||
all: sha shacmp shatest | ||
|
||
sha: sha.o $(OBJS) | ||
$(CC) -o $@ sha.o $(OBJS) $(LIBS) | ||
|
||
shacmp: shacmp.o $(OBJS) | ||
$(CC) -o $@ shacmp.o $(OBJS) $(LIBS) | ||
|
||
shatest: shatest.o $(OBJS) | ||
$(CC) -o $@ shatest.o $(OBJS) $(LIBS) | ||
|
||
%.o: %.cpp | ||
$(CC) $(CFLAGS) -o $@ $< | ||
|
||
clean: | ||
$(RM) *.o sha shacmp shatest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# | ||
# Makefile.nt | ||
# | ||
# Copyright (C) 1998, 2009 | ||
# Paul E. Jones <[email protected]> | ||
# All Rights Reserved. | ||
# | ||
############################################################################# | ||
# $Id: Makefile.nt 13 2009-06-22 20:20:32Z paulej $ | ||
############################################################################# | ||
# | ||
# Description: | ||
# This is a makefile for Win32 to build the programs sha, shacmp, and | ||
# shatest | ||
# | ||
# Portability Issues: | ||
# Designed to work with Visual C++ | ||
# | ||
# | ||
|
||
.silent: | ||
|
||
!include <win32.mak> | ||
|
||
RM = del /q | ||
|
||
LIBS = $(conlibs) setargv.obj | ||
|
||
CFLAGS = -D _CRT_SECURE_NO_WARNINGS /EHsc /O2 /W3 | ||
|
||
OBJS = sha1.obj | ||
|
||
all: sha.exe shacmp.exe shatest.exe | ||
|
||
sha.exe: sha.obj $(OBJS) | ||
$(link) $(conflags) -out:$@ sha.obj $(OBJS) $(LIBS) | ||
|
||
shacmp.exe: shacmp.obj $(OBJS) | ||
$(link) $(conflags) -out:$@ shacmp.obj $(OBJS) $(LIBS) | ||
|
||
shatest.exe: shatest.obj $(OBJS) | ||
$(link) $(conflags) -out:$@ shatest.obj $(OBJS) $(LIBS) | ||
|
||
.cpp.obj: | ||
$(cc) $(CFLAGS) $(cflags) $(cvars) $< | ||
|
||
clean: | ||
$(RM) *.obj sha.exe shacmp.exe shatest.exe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
Copyright (C) 1998, 2009 | ||
Paul E. Jones <[email protected]> | ||
|
||
Freeware Public License (FPL) | ||
|
||
This software is licensed as "freeware." Permission to distribute | ||
this software in source and binary forms, including incorporation | ||
into other products, is hereby granted without a fee. THIS SOFTWARE | ||
IS PROVIDED 'AS IS' AND WITHOUT ANY EXPRESSED OR IMPLIED WARRANTIES, | ||
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY | ||
AND FITNESS FOR A PARTICULAR PURPOSE. THE AUTHOR SHALL NOT BE HELD | ||
LIABLE FOR ANY DAMAGES RESULTING FROM THE USE OF THIS SOFTWARE, EITHER | ||
DIRECTLY OR INDIRECTLY, INCLUDING, BUT NOT LIMITED TO, LOSS OF DATA | ||
OR DATA BEING RENDERED INACCURATE. |
Oops, something went wrong.