There is no limit in the protocol, though the ext2fs and ufs implementations limit it to one filesystem block (4kb usually now). Clients should not presume any arbitrary limit on the size of the translator setting.
The posted code has no arbitrary limit, but leaks. It needs to do if (trans != buf) munmap(trans, trans_len). Also, size_t is the proper type for TRANS_LEN. Thanks, I'll fix this accordingly. _______________________________________________ Bug-hurd mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-hurd
