2006-07-09 [colin] 2.3.1cvs78
* src/textview.c Show errors in textviewer's command Patch by H. Merijn Brand
This commit is contained in:
parent
83d03099f6
commit
af47e11269
|
@ -1,3 +1,9 @@
|
|||
2006-07-09 [colin] 2.3.1cvs78
|
||||
|
||||
* src/textview.c
|
||||
Show errors in textviewer's command
|
||||
Patch by H. Merijn Brand
|
||||
|
||||
2006-07-09 [colin] 2.3.1cvs77
|
||||
|
||||
* src/compose.c
|
||||
|
|
|
@ -1678,3 +1678,4 @@
|
|||
( cvs diff -u -r 1.96.2.125 -r 1.96.2.126 src/textview.c; ) > 2.3.1cvs75.patchset
|
||||
( cvs diff -u -r 1.382.2.293 -r 1.382.2.294 src/compose.c; cvs diff -u -r 1.12.2.27 -r 1.12.2.28 src/prefs_template.c; cvs diff -u -r 1.5.12.4 -r 1.5.12.5 src/quote_fmt.h; cvs diff -u -r 1.22.2.22 -r 1.22.2.23 src/quote_fmt_parse.y; ) > 2.3.1cvs76.patchset
|
||||
( cvs diff -u -r 1.382.2.294 -r 1.382.2.295 src/compose.c; ) > 2.3.1cvs77.patchset
|
||||
( cvs diff -u -r 1.96.2.126 -r 1.96.2.127 src/textview.c; ) > 2.3.1cvs78.patchset
|
||||
|
|
|
@ -11,7 +11,7 @@ MINOR_VERSION=3
|
|||
MICRO_VERSION=1
|
||||
INTERFACE_AGE=0
|
||||
BINARY_AGE=0
|
||||
EXTRA_VERSION=77
|
||||
EXTRA_VERSION=78
|
||||
EXTRA_RELEASE=
|
||||
EXTRA_GTK2_VERSION=
|
||||
|
||||
|
|
|
@ -911,13 +911,18 @@ static void textview_write_body(TextView *textview, MimeInfo *mimeinfo)
|
|||
goto textview_default;
|
||||
}
|
||||
if (pid == 0) { /* child */
|
||||
int rc;
|
||||
gchar **argv;
|
||||
argv = strsplit_with_quote(buf, " ", 0);
|
||||
close(1);
|
||||
close(pfd[0]);
|
||||
dup(pfd[1]);
|
||||
execvp(argv[0], argv);
|
||||
rc = execvp(argv[0], argv);
|
||||
close(pfd[1]);
|
||||
printf (_("The command to view attachment "
|
||||
"as text failed:\n"
|
||||
" %s\n"
|
||||
"Exit code %d\n"), buf, rc);
|
||||
exit(255);
|
||||
}
|
||||
close(pfd[1]);
|
||||
|
|
Loading…
Reference in a new issue