2 changed files with 22 additions and 0 deletions
@ -0,0 +1,19 @@ |
|||||||
|
--- gup.h.orig Sat Nov 24 20:23:54 2001
|
||||||
|
+++ gup.h Sat Nov 24 20:23:44 2001
|
||||||
|
@@ -13,6 +13,7 @@
|
||||||
|
#include <ctype.h> /* isspace */
|
||||||
|
#include <errno.h> /* Needed for errno */
|
||||||
|
#include <stdarg.h>
|
||||||
|
+#include <fcntl.h>
|
||||||
|
|
||||||
|
#include <sys/file.h>
|
||||||
|
#include <sys/stat.h> /* umask */
|
||||||
|
@@ -31,7 +32,7 @@
|
||||||
|
#define MAX_LINE_SIZE 512
|
||||||
|
#define MODEST_SIZE 128
|
||||||
|
|
||||||
|
-#ifdef FILE_LOCK
|
||||||
|
+#ifdef USE_DOTLOCK
|
||||||
|
#define LOCK_SLEEP 10 /* time to sleep between lock attempts*/
|
||||||
|
#define MAX_LOCK_SLEEP_COUNT 10 /* maximum number of tries */
|
||||||
|
#endif
|
Loading…
Reference in new issue