wine/ files/file.c server/file.c

Alexandre Julliard julliard at winehq.com
Tue Jan 8 12:29:37 CST 2002


Martin Wilck <Martin.Wilck at fujitsu-siemens.com> writes:

> I just wanted to make this distinction more logical. I think it is
> necessary to separate fd types and flags. The distinction between
> regular files, pipes, sockets, ... that the patch introduces is
> currently not needed, but doesn't hurt IMO.

I prefer that we make the distinction only where needed, to encourage
people to write generic code if possible.

> If you wish, I can strip the patch down to its essential part
> (have separate flags for overlapped and timeout flags).

That would be better yes. Also I think they should be really separate:
the type should be an enum and the flags should be in a separate
variable.

-- 
Alexandre Julliard
julliard at winehq.com




More information about the wine-devel mailing list