* Re: mlist to list DT_LNK elements
[not found] <gh-mailinglist-notifications-fa6558a0-26e0-48f6-803f-f5a8af34f6a8-mblaze-172@inbox.vuxu.org>
@ 2020-03-07 13:52 ` leahneukirchen
2020-03-07 14:15 ` eiro
` (3 subsequent siblings)
4 siblings, 0 replies; 5+ messages in thread
From: leahneukirchen @ 2020-03-07 13:52 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 385 bytes --]
New comment by leahneukirchen on mblaze repository
https://github.com/leahneukirchen/mblaze/pull/172#issuecomment-596090783
Comment:
Note that `mu find --fields l` will just output the file name, then you can just use them as a sequence.
(That's how I use mairix.) (Also see contrib/msearch.)
If we're going to allow DT_LNK, code also needs changing in `namescan` and `iterdir`.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: mlist to list DT_LNK elements
[not found] <gh-mailinglist-notifications-fa6558a0-26e0-48f6-803f-f5a8af34f6a8-mblaze-172@inbox.vuxu.org>
2020-03-07 13:52 ` mlist to list DT_LNK elements leahneukirchen
@ 2020-03-07 14:15 ` eiro
2020-03-07 14:53 ` leahneukirchen
` (2 subsequent siblings)
4 siblings, 0 replies; 5+ messages in thread
From: eiro @ 2020-03-07 14:15 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 699 bytes --]
New comment by eiro on mblaze repository
https://github.com/leahneukirchen/mblaze/pull/172#issuecomment-596092852
Comment:
> Note that `mu find --fields l` will just output the file name, then
> you can just use them as a sequence.
the thing is i see no reason to not support DT_LNK and there are plenty
of possible usages.
> (That's how I use mairix.) (Also see contrib/msearch.)
i would be curious about the reasons you chosen mairix. is there another
channel to ask about it? (mailing list or something?)
> If we're going to allow DT_LNK, code also needs changing in `namescan` and `iterdir`
if you like the idea, i would be happy to ammend the PR until it will
please you.
regards
marc
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: mlist to list DT_LNK elements
[not found] <gh-mailinglist-notifications-fa6558a0-26e0-48f6-803f-f5a8af34f6a8-mblaze-172@inbox.vuxu.org>
2020-03-07 13:52 ` mlist to list DT_LNK elements leahneukirchen
2020-03-07 14:15 ` eiro
@ 2020-03-07 14:53 ` leahneukirchen
2020-03-07 15:19 ` eiro
2020-03-08 8:16 ` eiro
4 siblings, 0 replies; 5+ messages in thread
From: leahneukirchen @ 2020-03-07 14:53 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 335 bytes --]
New comment by leahneukirchen on mblaze repository
https://github.com/leahneukirchen/mblaze/pull/172#issuecomment-596096458
Comment:
Mostly because mairix was around long before mu, also it's indexes are way smaller (but it has other limitations.)
I can adapt the patch myself, thanks. I'll get around to it in the next few days.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: mlist to list DT_LNK elements
[not found] <gh-mailinglist-notifications-fa6558a0-26e0-48f6-803f-f5a8af34f6a8-mblaze-172@inbox.vuxu.org>
` (2 preceding siblings ...)
2020-03-07 14:53 ` leahneukirchen
@ 2020-03-07 15:19 ` eiro
2020-03-08 8:16 ` eiro
4 siblings, 0 replies; 5+ messages in thread
From: eiro @ 2020-03-07 15:19 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 501 bytes --]
New comment by eiro on mblaze repository
https://github.com/leahneukirchen/mblaze/pull/172#issuecomment-596098965
Comment:
On Sat, Mar 07, 2020 at 06:53:02AM -0800, Leah Neukirchen wrote:
> Mostly because mairix was around long before mu, also it's indexes are way smaller (but it has other limitations.)
thanks for this reply
> I can adapt the patch myself, thanks. I'll get around to it in the next few days.
ok. it's probably faster for you to edit your code than doing review.
thanks a lot
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: mlist to list DT_LNK elements
[not found] <gh-mailinglist-notifications-fa6558a0-26e0-48f6-803f-f5a8af34f6a8-mblaze-172@inbox.vuxu.org>
` (3 preceding siblings ...)
2020-03-07 15:19 ` eiro
@ 2020-03-08 8:16 ` eiro
4 siblings, 0 replies; 5+ messages in thread
From: eiro @ 2020-03-08 8:16 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 606 bytes --]
New comment by eiro on mblaze repository
https://github.com/leahneukirchen/mblaze/pull/172#issuecomment-596178670
Comment:
i would had introduced something like
#if defined(DT_REG) && defined(DT_LNK) && defined(DT_UNKNOWN)
#define IS_LEGIT_DT(t) (t != DT_REG && t != DT_LNK && t != DT_UNKNOWN)
#else
#define IS_LEGIT_DT(t) (1)
#endif
in a file like config.h and then add some other generic macros and
configuration like
#if defined(__linux__)
#define __GNU_SOURCE__
#endif
#define uc ...
#define lc ...
regards
marc
^ permalink raw reply [flat|nested] 5+ messages in thread