summaryrefslogtreecommitdiff
path: root/libiohelp/return-buffer.c
AgeCommit message (Collapse)Author
2014-12-10Replace `bcopy' with `memcpy' or `memmove' as appropriateJustus Winter
* ext2fs/inode.c: Replace `bcopy' with `memcpy' or `memmove' as appropriate. * ext2fs/pager.c: Likewise. * isofs/lookup.c: Likewise. * isofs/main.c: Likewise. * isofs/rr.c: Likewise. * libdiskfs/file-get-trans.c: Likewise. * libiohelp/return-buffer.c: Likewise. * libpager/pagemap.c: Likewise. * libpipe/pq.c: Likewise. * libpipe/pq.h: Likewise. * libstore/unzipstore.c: Likewise. * mach-defpager/default_pager.c: Likewise. * pfinet/ethernet.c: Likewise. * pfinet/tunnel.c: Likewise. * storeio/dev.c: Likewise.
2013-02-25Include <stdlib.h> or <mach.h> where neededPino Toscano
cthreads.h includes both <stdlib.h> and <mach.h>, while pthreads.h does not; with the switch to pthreads, their lack causes prototype compilation warnings for malloc/calloc/free/abort, and mach_task_self/mach_reply_port/etc in few places. * console-client/vga-support.c: Include <stdlib.h>. * libiohelp/iouser-dup.c: Likewise. * libiohelp/iouser-free.c: Likewise. * libiohelp/iouser-reauth.c: Likewise. * libiohelp/return-buffer.c: Likewise. * libiohelp/shared.c: Likewise. * pflocal/connq.c: Likewise. * nfsd/cache.c: Include <mach.h>.
1999-07-111999-07-11 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* return-buffer.c: Include <sys/mman.h>. * iouser-reauth.c (iohelp_reauth): Cast first arg to munmap correctly.
1999-07-111999-07-09 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* return-buffer.c (iohelp_return_malloced_buffer): Use mmap instead of vm_allocate.
1998-08-201998-08-20 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* return-buffer.c (iohelp_return_malloced_buffer): Moved here from ../libfshelp/return-buffer.c and renamed from fshelp to iohelp. * iohelp.h (iohelp_return_malloced_buffer): Declare it.