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 <jann...@gnu.org> | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | AvatarĀ® http://AvatarAcademy.com