Commit Briefs

Omar Polo

implement Tstat


Omar Polo

drop extra do_send



Omar Polo

implement Twrite


Omar Polo

allow directory to be read again using offset 0

The documentation says explicitly that the offset is *either* 0 or the last offset plus count; that means that after some read a client can require *again* an offset 0 (i.e. doing a rewinding the directory.)


Omar Polo

implement Tread against directories

To do so it was needed to modify the np_* functions so they take an explicit evbuffer.


Omar Polo

PATH_MAX already accounts for NUL


Omar Polo

free evp only if it was allocated

apparently, evbuffer_free doesn't like NULLs


Omar Polo

typo spotted by cage, thanks!


Omar Polo

initialize evbuffer only for dirs






Omar Polo

fix Tattach handling

The previous implementation assumed that you can't attach more than once. This is clearly wrong, Tattach and Twalk are the two ways to obtain new fids. This drops the error on subsequential attach and making the test "multiple attach" passes.