mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-12 16:23:57 +00:00
(main): Mention lock file name in error message.
This commit is contained in:
parent
f1d71b2f75
commit
d0776f5c89
@ -237,7 +237,11 @@ main (argc, argv)
|
||||
/* Give up if cannot do that. */
|
||||
desc = open (tempname, O_WRONLY | O_CREAT | O_EXCL, 0666);
|
||||
if (desc < 0)
|
||||
pfatal_with_name ("lock file--see source file lib-src/movemail.c");
|
||||
{
|
||||
char *message = (char *) malloc (strlen (tempname) + 50);
|
||||
sprintf (message, "%s--see source file lib-src/movemail.c");
|
||||
pfatal_with_name (message);
|
||||
}
|
||||
close (desc);
|
||||
|
||||
tem = link (tempname, lockname);
|
||||
|
Loading…
Reference in New Issue
Block a user