diff options
| author | Richard M. Stallman | 1995-08-05 20:19:40 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-08-05 20:19:40 +0000 |
| commit | d0776f5c896d161ad5fa5c115b4fb37cf98c7f27 (patch) | |
| tree | 9cf09e4921bb9801cd95e8561471256421d07c00 | |
| parent | f1d71b2f75923b697f59f2873f931d68979df8f7 (diff) | |
| download | emacs-d0776f5c896d161ad5fa5c115b4fb37cf98c7f27.tar.gz emacs-d0776f5c896d161ad5fa5c115b4fb37cf98c7f27.zip | |
(main): Mention lock file name in error message.
| -rw-r--r-- | lib-src/movemail.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib-src/movemail.c b/lib-src/movemail.c index 83a9fed2acc..fd33302b9e6 100644 --- a/lib-src/movemail.c +++ b/lib-src/movemail.c | |||
| @@ -237,7 +237,11 @@ main (argc, argv) | |||
| 237 | /* Give up if cannot do that. */ | 237 | /* Give up if cannot do that. */ |
| 238 | desc = open (tempname, O_WRONLY | O_CREAT | O_EXCL, 0666); | 238 | desc = open (tempname, O_WRONLY | O_CREAT | O_EXCL, 0666); |
| 239 | if (desc < 0) | 239 | if (desc < 0) |
| 240 | pfatal_with_name ("lock file--see source file lib-src/movemail.c"); | 240 | { |
| 241 | char *message = (char *) malloc (strlen (tempname) + 50); | ||
| 242 | sprintf (message, "%s--see source file lib-src/movemail.c"); | ||
| 243 | pfatal_with_name (message); | ||
| 244 | } | ||
| 241 | close (desc); | 245 | close (desc); |
| 242 | 246 | ||
| 243 | tem = link (tempname, lockname); | 247 | tem = link (tempname, lockname); |