summaryrefslogtreecommitdiff
path: root/libc/inet/rpc
AgeCommit message (Collapse)Author
2003-10-08Atsushi Nemoto writes:Eric Andersen
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.
2003-08-01Add a new *scanf implementation, includeing the *wscanf functions.Manuel Novoa III
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.
2002-10-31Ok, this commit is _huge_ and its gonna change the world. I'veEric Andersen
been working on a new config system on and off for about 6 months now, but I've never been fully satisfied. Well, I'm finally am happy with the new config system, so here it is. This completely removes the old uClibc configuration system, and replaces it with an entirely new system based on LinuxKernelConf, from http://www.xs4all.nl/~zippel/lc/ As it turns out, Linus has just merged LinuxKernelConf into Linux 2.5.45, so it looks like I made the right choice. I have thus far updated only x86. I'll be updating the other architectures shortly. -Erik
2002-08-16Make INCLUDE_FULL_RPC default to !HAVE_SHARED.Miles Bader
2002-08-16Replace all instances of _LIBC_REENTRANT with __UCLIBC_HAS_THREADS__Eric Andersen
-Erik
2002-08-12I missed a spot.Eric Andersen
-Erik
2002-08-12Fix use of __pthread_once, and fix rpc usage of thread localEric Andersen
storage.... -Erik
2002-08-11Ugh. Make uClibc cross compile with gcc 2.95.x and threads. I wonderEric Andersen
if this is serious enough to warrent 0.9.14? -Erik
2002-08-09Changes so that this file builds if we are not using threads.David McCullough
2002-08-08Oops. missed a spot.Eric Andersen
-Erik
2002-08-08Fix a silly bug with using fstat64 instead of just fstat. NoEric Andersen
reason for 64bit stuff just to check perms. -Erik
2002-08-07Add getrpcent.c to default rpc buildEric Andersen
2002-08-07Apply integer overflow security fix for "CERT Advisory CA-2002-25 IntegerEric Andersen
Overflow In XDR Library" http://www.cert.org/advisories/CA-2002-25.html Patch from Solar Designer <solar@openwall.com>.
2002-08-06Rework RPC code once again. By default, only enable theEric Andersen
stuff needed for NFS mounts, rsh, and similar. -Erik
2002-07-07Kill namespace pollution in getrpcent.c. Silence other rpc warningsEric Andersen
by fixing prototypes. Fix global stuff so it should behave itself properly now, -Erik
2002-06-18Make sure the sccsid tags never get compiled in.Eric Andersen
-Erik
2002-06-17Re-backport all the rpc stuff from glibc 2.2.5. This allows us to make thisEric Andersen
junk (and I do mean that ;-) thread safe without undue pain. Adds 12k worth to the code size I'm afraid, but since I never use NFS and therefore never include this stuff, I guess thats acceptable. I still need to enable the multi-threaded bits... -Erik
2002-05-30don't include the linux dir. Pointless and broken.Eric Andersen
-Erik
2002-04-09Re-enable clnt_perror. Patch from Miles Bader.Eric Andersen
2002-02-26don't pretend to be reentrant yetEric Andersen
2002-02-26Fix rpc + threads so it now compiles.Eric Andersen
2002-01-09Patch from Stefan Soucek <ssoucek@coactive.com> to removeEric Andersen
alloca (when non-reentrant) since alloca can blow the stack pretty easily on mmu-less.
2002-01-02Patch to add rcmd support, from Stefan Soucek, which I'd longEric Andersen
ago forgotten. Oops. Needed some minor scrubbing for bitrot, -Erik
2001-12-19Update my email address. I am no longer andersen@lineo.comEric Andersen
2001-11-21Adjust naming for __FORCE_GLIBC__ to __FORCE_GLIBC and addEric Andersen
support for __FORCE_NOGLIBC per Brian Stafford <brian.stafford@office-logic.com>
2001-09-27Silence stupid warnings caused by bad kernel network includesEric Andersen
2001-09-27Update to accomodate the header file changesEric Andersen
2001-05-31Cleanup some stupid warningsEric Andersen
2001-05-12Ok, this should finish off my massive ro-organization. The sourceEric Andersen
tree is less messy now (which helps), all libraries are placed into uClibc/lib when compiling, all libraries now use a consistant mechanism for being built, all libraries use a consistant naming scheme where the lib name includes the uClibc version number, which makes ldconfig happy and willing to work with us. -Erik
2001-05-04Clean up some issues for building on m68k.David McCullough
2001-04-06Fix include/errno.h to not use kernel header, and instead use bits/errno.h.Eric Andersen
This required we use _LIBC instead of __LIBC__ to be consistent with glibc. This had some sideffects in sys/syscalls.h. While fixing things, I made everything use __set_errno() for (eventual) thread support. -Erik
2001-02-12Clean up lots of warnings.Manuel Novoa III
2001-02-05Wierd. Whats _null_auth doing here?Eric Andersen
-Erik
2001-02-05Fix broken dependancies.Eric Andersen
-Erik
2001-02-05Fix the worst of the damage so it actually compiles now (though, strictlyEric Andersen
speaking the entire pile of rpc dung is infect damage). Anyway, hopefully NFS using things may now be able to work... -Erik
2001-02-05Update networking includes.Eric Andersen
2001-01-15I've been working on fixing up the rpc crap. now it is onlyEric Andersen
_mostly_ broken, a big improvement. Still doesn't compile...
2001-01-11A large update from Manuel Novoa III <mnovoa3@bellsouth.net>.Eric Andersen
2000-11-04Fix doc blunder.Eric Andersen
2000-11-04Make spelling of uClibc be consistant.Eric Andersen
2000-10-20Strip all object files of all non global symbols and .note andEric Andersen
.comment, saving a lot of space in the resultant binaries... -Erik
2000-10-12Makefile updateEric Andersen
2000-10-11Finish reorganizing things. At least I think I've finished.Eric Andersen
2000-10-09Forgot thisEric Andersen
2000-10-09Bug ugly formatting updateEric Andersen
2000-10-07More cleanupsEric Andersen
2000-10-04Fix all the makefiles. Clean up some warnings, cleanup some headers.Eric Andersen
-Erik
2000-07-05Many bugfixes, header cleanups, etc. Added abort and glob.Eric Andersen
It is getting closer... -Erik
2000-05-15Finished porting stuff to x86 and supporting the Linux 2.2 kernels.Erik Andersen
It now compiles.... -Erik
2000-05-14Some makefile updates to make it behave a bit better/consistently.Erik Andersen
-Erik