1
0
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:
Richard M. Stallman 1995-08-05 20:19:40 +00:00
parent f1d71b2f75
commit d0776f5c89

View File

@ -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);