mutt stable branch with some hacks

Revert "Fixes unchecked return from link() in dotlock.c"

This reverts commit 317b7f6b53d8a4272acf8ef1b56f3406e9bc2691.

+2 -3
+2 -3
dotlock.c
··· 595 595 int hard_count = 0; 596 596 struct stat sb; 597 597 time_t t; 598 - int rc; 599 598 600 599 snprintf (nfslockfile, sizeof (nfslockfile), "%s.%s.%d", 601 600 realpath, Hostname, (int) getpid ()); ··· 630 629 { 631 630 632 631 BEGIN_PRIVILEGED (); 633 - rc = link (nfslockfile, lockfile); 632 + link (nfslockfile, lockfile); 634 633 END_PRIVILEGED (); 635 634 636 - if (rc != 0 || stat (nfslockfile, &sb) != 0) 635 + if (stat (nfslockfile, &sb) != 0) 637 636 { 638 637 /* perror ("stat"); */ 639 638 return DL_EX_ERROR;