aboutsummaryrefslogtreecommitdiff
path: root/runit
diff options
context:
space:
mode:
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-11-22 15:54:52 +0000
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-11-22 15:54:52 +0000
commit0aa307456bfc692ae09ce4dab8337184c83b2680 (patch)
tree21794599ef01c7603faff7efb1fcaf56868684c9 /runit
parent6e9a452d0bc16107c2b56f2e8f44ae2cccbab209 (diff)
downloadbusybox-w32-0aa307456bfc692ae09ce4dab8337184c83b2680.tar.gz
busybox-w32-0aa307456bfc692ae09ce4dab8337184c83b2680.tar.bz2
busybox-w32-0aa307456bfc692ae09ce4dab8337184c83b2680.zip
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. git-svn-id: svn://busybox.net/trunk/busybox@16622 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'runit')
-rw-r--r--runit/runit_lib.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/runit/runit_lib.c b/runit/runit_lib.c
index c95d641f1..5ebbc5840 100644
--- a/runit/runit_lib.c
+++ b/runit/runit_lib.c
@@ -34,10 +34,6 @@ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
34#include "libbb.h" 34#include "libbb.h"
35#include "runit_lib.h" 35#include "runit_lib.h"
36 36
37#ifndef O_NONBLOCK
38#define O_NONBLOCK O_NDELAY
39#endif
40
41/*** buffer.c ***/ 37/*** buffer.c ***/
42 38
43void buffer_init(buffer *s,int (*op)(int fd,char *buf,unsigned len),int fd,char *buf,unsigned len) 39void 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)
625} 621}
626 622
627 623
628/*** ndelay_off.c ***/
629
630int ndelay_off(int fd)
631{
632 return fcntl(fd,F_SETFL,fcntl(fd,F_GETFL,0) & ~O_NONBLOCK);
633}
634
635
636/*** ndelay_on.c ***/
637
638int ndelay_on(int fd)
639{
640 return fcntl(fd,F_SETFL,fcntl(fd,F_GETFL,0) | O_NONBLOCK);
641}
642
643
644/*** open_append.c ***/ 624/*** open_append.c ***/
645 625
646int open_append(const char *fn) 626int open_append(const char *fn)