src/solaris/native/java/net/linux_close.c

Print this page

        

*** 110,120 **** * Return the fd table for this fd or NULL is fd out * of range. */ static inline fdEntry_t *getFdEntry(int fd) { ! if (fd < 0 || fd > fdCount) { return NULL; } return &fdTable[fd]; } --- 110,120 ---- * Return the fd table for this fd or NULL is fd out * of range. */ static inline fdEntry_t *getFdEntry(int fd) { ! if (fd < 0 || fd >= fdCount) { return NULL; } return &fdTable[fd]; }