[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Feeble attempt at using xattr gnu.translator
From: |
Jan Nieuwenhuizen |
Subject: |
Re: Feeble attempt at using xattr gnu.translator |
Date: |
Mon, 11 May 2020 10:53:58 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Samuel Thibault writes:
> Samuel Thibault, le lun. 11 mai 2020 10:42:08 +0200, a ecrit:
>> > diskfs_S_file_set_translator (struct protid *cred,
>> > [...]
>> > if (passivelen && passive[passivelen - 1])
>> > return EINVAL;
>> >
>> > hmm; so even when there are no arguments, VALUE must end with 0?!
>>
>> That
>
> That's a bit sad, but I'm not so surprised either. I don't remember if
> that was discussed at the time.
At first glance it felt like a bug/non-finished thing; setttrans does
not require the user to resort to \0-hackery.
Of course, setfattr is a generic tool; so nothing can be done there to
make this frienlier; I'm not sure if something could be done on the hurd
side. Could be nice, not sure.
janneke
--
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | AvatarĀ® http://AvatarAcademy.com