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

Comparing libev/ev.c (file contents):
Revision 1.525 by root, Wed Jan 22 14:09:07 2020 UTC vs.
Revision 1.527 by root, Wed Jan 22 22:38:19 2020 UTC

604/* the following is ecb.h embedded into libev - use update_ev_c to update from an external copy */ 604/* the following is ecb.h embedded into libev - use update_ev_c to update from an external copy */
605/* ECB.H BEGIN */ 605/* ECB.H BEGIN */
606/* 606/*
607 * libecb - http://software.schmorp.de/pkg/libecb 607 * libecb - http://software.schmorp.de/pkg/libecb
608 * 608 *
609 * Copyright (©) 2009-2015 Marc Alexander Lehmann <libecb@schmorp.de> 609 * Copyright (©) 2009-2015,2018-2020 Marc Alexander Lehmann <libecb@schmorp.de>
610 * Copyright (©) 2011 Emanuele Giaquinta 610 * Copyright (©) 2011 Emanuele Giaquinta
611 * All rights reserved. 611 * All rights reserved.
612 * 612 *
613 * Redistribution and use in source and binary forms, with or without modifica- 613 * Redistribution and use in source and binary forms, with or without modifica-
614 * tion, are permitted provided that the following conditions are met: 614 * tion, are permitted provided that the following conditions are met:
2471inline_size 2471inline_size
2472void 2472void
2473fd_change (EV_P_ int fd, int flags) 2473fd_change (EV_P_ int fd, int flags)
2474{ 2474{
2475 unsigned char reify = anfds [fd].reify; 2475 unsigned char reify = anfds [fd].reify;
2476 anfds [fd].reify |= flags; 2476 anfds [fd].reify = reify | flags;
2477 2477
2478 if (ecb_expect_true (!reify)) 2478 if (ecb_expect_true (!reify))
2479 { 2479 {
2480 ++fdchangecnt; 2480 ++fdchangecnt;
2481 array_needsize (int, fdchanges, fdchangemax, fdchangecnt, array_needsize_noinit); 2481 array_needsize (int, fdchanges, fdchangemax, fdchangecnt, array_needsize_noinit);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines