~ubuntu-branches/ubuntu/precise/mutt/precise

« back to all changes in this revision

Viewing changes to editmsg.c

  • Committer: Bazaar Package Importer
  • Author(s): Christoph Berg, Adeodato Simó, Christoph Berg
  • Date: 2007-11-03 23:00:04 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20071103230004-43e36pnhub87junc
Tags: 1.5.17-1
[ Adeodato Simó ]
* Move the packaging back to Bazaar, adjust X-VCS-* accordingly.

[ Christoph Berg ]
* Mention libsasl2-modules-gssapi-mit in README.Debian. (Closes: #433425)
* Call autoreconf at build time, drop the autotools-update patch.
* Update menu file, add lintian override file.
* Refresh patches.

* New upstream version:
  + fix segfaults with single byte 8-bit characters in index_format.
    (Closes: #420598, Mutt: #2882)
  + properly render subject headers with encoded linefeeds.
    (Closes: #264014, Mutt: #1810)
  + only calls gnutls_error_is_fatal when gnutls_record_recv returns a
    negative value. (Closes: #439775, Mutt: #2954)
  + Large file support for mutt_pretty_size().
    (Closes: #352478, #416555, Mutt: #2191)
  + Do not consider empty pipes for filtering in format strings.
    (Closes: #447340)

Show diffs side-by-side

added added

removed removed

Lines of Context:
91
91
    goto bail;
92
92
  }
93
93
 
94
 
  if (stat (tmp, &sb) == 0)
95
 
    mtime = sb.st_mtime;
 
94
  if ((rc = stat (tmp, &sb)) == -1)
 
95
  {
 
96
    mutt_error (_("Can't stat %s: %s"), tmp, strerror (errno));
 
97
    goto bail;
 
98
  }
96
99
 
97
100
  /*
98
101
   * 2002-09-05 me@sigpipe.org
109
112
    goto bail;
110
113
  }
111
114
 
 
115
  mtime = mutt_decrease_mtime (tmp, &sb);
 
116
 
112
117
  mutt_edit_file (NONULL(Editor), tmp);
113
118
 
114
119
  if ((rc = stat (tmp, &sb)) == -1)