summaryrefslogtreecommitdiff
path: root/misc/mc/files/patch-mc.1
blob: 53d1715bc516ca7b4e9e2f3d44a000ae4b614e36 (plain) (blame)
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
--- doc/es/mc.1.in.orig	Wed Feb  5 21:54:31 2003
+++ doc/es/mc.1.in	Tue Jun 15 03:15:09 2004
@@ -1361,8 +1361,10 @@
 	od -c %f
 
 B	Edita un informe de errores y lo env�a al superusuario
-	vi /tmp/mail.$$
-	mail -s "Error Midnight Commander" root < /tmp/mail.$$
+	I=`mktemp ${MC_TMPDIR:-/tmp}/mail.XXXXXX` || exit 1
+	vi $I
+	mail -s "Error Midnight Commander" root < $I
+	rm -f $I
 
 M	Lee al correo
 	emacs -f rmail
--- doc/hu/mc.1.in.orig	Thu Jan 16 16:30:55 2003
+++ doc/hu/mc.1.in	Tue Jun 15 03:15:09 2004
@@ -1381,8 +1381,10 @@
         od -c %f
 
 B       A hiba le�r�s szerkeszt�se �s elk�ld�se a root-nak
-        vi /tmp/mail.$$
-        mail -s "Midnight Commander bug" root < /tmp/mail.$$
+	I=`mktemp ${MC_TMPDIR:-/tmp}/mail.XXXXXX` || exit 1
+        vi $I
+        mail -s "Midnight Commander bug" root < $I
+	rm -f $I
 
 M       Lev�l olvas�s
         emacs -f rmail
--- doc/it/mc.1.in.orig	Sun Jan 19 23:11:06 2003
+++ doc/it/mc.1.in	Tue Jun 15 03:15:09 2004
@@ -1379,8 +1379,10 @@
 	od -c %f
 
 B	Modifica un rapporto bachi e lo spedisce a root
-	vi /tmp/mail.$$
-	mail -s "Midnight Commander bug" root < /tmp/mail.$$
+	I=`mktemp ${MC_TMPDIR:-/tmp}/mail.XXXXXX` || exit 1
+	vi $I
+	mail -s "Midnight Commander bug" root < $I
+	rm -f $I
 
 M	Legge la posta
 	emacs -f rmail
--- doc/mc.1.in.orig	Wed Feb  5 21:54:31 2003
+++ doc/mc.1.in	Tue Jun 15 03:15:09 2004
@@ -1385,8 +1385,10 @@
 	od -c %f
 
 B	Edit a bug report and send it to root
-	vi /tmp/mail.$$
-	mail -s "Midnight Commander bug" root < /tmp/mail.$$
+	I=`mktemp ${MC_TMPDIR:-/tmp}/mail.XXXXXX` || exit 1
+	vi $I
+	mail -s "Midnight Commander bug" root < $I
+	rm -f $I
 
 M	Read mail
 	emacs -f rmail
--- doc/ru/mc.1.in.orig	Tue Feb  4 03:59:14 2003
+++ doc/ru/mc.1.in	Tue Jun 15 03:15:09 2004
@@ -1557,8 +1557,10 @@
 	od -c %f
 
 B	Edit a bug report and send it to root
-	vi /tmp/mail.$$
-	mail -s "Midnight Commander bug" root < /tmp/mail.$$
+	I=`mktemp ${MC_TMPDIR:-/tmp}/mail.XXXXXX` || exit 1
+	vi $I
+	mail -s "Midnight Commander bug" root < $I
+	rm -f $I
 
 M	Read mail
 	emacs -f rmail