Ticket #3091 (closed defect: invalid)

Opened 8 weeks ago

Last modified 7 weeks ago

too few arguments to function 'mutt_pretty_mailbox

Reported by: riesebie Owned by: mutt-dev
Priority: major Milestone:
Component: mutt Version:
Keywords: Cc:

Description

Latest hg pull gives:

../status.c: In function 'status_format_str':
../status.c:103: error: too few arguments to function 'mutt_pretty_mailbox'

Change History

  Changed 8 weeks ago by Paul Walker

On Sun, Jul 06, 2008 at 09:22:18AM -0000, Mutt wrote:

>  ../status.c: In function 'status_format_str':[[BR]]
>  ../status.c:103: error: too few arguments to function
>  'mutt_pretty_mailbox'

Hm. Works for me here. I'm seeing the following version:

changeset:   5443:8b783c916893
branch:      HEAD
user:        Rocco Rutte <pdmef@gmx.net>
date:        Wed Jul 02 11:19:14 2008 +0200
summary:     Use realpath() in mutt_pretty_mailbox() for paths that may need it.

which looks like it's added a parameter to a  mutt_pretty_mailbox call in
status_format_str. Maybe you're a pull behind...?

(Or maybe I'm not seeing the tip for soem reason, but "hg merge -r HEAD"
didn't do anything this time.)

follow-up: ↓ 3   Changed 8 weeks ago by pdmef

  • status changed from new to closed
  • resolution set to invalid

Yes, the changeset adds the size of the buffer passed to mutt_pretty_mailbox as parameter. I also did that change in status_format_str(), so I assume a patch is in use (since the call is at line 102 not 103)... and all patches have to be updated for this change.

in reply to: ↑ 2   Changed 7 weeks ago by riesebie

Replying to pdmef:

Yes, the changeset adds the size of the buffer passed to mutt_pretty_mailbox as parameter. I also did that change in status_format_str(), so I assume a patch is in use (since the call is at line 102 not 103)... and all patches have to be updated for this change.

Sorry, there was something wrong with compressed folder patch.

Note: See TracTickets for help on using tickets.