<<< Date Index >>>     <<< Thread Index >>>

Re: [Mutt] #1362: mutt does not change ctime of mbox files after



#1362: mutt does not change ctime of mbox files after changing message 
attributes
---------------------------------------+------------------------------------
  Reporter:  Debian User <edi@xxxxxx>  |       Owner:  mutt-dev
      Type:  defect                    |      Status:  closed  
  Priority:  trivial                   |   Milestone:          
 Component:  mutt                      |     Version:  1.4i    
Resolution:  fixed                     |    Keywords:  patch   
---------------------------------------+------------------------------------
Description changed by brendan:

Old description:

> {{{
> Package: mutt
> Version: 1.4.0-4
> Severity: normal
>
> -- Please type your report below this line
>
> See subject. I open a mailbox with mutt -f, toggle the read/unread flags,
> exit
> mutt, mutt saves the mbox file (visible with diff). But ctime of this
> file is
> not changed while writting!
>
> This behaviour extemely confuses CVS and backup scripts. Please make this
> work
> as expected (changing ctime) or at least configurable.
>
> MfG,
> Eduard.
>
> -- Build environment information
>
> (Note: This is the build environment installed on the system
> muttbug is run on.  Information may or may not match the environment
> used to build mutt.)
>
> - gcc version information
> cc
> Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs
> gcc version 2.95.4 20011002 (Debian prerelease)
>
> - CFLAGS
> -Wall -pedantic -g -O2
>
> -- Mutt Version Information
>
> Mutt 1.4i (2002-05-29)
> Copyright (C) 1996-2001 Michael R. Elkins and others.
> Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
> Mutt is free software, and you are welcome to redistribute it
> under certain conditions; type `mutt -vv' for details.
>
> System: Linux 2.4.20-pre11-sat-2410-404 (i686) [using ncurses 5.2]
> Compile options:
> -DOMAIN
> -DEBUG
> -HOMESPOOL  +USE_SETGID  +USE_DOTLOCK  +DL_STANDALONE
> +USE_FCNTL  -USE_FLOCK
> +USE_POP  +USE_IMAP  -USE_GSS  -USE_SSL  +USE_GNUTLS  +USE_SASL
> +HAVE_REGCOMP  -USE_GNU_REGEX
> +HAVE_COLOR  +HAVE_START_COLOR  +HAVE_TYPEAHEAD  +HAVE_BKGDSET
> +HAVE_CURS_SET  +HAVE_META  +HAVE_RESIZETERM
> +HAVE_PGP  -BUFFY_SIZE -EXACT_ADDRESS  -SUN_ATTACHMENT
> +ENABLE_NLS  -LOCALES_HACK  +COMPRESSED  +HAVE_WC_FUNCS
> +HAVE_LANGINFO_CODESET  +HAVE_LANGINFO_YESEXPR
> +HAVE_ICONV  -ICONV_NONTRANS  +HAVE_GETSID  +HAVE_GETADDRINFO
> ISPELL="/usr/bin/ispell"
> SENDMAIL="/usr/sbin/sendmail"
> MAILPATH="/var/mail"
> PKGDATADIR="/usr/share/mutt"
> SYSCONFDIR="/etc"
> EXECSHELL="/bin/sh"
> MIXMASTER="mixmaster"
> To contact the developers, please mail to <mutt-dev@xxxxxxxx>.
> To report a bug, please use the flea(1) utility.
>
> patch-1.3.28.cvs.indexsegfault
> patch-1.3.27.bse.xtitles.1
> patch-1.3.26.appoct.3
> patch-1.3.15.sw.pgp-outlook.1
> patch-1.4.admcd.gnutlsbuild.53d
> patch-1.4.admcd.gnutlsdlopen.53d
> patch-1.4.admcd.gnutls.55d
> Md.use_editor
> Md.paths_mutt.man
> Md.muttbug_no_list
> Md.use_etc_mailname
> Md.muttbug_warning
> Md.gpg_status_fd
> patch-1.4.0.cd.edit_threads.9.2
> patch-1.3.24.rr.compressed.1
> patch-1.3.23.1.ametzler.pgp_good_sign
>
> --- Begin /etc/Muttrc
> ignore "from " received content- mime-version status x-status message-id
> ignore sender references return-path lines
> ignore date delivered-to precedence errors-to in-reply-to user-agent
> ignore x-loop x-sender x-mailer x-msmail-priority x-mimeole x-priority
> ignore x-accept-language x-authentication-warning
> bind editor    "\e<delete>"    kill-word
> bind editor    "\e<backspace>" kill-word
> bind editor     <delete>  delete-char
> unset use_domain
> unset use_from
> set sort=threads
> unset write_bcc
> unset bounce_delivered
> macro index \eb '/~b ' 'search in message bodies'
> macro index \cb |urlview\n 'call urlview to extract URLs out of a
> message'
> macro pager \cb |urlview\n 'call urlview to extract URLs out of a
> message'
> set pipe_decode
> macro generic <f1> "!zcat /usr/share/doc/mutt/manual.txt.gz | sensible-
> pager\n" "Show Mutt documentation"
> macro index   <f1> "!zcat /usr/share/doc/mutt/manual.txt.gz | sensible-
> pager\n" "Show Mutt documentation"
> macro pager   <f1> "!zcat /usr/share/doc/mutt/manual.txt.gz | sensible-
> pager\n" "Show Mutt documentation"
> open-hook \\.gz$ "gzip -cd %f > %t"
> close-hook \\.gz$ "gzip -c %t > %f"
> append-hook \\.gz$ "gzip -c %t >> %f"
> color normal    white black
> color attachment brightyellow black
> color hdrdefault cyan black
> color indicator black cyan
> color markers   brightred black
> color quoted    green black
> color signature cyan black
> color status    brightgreen blue
> color tilde     blue black
> color tree      red black
> set ispell=ispell
> set pgp_decode_command="/usr/bin/gpg   --status-fd=2 %?p?--passphrase-fd
> 0? --no-verbose --quiet  --batch  --output - %f"
> set pgp_verify_command="/usr/bin/gpg   --status-fd=2 --no-verbose --quiet
> --batch  --output - --verify %s %f"
> set pgp_decrypt_command="/usr/bin/gpg   --status-fd=2 --passphrase-fd 0
> --no-verbose --quiet  --batch  --output - %f"
> set pgp_sign_command="/usr/bin/gpg    --no-verbose --batch --quiet
> --output - --passphrase-fd 0 --armor --detach-sign --textmode %?a?-u %a?
> %f"
> set pgp_clearsign_command="/usr/bin/gpg   --no-verbose --batch --quiet
> --output - --passphrase-fd 0 --armor --textmode --clearsign %?a?-u %a?
> %f"
> set pgp_encrypt_only_command="/usr/lib/mutt/pgpewrap /usr/bin/gpg
> --batch  --quiet  --no-verbose --output - --encrypt --textmode --armor
> --always-trust -- -r %r -- %f"
> set pgp_encrypt_sign_command="/usr/lib/mutt/pgpewrap /usr/bin/gpg
> --passphrase-fd 0  --batch --quiet  --no-verbose  --textmode --output -
> --encrypt --sign %?a?-u %a? --armor --always-trust -- -r %r -- %f"
> set pgp_import_command="/usr/bin/gpg  --no-verbose --import -v %f"
> set pgp_export_command="/usr/bin/gpg   --no-verbose --export --armor %r"
> set pgp_verify_key_command="/usr/bin/gpg   --verbose --batch
> --fingerprint --check-sigs %r"
> set pgp_list_pubring_command="/usr/bin/gpg   --no-verbose --batch --quiet
> --with-colons --list-keys %r"
> set pgp_list_secring_command="/usr/bin/gpg   --no-verbose --batch --quiet
> --with-colons --list-secret-keys %r"
> set pgp_good_sign="^\\[GNUPG:\\] GOODSIG"
> --- End /etc/Muttrc
>

>
> Received: (at submit) by bugs.guug.de; 27 Oct 2002 13:28:42 +0000
> From md@xxxxxxxx Sun Oct 27 14:28:42 2002
> Received: from attila.bofh.it ([213.92.8.2] ident=postfix)
>         by trithemius.gnupg.org with esmtp (Exim 3.35 #1 (Debian))
>         id 185nT8-0003R8-00
>         for <submit@xxxxxxxxxxxx>; Sun, 27 Oct 2002 14:28:42 +0100
> Received: by attila.bofh.it (Postfix, from userid 10)
>         id 52AB55F812; Sun, 27 Oct 2002 14:30:27 +0100 (CET)
> Received: by wonderland.linux.it (Postfix/Md, from userid 1001)
>         id 13A19340F4; Sun, 27 Oct 2002 14:30:08 +0100 (CET)
> From: Marco d'Itri <md@xxxxxxxx>
> To: submit@xxxxxxxxxxxx
> Subject: mutt-1.4i: mutt does not change ctime of mbox files after
> changing message attributes
> X-GUUG-CC: 166447@xxxxxxxxxxxxxxx
> Message-Id: <20021027133008.13A19340F4@xxxxxxxxxxxxxxxxxxx>
> Date: Sun, 27 Oct 2002 14:30:08 +0100 (CET)
>
> Package: mutt
> Version: 1.4.0-4
> Severity: normal
>
> [NOTE: this bug report has been submitted to the debian BTS as
> Bug#166447.
> Please Cc all your replies to 166447@xxxxxxxxxxxxxxx .]
>
> From: Debian User <edi@xxxxxx>
> Subject: mutt-1.4i: mutt does not change ctime of mbox files after
> changing message attributes
> Date: Sat, 26 Oct 2002 13:35:41 +0200
>
> -- Please type your report below this line
>
> See subject. I open a mailbox with mutt -f, toggle the read/unread flags,
> exit
> mutt, mutt saves the mbox file (visible with diff). But ctime of this
> file is
> not changed while writting!
>
> This behaviour extemely confuses CVS and backup scripts. Please make this
> work
> as expected (changing ctime) or at least configurable.
>
> MfG,
> Eduard.
>
> -- Build environment information
>
> (Note: This is the build environment installed on the system
> muttbug is run on.  Information may or may not match the environment
> used to build mutt.)
>
> - gcc version information
> cc
> Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs
> gcc version 2.95.4 20011002 (Debian prerelease)
>
> - CFLAGS
> -Wall -pedantic -g -O2
>
> -- Mutt Version Information
>
> Mutt 1.4i (2002-05-29)
> Copyright (C) 1996-2001 Michael R. Elkins and others.
> Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
> Mutt is free software, and you are welcome to redistribute it
> under certain conditions; type `mutt -vv' for details.
>
> System: Linux 2.4.20-pre11-sat-2410-404 (i686) [using ncurses 5.2]
> Compile options:
> -DOMAIN
> -DEBUG
> -HOMESPOOL  +USE_SETGID  +USE_DOTLOCK  +DL_STANDALONE
> +USE_FCNTL  -USE_FLOCK
> +USE_POP  +USE_IMAP  -USE_GSS  -USE_SSL  +USE_GNUTLS  +USE_SASL
> +HAVE_REGCOMP  -USE_GNU_REGEX
> +HAVE_COLOR  +HAVE_START_COLOR  +HAVE_TYPEAHEAD  +HAVE_BKGDSET
> +HAVE_CURS_SET  +HAVE_META  +HAVE_RESIZETERM
> +HAVE_PGP  -BUFFY_SIZE -EXACT_ADDRESS  -SUN_ATTACHMENT
> +ENABLE_NLS  -LOCALES_HACK  +COMPRESSED  +HAVE_WC_FUNCS
> +HAVE_LANGINFO_CODESET  +HAVE_LANGINFO_YESEXPR
> +HAVE_ICONV  -ICONV_NONTRANS  +HAVE_GETSID  +HAVE_GETADDRINFO
> ISPELL="/usr/bin/ispell"
> SENDMAIL="/usr/sbin/sendmail"
> MAILPATH="/var/mail"
> PKGDATADIR="/usr/share/mutt"
> SYSCONFDIR="/etc"
> EXECSHELL="/bin/sh"
> MIXMASTER="mixmaster"
> To contact the developers, please mail to <mutt-dev@xxxxxxxx>.
> To report a bug, please use the flea(1) utility.
>
> patch-1.3.28.cvs.indexsegfault
> patch-1.3.27.bse.xtitles.1
> patch-1.3.26.appoct.3
> patch-1.3.15.sw.pgp-outlook.1
> patch-1.4.admcd.gnutlsbuild.53d
> patch-1.4.admcd.gnutlsdlopen.53d
> patch-1.4.admcd.gnutls.55d
> Md.use_editor
> Md.paths_mutt.man
> Md.muttbug_no_list
> Md.use_etc_mailname
> Md.muttbug_warning
> Md.gpg_status_fd
> patch-1.4.0.cd.edit_threads.9.2
> patch-1.3.24.rr.compressed.1
> patch-1.3.23.1.ametzler.pgp_good_sign
>
> --- Begin /etc/Muttrc
> ignore "from " received content- mime-version status x-status message-id
> ignore sender references return-path lines
> ignore date delivered-to precedence errors-to in-reply-to user-agent
> ignore x-loop x-sender x-mailer x-msmail-priority x-mimeole x-priority
> ignore x-accept-language x-authentication-warning
> bind editor    "\e<delete>"    kill-word
> bind editor    "\e<backspace>" kill-word
> bind editor     <delete>  delete-char
> unset use_domain
> unset use_from
> set sort=threads
> unset write_bcc
> unset bounce_delivered
> macro index \eb '/~b ' 'search in message bodies'
> macro index \cb |urlview\n 'call urlview to extract URLs out of a
> message'
> macro pager \cb |urlview\n 'call urlview to extract URLs out of a
> message'
> set pipe_decode
> macro generic <f1> "!zcat /usr/share/doc/mutt/manual.txt.gz | sensible-
> pager\n" "Show Mutt documentation"
> macro index   <f1> "!zcat /usr/share/doc/mutt/manual.txt.gz | sensible-
> pager\n" "Show Mutt documentation"
> macro pager   <f1> "!zcat /usr/share/doc/mutt/manual.txt.gz | sensible-
> pager\n" "Show Mutt documentation"
> open-hook \\.gz$ "gzip -cd %f > %t"
> close-hook \\.gz$ "gzip -c %t > %f"
> append-hook \\.gz$ "gzip -c %t >> %f"
> color normal    white black
> color attachment brightyellow black
> color hdrdefault cyan black
> color indicator black cyan
> color markers   brightred black
> color quoted    green black
> color signature cyan black
> color status    brightgreen blue
> color tilde     blue black
> color tree      red black
> set ispell=ispell
> set pgp_decode_command="/usr/bin/gpg   --status-fd=2 %?p?--passphrase-fd
> 0? --no-verbose --quiet  --batch  --output - %f"
> set pgp_verify_command="/usr/bin/gpg   --status-fd=2 --no-verbose --quiet
> --batch  --output - --verify %s %f"
> set pgp_decrypt_command="/usr/bin/gpg   --status-fd=2 --passphrase-fd 0
> --no-verbose --quiet  --batch  --output - %f"
> set pgp_sign_command="/usr/bin/gpg    --no-verbose --batch --quiet
> --output - --passphrase-fd 0 --armor --detach-sign --textmode %?a?-u %a?
> %f"
> set pgp_clearsign_command="/usr/bin/gpg   --no-verbose --batch --quiet
> --output - --passphrase-fd 0 --armor --textmode --clearsign %?a?-u %a?
> %f"
> set pgp_encrypt_only_command="/usr/lib/mutt/pgpewrap /usr/bin/gpg
> --batch  --quiet  --no-verbose --output - --encrypt --textmode --armor
> --always-trust -- -r %r -- %f"
> set pgp_encrypt_sign_command="/usr/lib/mutt/pgpewrap /usr/bin/gpg
> --passphrase-fd 0  --batch --quiet  --no-verbose  --textmode --output -
> --encrypt --sign %?a?-u %a? --armor --always-trust -- -r %r -- %f"
> set pgp_import_command="/usr/bin/gpg  --no-verbose --import -v %f"
> set pgp_export_command="/usr/bin/gpg   --no-verbose --export --armor %r"
> set pgp_verify_key_command="/usr/bin/gpg   --verbose --batch
> --fingerprint --check-sigs %r"
> set pgp_list_pubring_command="/usr/bin/gpg   --no-verbose --batch --quiet
> --with-colons --list-keys %r"
> set pgp_list_secring_command="/usr/bin/gpg   --no-verbose --batch --quiet
> --with-colons --list-secret-keys %r"
> set pgp_good_sign="^\\[GNUPG:\\] GOODSIG"
> --- End /etc/Muttrc
>

>

> >How-To-Repeat:
>
> >Fix:
> }}}

New description:

 [NOTE: this bug report has been submitted to the debian BTS as Bug#166447.
 Please Cc all your replies to 166447@xxxxxxxxxxxxxxx .]

 See subject. I open a mailbox with mutt -f, toggle the read/unread flags,
 exit
 mutt, mutt saves the mbox file (visible with diff). But ctime of this file
 is
 not changed while writting!

 This behaviour extemely confuses CVS and backup scripts. Please make this
 work
 as expected (changing ctime) or at least configurable.

 MfG,
 Eduard.

--

-- 
Ticket URL: <http://dev.mutt.org/trac/ticket/1362#comment:16>
Mutt <http://www.mutt.org/>
The Mutt mail user agent