# HG changeset patch # User Richard M. Stallman # Date 807653980 0 # Node ID 96819e0ab508c05c812ec62d99b20a548874c127 # Parent d69a2d6d1ae998355daf95c92d0ce1f68a6e2759 (main): Mention lock file name in error message. diff -r d69a2d6d1ae9 -r 96819e0ab508 lib-src/movemail.c --- a/lib-src/movemail.c Sat Aug 05 06:33:01 1995 +0000 +++ b/lib-src/movemail.c Sat Aug 05 20:19:40 1995 +0000 @@ -237,7 +237,11 @@ /* 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);