Actually close the lock file when unlocking.

Henning Meier-Geinitz <henning@meier-geinitz.de>
DEVEL_2_0_BRANCH-1
Henning Geinitz 2002-01-10 22:54:32 +00:00
rodzic 756a60193f
commit b8fafb4701
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -369,6 +369,8 @@ qc_unlock (QC_Device *q)
sprintf (lockfile, "/tmp/LOCK.qcam.0x%x", q->port);
unlink (lockfile);
close (q->lock_fd);
q->lock_fd = -1;
}
#endif
return SANE_STATUS_GOOD;