git.samba.org
/
vlendec
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1a794c
)
Fixed bug where waitsecs was being ignored.
author
Jeremy Allison
<jra@samba.org>
Wed, 23 Dec 1998 01:43:13 +0000
(
01:43
+0000)
committer
Jeremy Allison
<jra@samba.org>
Wed, 23 Dec 1998 01:43:13 +0000
(
01:43
+0000)
Jeremy.
source/lib/util_file.c
patch
|
blob
|
history
diff --git
a/source/lib/util_file.c
b/source/lib/util_file.c
index faceed1dbd51a6cbca49a8c50fa41d60e9a72eed..9eb38460d92380f3133dbcdd227831483bcd2ec6 100644
(file)
--- a/
source/lib/util_file.c
+++ b/
source/lib/util_file.c
@@
-51,7
+51,7
@@
BOOL do_file_lock(int fd, int waitsecs, int type)
lock.l_len = 1;
lock.l_pid = 0;
- alarm(
5
);
+ alarm(
waitsecs
);
ret = fcntl(fd, SMB_F_SETLKW, &lock);
alarm(0);
CatchSignal(SIGALRM, SIGNAL_CAST SIG_DFL);