aboutsummaryrefslogtreecommitdiff
path: root/hostmux/leaf.c
Commit message (Collapse)AuthorAgeFilesLines
* Homogeneize [gs]et_translator and get_dire[nc]ts into mach_msg_type_number_tSamuel Thibault2023-08-081-9/+11
| | | | | | | | | | | | | | | | | This makes netfs_[gs]et_translator use mach_msg_type_number_t like the RPC and diskfs. This also makes the fshelp_fetch_root_callback1_t for fshelp_fetch_root use mach_msg_type_number_t. This also makes procfs_get_translator and the get_translator proc method use mach_msg_type_number_t. This makes diskfs_get_directs use mach_msg_type_number_t like the dir_readdir RPC Also get rid of u_int. This notably fixes _diskfs_translator_callback1_fn's bogus cast of size_t *argz_len into (u_int *).
* Use our own variant of 'assert' and 'assert_perror'.Justus Winter2017-08-051-1/+1
| | | | | Our variants print stack traces on failures. This will make locating errors much easier.
* fix common misspellingsJonathan Neuschäfer2011-08-201-1/+1
| | | | | | * Fix spelling with codespell[1] and manually review it. [1] http://git.profusion.mobi/cgit.cgi/lucas/codespell/
* 2002-05-13 Roland McGrath <roland@frob.com>Roland McGrath2002-05-131-2/+3
| | | | | * leaf.c (create_host_node): Set NEW->nn_translated appropriately. * hostmux.c (main): Set netfs_root_node->nn_translated to zero.
* (netfs_get_translator):Miles Bader1997-06-201-82/+18
| | | | | | | | Use argz_replace instead of doing it ourselves. (create_host_node): Set the times of the new node. (str_append): Function removed.
* Initial checkin.Miles Bader1997-06-121-0/+187