ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libev/ev_select.c
(Generate patch)

Comparing libev/ev_select.c (file contents):
Revision 1.6 by root, Wed Oct 31 20:46:44 2007 UTC vs.
Revision 1.8 by root, Fri Nov 2 16:54:35 2007 UTC

1/* 1/*
2 * libev select fd activity backend
3 *
2 * Copyright (c) 2007 Marc Alexander Lehmann <libev@schmorp.de> 4 * Copyright (c) 2007 Marc Alexander Lehmann <libev@schmorp.de>
3 * All rights reserved. 5 * All rights reserved.
4 * 6 *
5 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 8 * modification, are permitted provided that the following conditions are
112 } 114 }
113 } 115 }
114 else if (res < 0) 116 else if (res < 0)
115 { 117 {
116 if (errno == EBADF) 118 if (errno == EBADF)
119 fd_ebadf ();
120 else if (errno == ENOMEM)
117 fd_recheck (); 121 fd_enomem ();
118 } 122 }
119} 123}
120 124
121static void 125static void
122select_init (int flags) 126select_init (int flags)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines