Mercurial > emacs
diff lib-src/movemail.c @ 12777:96819e0ab508
(main): Mention lock file name in error message.
| author | Richard M. Stallman <rms@gnu.org> |
|---|---|
| date | Sat, 05 Aug 1995 20:19:40 +0000 |
| parents | 80bf29e6e978 |
| children | 0464324deda7 |
line wrap: on
line diff
--- 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);
