Mercurial > emacs
changeset 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 | d69a2d6d1ae9 |
children | 657be7aaa043 |
files | lib-src/movemail.c |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
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);