CVSROOT: /cvs Module name: src Changes by: mill...@cvs.openbsd.org 2022/01/05 13:57:27
Modified files: bin/csh : csh.c include : stdio.h lib/libc/stdio : funopen.3 funopen.c Log message: funopen(): change seekfn argument to use off_t, not fpos_t On BSD, fpos_t is typedef'd to off_t but some systems use a struct. This means fpos_t is not a portable function argument or return value. Both FreeBSD and the Linux libbsd funopen() have switched to off_t for this--we should too. From Joe Nelson. OK deraadt@