[gnus git] branch master updated: n0-17-104-g18d98eb =1= nnmh.el (nnmh-request-list-1): Work on MS Windows.

Katsumi Yamaoka <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  18d98eb4206c6017e81c05b12874aeb2f9858aef (commit)
      from  be3754037e405c741b7467005f9c11a8de3314f6 (commit)


- Log -----------------------------------------------------------------
commit 18d98eb4206c6017e81c05b12874aeb2f9858aef
Author: Katsumi Yamaoka <[email protected]>
Date:   Thu Jun 30 01:12:47 2011 +0000

    nnmh.el (nnmh-request-list-1): Work on MS Windows.

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 4a8589f..a6d59a0 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
+2011-06-30  Katsumi Yamaoka  <[email protected]>
+
+	* nnmh.el (nnmh-request-list-1): Work on MS Windows.
+
 2011-06-30  Lars Magne Ingebrigtsen  <[email protected]>
 
 	* message.el (message-point-in-header-p): Tweak the function to default
diff --git a/lisp/nnmh.el b/lisp/nnmh.el
index 5fa1a89..ec270eb 100644
--- a/lisp/nnmh.el
+++ b/lisp/nnmh.el
@@ -210,7 +210,9 @@ as unread by Gnus.")
 	(max 0)
 	min rdir num subdirectoriesp file)
     ;; Recurse down directories.
-    (setq subdirectoriesp (> (nth 1 (file-attributes dir)) 2))
+    (setq subdirectoriesp
+	  ;; nth 1 of file-attributes always 1 on MS Windows :(
+	  (/= (nth 1 (file-attributes (file-truename dir))) 2))
     (dolist (rdir files)
       (if (or (not subdirectoriesp)
 	      (file-regular-p rdir))

-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.

Summary of changes:
 lisp/ChangeLog |    6 +++++-
 lisp/nnmh.el   |    4 +++-
 2 files changed, 8 insertions(+), 2 deletions(-)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".

The branch, master has been updated


hooks/post-receive
-- 
Gnus Project
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.