diff options
author | Denis Vlasenko | 2006-11-22 15:54:52 +0000 |
---|---|---|
committer | Denis Vlasenko | 2006-11-22 15:54:52 +0000 |
commit | 75f8d080a28f2a9076a5f60afeba41ac876a78a4 (patch) | |
tree | 21794599ef01c7603faff7efb1fcaf56868684c9 /runit | |
parent | d6bbf99a8b174d8535c195c71d3560a0d83d95fc (diff) | |
download | busybox-75f8d080a28f2a9076a5f60afeba41ac876a78a4.zip busybox-75f8d080a28f2a9076a5f60afeba41ac876a78a4.tar.gz |
telnetd: we were having telnetd with is ONLY inetd or ONLY standalone.
What if I need to have both?? This patch introduces
CONFIG_FEATURE_TELNETD_STANDALONE: y - both, n - only inetd.
Diffstat (limited to 'runit')
-rw-r--r-- | runit/runit_lib.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/runit/runit_lib.c b/runit/runit_lib.c index c95d641..5ebbc58 100644 --- a/runit/runit_lib.c +++ b/runit/runit_lib.c @@ -34,10 +34,6 @@ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include "libbb.h" #include "runit_lib.h" -#ifndef O_NONBLOCK -#define O_NONBLOCK O_NDELAY -#endif - /*** buffer.c ***/ void buffer_init(buffer *s,int (*op)(int fd,char *buf,unsigned len),int fd,char *buf,unsigned len) @@ -625,22 +621,6 @@ int lock_exnb(int fd) } -/*** ndelay_off.c ***/ - -int ndelay_off(int fd) -{ - return fcntl(fd,F_SETFL,fcntl(fd,F_GETFL,0) & ~O_NONBLOCK); -} - - -/*** ndelay_on.c ***/ - -int ndelay_on(int fd) -{ - return fcntl(fd,F_SETFL,fcntl(fd,F_GETFL,0) | O_NONBLOCK); -} - - /*** open_append.c ***/ int open_append(const char *fn) |