chiark
/
gitweb
/
~mdw
/
misc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d44f446
)
locking: Fix uninitialized variable.
author
Mark Wooding
<mdw@distorted.org.uk>
Thu, 2 Mar 2006 01:47:24 +0000
(
01:47
+0000)
committer
Mark Wooding
<mdw@distorted.org.uk>
Thu, 2 Mar 2006 01:47:24 +0000
(
01:47
+0000)
Could cause bizarre effects with SIGALRM.
locking.c
patch
|
blob
|
blame
|
history
diff --git
a/locking.c
b/locking.c
index cf2917a6008ca5c3f1b6578ed64e13ea91bec660..cd4e81d898eb06e011d43ddeea2038b0811af392 100644
(file)
--- a/
locking.c
+++ b/
locking.c
@@
-96,7
+96,7
@@
int main(int argc, char *argv[])
struct flock l;
char *p;
int t = -1;
struct flock l;
char *p;
int t = -1;
- unsigned int ot;
+ unsigned int ot
= 0
;
time_t nt;
pid_t kid;
int st;
time_t nt;
pid_t kid;
int st;