summaryrefslogtreecommitdiff
path: root/netcat.c
AgeCommit message (Collapse)Author
2011-10-24Upgrade to openbsd's netcat.android-cts-4.2_r1android-4.2_r1android-4.2.2_r1.2android-4.2.2_r1.1android-4.2.2_r1android-4.2.1_r1.2android-4.2.1_r1.1android-4.2.1_r1android-4.1.2_r2.1android-4.1.2_r2android-4.1.2_r1android-4.1.1_r6.1android-4.1.1_r6android-4.1.1_r5android-4.1.1_r4android-4.1.1_r3android-4.1.1_r2android-4.1.1_r1.1android-4.1.1_r1jb-releasejb-mr1.1-releasejb-mr1-releasejb-mr0-releaseNick Kralevich
Upgrade to openbsd's version of netcat, available for download from http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/nc/ This version has been modified to remove BSD specific calls and other functionality unnecessary for Android. The removed portions of code are surrounded by #ifdef ANDROID / #endif. This code corresponds to the following openbsd versions: atomicio.c: v1.10 atomicio.h: v1.2 netcat.c: v1.103 The file socks.c and nc.1 are not included in this change. Change-Id: I39df7fbe335af97e092dd4d4a96f957d6d1a5b5d
2010-09-26am 3b923003: Avoid calling res_init() since it\'s a private API in bionicandroid-sdk-tools_r12android-sdk-adt_r12Jim Huang
Merge commit '3b923003c7c5a13b4ff2e2091acd307e9d1304b2' into gingerbread-plus-aosp * commit '3b923003c7c5a13b4ff2e2091acd307e9d1304b2': Avoid calling res_init() since it's a private API in bionic
2010-09-23Avoid calling res_init() since it's a private API in bionictools_r9tools_r8froyo-plus-aospJim Huang
In 4.3BSD, res_init() function reads the config files (resolv.conf) to get the default domain name, search order and name server address(es). However, in bionic, resolv.conf is already ignored, so it is a no-op for actual functionality. Change-Id: Ib11fee052ff0b2bae8f5a4f036b7cdc1d1b059a2
2010-05-17Get rid of warnings when compiled with -Wformat-securityandroid-sdk-2.3.4_r1android-cts-2.3_r5android-cts-2.3_r4android-cts-2.3_r3android-cts-2.3_r2android-cts-2.3_r12android-cts-2.3_r11android-cts-2.3_r10android-cts-2.3_r1android-2.3_r1android-2.3.7_r1android-2.3.6_r1android-2.3.6_r0.9android-2.3.5_r1android-2.3.4_r1android-2.3.4_r0.9android-2.3.3_r1aandroid-2.3.3_r1.1android-2.3.3_r1android-2.3.2_r1android-2.3.1_r1gingerbread-releasegingerbread-mr4-releasegingerbreadNick Kralevich
Change-Id: Ibe59f9704dc03aa592fce6ca6d422f4d4e6153cb
2009-03-05auto import from //depot/cupcake/@136594The Android Open Source Project
2009-03-03auto import from //depot/cupcake/@135843The Android Open Source Project
2009-03-03auto import from //depot/cupcake/@135843The Android Open Source Project
2009-02-10auto import from //branches/cupcake/...@130745The Android Open Source Project
2008-10-21Initial Contributionandroid-1.0release-1.0cdma-importThe Android Open Source Project
1970-01-12external/netcat 110upstream/110Upstream