Locking
This commit is contained in:
parent
5c7b925203
commit
0d8e11135d
3
link.c
3
link.c
|
@ -1636,9 +1636,12 @@ static void * mainloop (void *unused)
|
|||
filenamelen = strlen (filename);
|
||||
password = filename + filenamelen + 1;
|
||||
|
||||
lock ("open");
|
||||
openxref (filename, password);
|
||||
pdfinfo ();
|
||||
initpdims ();
|
||||
unlock ("open");
|
||||
|
||||
if (!wthack) {
|
||||
utf8filename = mbtoutf8 (filename);
|
||||
printd ("msg Opened %s (press h/F1 to get help)", utf8filename);
|
||||
|
|
Loading…
Reference in a new issue