This commit is contained in:
Gary Williams 1999-04-01 15:51:11 +00:00
parent e6b47355f9
commit 5fc6a9b0ca
3 changed files with 14 additions and 14 deletions

View File

@ -60,7 +60,7 @@ LIB32=link.exe -lib
# PROP Intermediate_Dir "Debug\liblutil"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /GX /Z7 /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
# ADD CPP /nologo /W3 /GX /Z7 /Od /I "..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
# ADD CPP /nologo /MTd /W3 /GX /Z7 /Od /I "..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
@ -120,10 +120,6 @@ SOURCE=.\md5.c
# End Source File
# Begin Source File
SOURCE=.\memcmp.c
# End Source File
# Begin Source File
SOURCE=.\passwd.c
# End Source File
# Begin Source File
@ -132,15 +128,7 @@ SOURCE=..\..\include\portable.h
# End Source File
# Begin Source File
SOURCE=.\setproctitle.c
# End Source File
# Begin Source File
SOURCE=.\sha1.c
# End Source File
# Begin Source File
SOURCE=.\tempnam.c
# End Source File
# End Target
# End Project

View File

@ -51,6 +51,18 @@
# define LOCK_API "flock"
#endif
#if !defined(USE_LOCKF) && !defined(USE_FCNTL) && !defined(USE_FLOCK)
int lutil_lockf ( int fd ) {
fd = fd;
return 0;
}
int lutil_unlockf ( int fd ) {
fd = fd;
return 0;
}
#endif
#ifdef USE_LOCKF
int lutil_lockf ( int fd ) {
/* use F_LOCK instead of F_TLOCK, ie: block */

View File

@ -138,7 +138,7 @@ void
lutil_SHA1Update(
lutil_SHA1_CTX *context,
const unsigned char *data,
u_int len
uint32 len
)
{
u_int i, j;