gvanem / Watt-32

Watt-32 TCP/IP library and samples.
https://www.watt-32.net/
18 stars 8 forks source link

Include djgpp's <sys/uio.h> #75

Closed jwt27 closed 1 year ago

jwt27 commented 1 year ago

This exposes libc's readv()/writev() again. iov_len must be made size_t to be compatible.

gvanem commented 1 year ago

This looks okay. Merging and thanks again.

jwt27 commented 1 year ago

Thanks! Though after giving it some more thought (and reading the manpage...), I believe the overflow check should return EINVAL. Will send another PR :)