Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
0baee414
...
0baee414bcfa5dac5cb309e86800ada84f0eaefa
authored
2006-05-17 09:00:15 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Update
1 parent
4fe27f2a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
1 deletions
ChangeLog
mh/folder.c
ChangeLog
View file @
0baee41
2006-05-17 Sergey Poznyakoff <gray@gnu.org.ua>
* mh/folder.c: Improve compatibility with nmh: if a folder is
specified along with -all, set the recursion depth to 2 (unless
-recurse has also been given).
(print_header,print_total): Default to -1
(recurse): Removed in favor of max_depth.
(has_folder,max_depth): New variable.
(OPTION_IS_SET): New macro.
(opt_handler): Updated for new variable usage.
(_scan): Depth argument is now size_t
Take into account max_depth.
(action_print): Use OPTION_IS_SET with the three-state variables
(main): Properly set/clear show_all and max_depth.
2006-05-16 Sergey Poznyakoff <gray@gnu.org.ua>
* mh/folder.c (opt_handler): Allow -noheader and -nototal to be
...
...
mh/folder.c
View file @
0baee41
/* GNU Mailutils -- a suite of utilities for electronic mail
Copyright (C) 1999, 2000, 2001, 2002, 2003,
2005 Free Software Foundation, Inc.
2005
, 2006
Free Software Foundation, Inc.
GNU Mailutils is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
...
...
@@ -877,6 +877,10 @@ main (int argc, char **argv)
opt_handler
,
NULL
,
&
index
);
if
(
has_folder
)
{
/* If a +folder is given along with the -all switch, folder will, in
addition to setting the current folder, list the top-level
subfolders for the current folder (with -norecurse) or list all
sub-folders under the current folder recursively (with -recurse). */
if
(
show_all
&&
max_depth
)
max_depth
=
2
;
show_all
=
0
;
...
...
Please
register
or
sign in
to post a comment