OpenBSD/src ogtz6vF — sys/kern sys_pipe.c
revisit pipe initialization and buffer management - in dopipe(), get an already zeroed struct (PR_ZERO) instead of manually initialize each member (in pipe_create) - rename pipespace() and pipe_free_kmem() to pipe_buffer_realloc() and pipe_buffer_free(): it is more evident that the functions works on the same thing - in pipe_buffer_free(), return early and move the if-body as function body No functional change intented. ok anton@ visa@ mpi@
Version | Delta | File | |
---|---|---|---|
1.94 | +41 | -34 | sys/kern/sys_pipe.c |
+41 | -34 | 1 files |