kopia lustrzana https://gitlab.com/sane-project/backends
Actually close the lock file when unlocking.
Henning Meier-Geinitz <henning@meier-geinitz.de>DEVEL_2_0_BRANCH-1
rodzic
756a60193f
commit
b8fafb4701
|
@ -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;
|
||||
|
|
Ładowanie…
Reference in New Issue