summaryrefslogtreecommitdiffstats
path: root/libc/inet/rpc/rcmd.c
Commit message (Collapse)AuthorAgeFilesLines
* new helper funcs for alloca/malloc with mmu/nommuMike Frysinger2010-07-271-46/+14
| | | | | | | | | | | | | The rpc rcmd code has some ugly ifdef mazes to handle mmu/nommu differences just to select alloca or malloc. Unify those with some helper macros in a new header, and then convert the rcmd code over to it. This is all geared towards fixing the getdents helper functions which only use alloca() atm. Now that we have helper functions, convert the getdents functions over too. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Reviewed-by: Steven J. Magnani <steve@digidescorp.com>
* libc: Remove compiler warning due to old-style function definitionCarmelo Amoroso2010-04-251-16/+8
| | | | Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* convert // comments to /**/; remove empty #if/#endif pairs. no code changesDenys Vlasenko2009-09-181-4/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* trim Experimentally off and uncommented hiddenBernhard Reutner-Fischer2009-09-181-49/+0
| | | | | | | | sed -i -e '/Experimentally off - /d' $(grep -rl "Experimentally off - " *) sed -i -e '/^\/\*[[:space:]]*libc_hidden_proto(/d' $(grep -rl "libc_hidden_proto" *) should be a nop Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* Last portion of libc_hidden_proto removal.Denis Vlasenko2008-11-201-23/+23
| | | | | Appears to build fine (several .configs tried)
* next portion of libc_hidden_proto removalDenis Vlasenko2008-11-201-11/+11
|
* libc_hidden_proto removal, a few more functionsDenis Vlasenko2008-11-181-6/+6
|
* libc_hidden_proto removal, just a few functionsDenis Vlasenko2008-11-181-1/+1
|
* - trim any trailing whitespaceBernhard Reutner-Fischer2008-07-231-11/+11
|
* - Avoid warning about undefined preprocessor token. No obj-code changes.Bernhard Reutner-Fischer2008-05-301-1/+1
|
* replace "if (p) free(p)" by just "free(p)" - free(NULL) is safe.Denis Vlasenko2008-05-201-8/+3
|
* Moving libc_hidden_proto's into #ifdef UCLIBC_INTERNAL blockDenis Vlasenko2008-05-191-8/+8
| | | | | | | | | in string.h and strings.h. This caught unguarded string ops in libc/inet/ethers.c __ether_line_w() function. I will wait for fallout reports for a week or so, then continue converting more libc_hidden_proto's.
* need to keep __check_rhosts_file exported for proper rhost controlMike Frysinger2007-01-101-1/+5
|
* Correct build if UCLIBC_HAS_CTYPE_TABLES is not definedPeter S. Mazinger2006-03-221-1/+1
|
* Mark some functions as GNU, provide missing hidden memmem, remove ↵Peter S. Mazinger2006-03-221-1/+0
| | | | _ISOC99/XOPEN_SOURCE
* Remove all non-constant libc_hidden_data_def(), it is too unreliable, sorry, ↵Peter S. Mazinger2006-03-101-1/+0
| | | | most of global data relocations are back
* tweak the idea between having a MMU and actually using itMike Frysinger2006-02-181-11/+11
|
* don't include wchar.h if WCHAR is disabledPeter S. Mazinger2006-01-311-0/+2
|
* Change the only bcopy user to memmove and remove internal version of bcopyPeter S. Mazinger2006-01-301-4/+4
|
* sync iruserfopen() prototype with glibc and remove double setting of cp to ↵Mike Frysinger2006-01-291-2/+1
| | | | NULL by Bernard Fischer
* Bernhard Fischer writes: remove unused variable __rcmd_errstrMike Frysinger2006-01-291-2/+0
|
* small sync with glibcMike Frysinger2006-01-291-16/+45
|
* Get rid of missing prototype warningsPeter S. Mazinger2006-01-261-0/+3
|
* Enable _GNU_SOURCE build wide, trying to get consistent interfaces, else IMA ↵Peter S. Mazinger2006-01-221-2/+0
| | | | is a useless attempt
* disable deprecated warnings for some filesMike Frysinger2006-01-201-0/+1
|
* Last relocs jump and global data, (even locales) that I could remove are ↵Peter S. Mazinger2006-01-161-0/+8
| | | | gone from libc. The remaining are left as exercise for others ;-)
* some global data relocs gonePeter S. Mazinger2006-01-161-0/+1
|
* hidden_def/hidden_proto: convert all users (I hope) termios split, add some ↵Peter S. Mazinger2006-01-141-69/+90
| | | | missing headers, other jump relocs removed
* declare staticMike Frysinger2006-01-081-2/+2
|
* Get rid of tolower/toupper jump reloc, correct tow* for XLOCALEPeter S. Mazinger2006-01-031-1/+1
|
* Convert some users and get rid of __rpc_thread_createerr jump reloc, this ↵Peter S. Mazinger2005-12-161-2/+3
| | | | was indeed a badly chosen name
* Convert all users of earlier hiddensPeter S. Mazinger2005-12-131-1/+1
|
* Convert internal users of chmod/*stat*, minimize change for __strsepPeter S. Mazinger2005-12-131-2/+2
|
* Switch fread/fwrite/fclose/pipe/sigsetmask usersPeter S. Mazinger2005-12-101-0/+1
|
* Implement hidden listen, use the hidden listen/acceptPeter S. Mazinger2005-12-091-0/+2
|
* Implement hidden poll, switch user to hidden *printf/*scanf/pollPeter S. Mazinger2005-12-091-0/+2
|
* internal sigpause, do we really default to BSD signals?Peter S. Mazinger2005-12-091-0/+1
|
* mmap/mremap/socket/rewind gonePeter S. Mazinger2005-12-081-1/+1
|
* Again rpc ;-( , all *inet*, *addr*Peter S. Mazinger2005-12-081-3/+13
|
* Hide morePeter S. Mazinger2005-12-071-0/+4
|
* Hide *clnt|pmap|svc* and some rpc. inet/rpc is full of relocs ...Peter S. Mazinger2005-12-071-1/+1
|
* More hiding, 300 leftPeter S. Mazinger2005-12-041-0/+1
|
* More hiding, including __mempcpyPeter S. Mazinger2005-12-031-1/+2
|
* Hide mostly used functionsPeter S. Mazinger2005-12-011-31/+31
|
* Hiding againPeter S. Mazinger2005-11-291-0/+1
|
* 100 JUMP relocs less (remaining 431) by hiding internally used onesPeter S. Mazinger2005-11-261-0/+2
|
* add support for getrpcbynumber_r/getrpcbyname_r/getrpcent_r and a config ↵Mike Frysinger2005-08-181-15/+10
| | | | option to enable REENTRANT RPC
* s/UCLIBC_HAS_MMU/ARCH_HAS_MMU/gEric Andersen2004-01-161-11/+11
|
* Atsushi Nemoto writes:Eric Andersen2003-10-081-2/+2
| | | | | | | | | | | | | I found inappropriate data types are used in some places in networking codes. * tcp_seq is 32bit (u_long -> u_int32_t) * in_addt_t should be used for internet address (unsigned long -> in_addr_t) * socklen_t should be used for accept() This is a patch against uclibc-0.9.21 (can be applied for current CVS). 64bit platforms (sizeof(int)!=sizeof(long)) will need this. I believe this patch does not harm any 32bit platforms.
* Add a new *scanf implementation, includeing the *wscanf functions.Manuel Novoa III2003-08-011-9/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Should be standards compliant and with several optional features, including support for hexadecimal float notation, locale awareness, glibc-like locale-specific digit grouping with the `'' flag, and positional arg support. I tested it pretty well (finding several bugs in glibc's scanf in the process), but it is brand new so be aware. The *wprintf functions now support floating point output. Also, a couple of bugs were squashed. Finally, %a/%A conversions are now implemented. Implement the glibc xlocale interface for thread-specific locale support. Also add the various *_l(args, locale_t loc_arg) funcs. NOTE!!! setlocale() is NOT threadsafe! NOTE!!! The strto{floating point} conversion functions are now locale aware. The also now support hexadecimal floating point notation. Add the wcsto{floating point} conversion functions. Fix a bug in mktime() related to dst. Note that unlike glibc's mktime, uClibc's version always normalizes the struct tm before attempting to determine the correct dst setting if tm_isdst == -1 on entry. Add a stub version of the libintl functions. (untested) Fixed a known memory leak in setlocale() related to the collation data. Add lots of new config options (which Erik agreed to sort out :-), including finally exposing some of the stripped down stdio configs. Be careful with those though, as they haven't been tested in a long time. (temporary) GOTCHAs... The ctype functions are currently incorrect for 8-bit locales. They will be fixed shortly. The ctype functions are now table-based, resulting in larger staticly linked binaries. I'll be adding an option to use the old approach in the stub locale configuration.