char tempfile[_POSIX_PATH_MAX];
if ((fp = safe_fopen (a->filename, "r")) == NULL) {
char tempfile[_POSIX_PATH_MAX];
if ((fp = safe_fopen (a->filename, "r")) == NULL) {
fseek (fp, b->offset, 0);
mutt_mktemp (tempfile);
if ((tfp = safe_fopen (tempfile, "w")) == NULL) {
fseek (fp, b->offset, 0);
mutt_mktemp (tempfile);
if ((tfp = safe_fopen (tempfile, "w")) == NULL) {
fclose (tfp);
mutt_unlink (a->filename);
if (mutt_rename_file (tempfile, a->filename) != 0) {
fclose (tfp);
mutt_unlink (a->filename);
if (mutt_rename_file (tempfile, a->filename) != 0) {
thepid = mutt_create_filter (path, &s.fpout, NULL, NULL);
if (thepid < 0) {
thepid = mutt_create_filter (path, &s.fpout, NULL, NULL);
if (thepid < 0) {
thepid = mutt_create_filter (path, &ofp, NULL, NULL);
if (thepid < 0) {
thepid = mutt_create_filter (path, &ofp, NULL, NULL);
if (thepid < 0) {
}
if ((thepid = mutt_create_filter (command, &fpout, NULL, NULL)) < 0) {
}
if ((thepid = mutt_create_filter (command, &fpout, NULL, NULL)) < 0) {
mutt_endwin (NULL);
if ((thepid =
mutt_create_filter (NONULL (PrintCmd), &fpout, NULL, NULL)) < 0) {
mutt_endwin (NULL);
if ((thepid =
mutt_create_filter (NONULL (PrintCmd), &fpout, NULL, NULL)) < 0) {