delorie.com/archives/browse.cgi | search |
Corinna Vinschen <cygwin AT cygwin DOT com> writes: > Indeed. I would be interested in the trivial patch as well. The patch's triviality depends on how one checks for if a file descriptor refers to a raw device or not. I'm not sure how to do that reliably. For our purposes it is enough to check if the file-descriptor refers to a regular file and avoid doing a SEEK_END in that case, but that is probably not sufficient in the general case. /Jesper -- ------------------------------------------------------------------------- Jesper Eskilson jojo AT virtutech DOT se Virtutech http://www.virtutech.se ------------------------------------------------------------------------- -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |