Makefile, debian/{control,inst}: Sort the various lists of things.
[misc] / locking.c
index f486ea4..8931dbd 100644 (file)
--- a/locking.c
+++ b/locking.c
@@ -224,7 +224,9 @@ doneopts:
       errno = 0;
   }
   signal(SIGALRM, oalrm);
-  if (ot) {
+  if (!ot)
+    alarm(0);
+  else {
     nt = time(0) - nt;
     if (nt > ot)
       raise(SIGALRM);