X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/61e09274bb3338efbd9c50f797751853c99dba3b..6b4bc4a25eaac2eddd1bef51e3f00c21f98ed32d:/uip/slocal.c diff --git a/uip/slocal.c b/uip/slocal.c index f570aaaf..ebc2c26b 100644 --- a/uip/slocal.c +++ b/uip/slocal.c @@ -1453,7 +1453,7 @@ suppress_duplicates (int fd, char *file) * This will fail if your Maildelivery file doesn't * exist. */ - if ((lockfd = lkopen(file, O_RDWR, 0)) == -1) { + if ((lockfd = lkopendata(file, O_RDWR, 0)) == -1) { advise (file, "unable to perform file locking on"); free (cp); fclose (in); @@ -1474,7 +1474,7 @@ suppress_duplicates (int fd, char *file) } dbm_close (db); - lkclose(lockfd, file); + lkclosedata(lockfd, file); free (cp); fclose (in); return result;