Package: bsd-mailx / 8.1.2-0.20141216cvs-2

09-Saved-mbox-message.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From: Tollef Fog Heen <tollef@add.no>
Date: Sun, 1 Apr 2001 22:31:13 +0200
Subject: 09 Saved mbox message.

Debian Bug#68920:
Save message says mbox even when $MBOX is set
---
 quit.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/quit.c b/quit.c
index 0274b2c..c69f64a 100644
--- a/quit.c
+++ b/quit.c
@@ -275,9 +275,9 @@ quit(void)
 	}
 	(void)Fclose(obuf);
 	if (mcount == 1)
-		puts("Saved 1 message in mbox");
+		printf("Saved 1 message in %s\n", mbox);
 	else
-		printf("Saved %d messages in mbox\n", mcount);
+		printf("Saved %d messages in %s\n", mcount, mbox);
 
 	/*
 	 * Now we are ready to copy back preserved files to