diff -r m/busybox/include/libbb.h n/busybox/include/libbb.h
731,732c731,732
<       int (*have_buffer_to_read_into)(void *this); \
<       int (*have_data_to_write)(void *this); \
---
>       int (*should_poll_read_fd)(void *this); \
>       int (*should_poll_write_fd)(void *this); \
diff -r m/busybox/libbb/ioloop.c n/busybox/libbb/ioloop.c
79c79
< // have_data_to_write() - Do we have data to write?
---
> // should_poll_write_fd() - Should ioloop poll write_fd for writability?
81c81
< // > 0: Has data to write (or can generate such data)
---
> // > 0: Yes, poll write_fd (has data to write, or can generate such data)
83c83
< // 0: No data to write currently
---
> // 0: No, don't poll write_fd currently
87c87
< // have_buffer_to_read_into() - Is there a buffer to read into?
---
> // should_poll_read_fd() - Should ioloop poll read_fd for readability?
89c89
< // > 0: Healthy, has buffer space, please poll read_fd
---
> // > 0: Yes, poll read_fd (has buffer space, healthy)
91c91
< // 0: One of:
---
> // 0: No, don't poll read_fd. One of:
124c124
< // Instead, you can remember EOF/error and make future 
have_buffer_to_read_into() respond 0.
---
> // Instead, you can remember EOF/error and make future should_poll_read_fd() 
respond 0.
130c130
< // and subsequently have_buffer_to_read_into() always return 0 (no more 
attempts to read);
---
> // and subsequently should_poll_read_fd() always return 0 (no more attempts 
> to 
read);
134c134
< // After this, have_data_to_write() can return 0 if fd has to stay open 
(socket)
---
> // After this, should_poll_write_fd() can return 0 if fd has to stay open 
> (socket)
137c137
< static ALWAYS_INLINE int have_data_to_write(connection_t *conn)
---
> static ALWAYS_INLINE int should_poll_write_fd(connection_t *conn)
139c139
<       return conn->have_data_to_write(conn);
---
>       return conn->should_poll_write_fd(conn);
141c141
< static ALWAYS_INLINE int have_buffer_to_read_into(connection_t *conn)
---
> static ALWAYS_INLINE int should_poll_read_fd(connection_t *conn)
143c143
<       return conn->have_buffer_to_read_into(conn);
---
>       return conn->should_poll_read_fd(conn);
180c180
<               rcw = have_data_to_write(conn);
---
>               rcw = should_poll_write_fd(conn);
189c189
<               rcr = have_buffer_to_read_into(conn);
---
>               rcr = should_poll_read_fd(conn);
diff -r m/busybox/networking/telnet.c n/busybox/networking/telnet.c
579c579
< static int have_buffer_to_read_from_stdin(void *this)
---
> static int should_poll_read_fd_stdin(void *this)
659c659
< static int have_data_to_write_to_net(void *this)
---
> static int should_poll_write_fd_net(void *this)
703c703
< static int have_buffer_to_read_from_net(void *this)
---
> static int should_poll_read_fd_net(void *this)
900c900
< static int have_data_to_write_to_stdout(void *this)
---
> static int should_poll_write_fd_stdout(void *this)
991,992c991,992
<       G.conn_stdin2net.have_buffer_to_read_into = 
have_buffer_to_read_from_stdin;
<       G.conn_stdin2net.have_data_to_write = have_data_to_write_to_net;
---
>       G.conn_stdin2net.should_poll_read_fd = should_poll_read_fd_stdin;
>       G.conn_stdin2net.should_poll_write_fd = should_poll_write_fd_net;
999,1000c999,1000
<       G.conn_net2stdout.have_buffer_to_read_into = 
have_buffer_to_read_from_net;
<       G.conn_net2stdout.have_data_to_write = have_data_to_write_to_stdout;
---
>       G.conn_net2stdout.should_poll_read_fd = should_poll_read_fd_net;
>       G.conn_net2stdout.should_poll_write_fd = should_poll_write_fd_stdout;
diff -r m/busybox/networking/telnetd.c n/busybox/networking/telnetd.c
282,283c282,283
< // net_to_pty::have_data_to_write
< // net_to_pty::have_buffer_to_read_into
---
> // net_to_pty::should_poll_write_fd
> // net_to_pty::should_poll_read_fd
311c311
< static int net_to_pty__have_data_to_write(void *this)
---
> static int net_to_pty__should_poll_write_fd(void *this)
474c474
<                * have_data_to_write() ensures we are only called this way
---
>                * should_poll_write_fd() ensures we are only called this way
527c527
< static int net_to_pty__have_buffer_to_read_into(void *this)
---
> static int net_to_pty__should_poll_read_fd(void *this)
622,625c622,625
<       this->have_buffer_to_read_into = net_to_pty__have_buffer_to_read_into;
<       this->have_data_to_write       = net_to_pty__have_data_to_write;
<       this->read                     = net_to_pty__read;
<       this->write                    = net_to_pty__write;
---
>       this->should_poll_read_fd  = net_to_pty__should_poll_read_fd;
>       this->should_poll_write_fd = net_to_pty__should_poll_write_fd;
>       this->read                 = net_to_pty__read;
>       this->write                = net_to_pty__write;
632c632
< static int pty_to_net__have_buffer_to_read_into(void *this)
---
> static int pty_to_net__should_poll_read_fd(void *this)
728c728
< static int pty_to_net__have_data_to_write(void *this)
---
> static int pty_to_net__should_poll_write_fd(void *this)
835,838c835,838
<       this->have_buffer_to_read_into = pty_to_net__have_buffer_to_read_into;
<       this->have_data_to_write       = pty_to_net__have_data_to_write;
<       this->read                     = pty_to_net__read;
<       this->write                    = pty_to_net__write;
---
>       this->should_poll_read_fd  = pty_to_net__should_poll_read_fd;
>       this->should_poll_write_fd = pty_to_net__should_poll_write_fd;
>       this->read                 = pty_to_net__read;
>       this->write                = pty_to_net__write;
1016,1019c1016,1019
<       this->have_buffer_to_read_into = accept_conn__can_accept;
<       this->have_data_to_write       = accept_conn__return_zero;
<       this->read                     = accept_conn__accept;
<       //this->write                    = accept_conn__return_zero; //never 
called
---
>       this->should_poll_read_fd  = accept_conn__can_accept;
>       this->should_poll_write_fd = accept_conn__return_zero;
>       this->read                 = accept_conn__accept;
>       //this->write                = accept_conn__return_zero; //never called


Listing of current ones in directory. Assume exact same size to be same.
2669749 Mar 14 10:20 busybox-20260314.tar.bz2
2669749 Mar 15 10:20 busybox-20260315.tar.bz2
2671234 Mar 16 10:20 busybox-20260316.tar.bz2
2669360 Mar 17 10:20 busybox-20260317.tar.bz2
2669360 Mar 18 10:20 busybox-20260318.tar.bz2
2669360 Mar 19 10:20 busybox-20260319.tar.bz2
2669360 Mar 20 10:20 busybox-20260320.tar.bz2
2669360 Mar 21 10:20 busybox-20260321.tar.bz2
2669360 Mar 22 10:20 busybox-20260322.tar.bz2
2669360 Mar 23 10:20 busybox-20260323.tar.bz2
2669360 Mar 24 10:20 busybox-20260324.tar.bz2
2669360 Mar 25 10:20 busybox-20260325.tar.bz2
2669360 Mar 26 10:20 busybox-20260326.tar.bz2
2669360 Mar 27 10:20 busybox-20260327.tar.bz2
2669360 Mar 28 10:20 busybox-20260328.tar.bz2
2669360 Mar 29 10:20 busybox-20260329.tar.bz2
2669360 Mar 30 10:20 busybox-20260330.tar.bz2
2669360 Mar 31 10:20 busybox-20260331.tar.bz2
2669360 Apr  1 10:20 busybox-20260401.tar.bz2
2669360 Apr  2 10:20 busybox-20260402.tar.bz2
2669360 Apr  3 10:20 busybox-20260403.tar.bz2
2669360 Apr  4 10:20 busybox-20260404.tar.bz2
2669360 Apr  5 10:20 busybox-20260405.tar.bz2
2669360 Apr  6 10:20 busybox-20260406.tar.bz2
2669360 Apr  7 10:20 busybox-20260407.tar.bz2
2669360 Apr  8 10:20 busybox-20260408.tar.bz2
2669360 Apr  9 10:20 busybox-20260409.tar.bz2
2669360 Apr 10 10:20 busybox-20260410.tar.bz2
2669360 Apr 11 10:20 busybox-20260411.tar.bz2
2669360 Apr 14 12:43 busybox-20260412.tar.bz2
2669851 Apr 13 10:20 busybox-20260413.tar.bz2
2669851 Apr 14 10:20 busybox-20260414.tar.bz2
2669851 Apr 14 10:20 busybox-snapshot.tar.bz2



+------------------------------------------------------------+
 Michael D. Setzer II - Computer Science Instructor (Retired)     
 mailto:[email protected]                            
 mailto:[email protected]
 mailto:[email protected]
 Guam - Where America's Day Begins                        
 G4L Disk Imaging Project maintainer 
 http://sourceforge.net/projects/g4l/
+------------------------------------------------------------+


_______________________________________________
busybox mailing list
[email protected]
https://lists.busybox.net/mailman/listinfo/busybox

Reply via email to