From: racin@free.fr
To: Carl Worth <cworth@cworth.org>
Cc: notmuch@notmuchmail.org
Subject: Re: Bug with commit 2e96464f9705be4ec772280cad71a6c9d5831e6f
Date: Sat, 23 Jan 2010 10:02:12 +0100 (CET) [thread overview]
Message-ID: <1360022660.3084081264237332798.JavaMail.root@zimbra1-e1.priv.proxad.net> (raw)
In-Reply-To: <1332123765.3083871264237284361.JavaMail.root@zimbra1-e1.priv.proxad.net>
[-- Attachment #1: Type: text/plain, Size: 1045 bytes --]
Works with the following patch (replace a DT_UKNOWN with DT_UNKNOWN, else it fails to compile)
Matthieu
----- Mail Original -----
De: "Carl Worth" <cworth@cworth.org>
À: racin@free.fr, "Ali Polatel" <alip@exherbo.org>
Cc: notmuch@notmuchmail.org
Envoyé: Samedi 23 Janvier 2010 07h06:12 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne
Objet: Re: [notmuch] Bug with commit 2e96464f9705be4ec772280cad71a6c9d5831e6f
On Sat, 16 Jan 2010 02:42:39 +0100 (CET), racin@free.fr wrote:
> I still confirm the bug.
>
> The problem is due to relying on non-standardized fields of directory entries (i.e. d_type), which don't behave the
> same on reiserfs than on ext2 (I use reiserfs).
>
> The following ugly patch "solves" my problem.
I just pushed a cleaner version of this patch from a later post. I hope
it helps and that you can have fun with notmuch!
-Carl
PS. Micah and Martin, Stacy says "you're welcome" for this and any
further notmuch work that happens to get done during this vacation. :-)
[-- Attachment #2: patch --]
[-- Type: application/octet-stream, Size: 362 bytes --]
diff --git a/notmuch-new.c b/notmuch-new.c
index 124d38d..f25c71f 100644
--- a/notmuch-new.c
+++ b/notmuch-new.c
@@ -282,7 +282,7 @@ add_files_recursive (notmuch_database_t *notmuch,
* recursion). */
if (entry->d_type != DT_DIR &&
entry->d_type != DT_LNK &&
- entry->d_type != DT_UKNOWN)
+ entry->d_type != DT_UNKNOWN)
{
continue;
}
next parent reply other threads:[~2010-01-23 9:02 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1332123765.3083871264237284361.JavaMail.root@zimbra1-e1.priv.proxad.net>
2010-01-23 9:02 ` racin [this message]
[not found] <1961872606.1150531263605576704.JavaMail.root@zimbra1-e1.priv.proxad.net>
2010-01-16 1:42 ` Bug with commit 2e96464f9705be4ec772280cad71a6c9d5831e6f racin
2010-01-23 6:06 ` Carl Worth
2010-01-10 23:29 racin
2010-01-12 9:49 ` Ali Polatel
2010-01-13 10:21 ` Ali Polatel
2010-01-12 18:33 ` Carl Worth
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1360022660.3084081264237332798.JavaMail.root@zimbra1-e1.priv.proxad.net \
--to=racin@free.fr \
--cc=cworth@cworth.org \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).