summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2002-08-26sparc, alpha, and mips have different errno values than the otherManuel Novoa III
supported platforms. Adjust _susv3_strerror_r function to deal with this. Also fix an error in strerror() wrt invalid errnos. NOTE: sys_errlist and sys_nerr are no longer supported!!!
2002-08-25Kill the HAS_LONG_LONG option. It really did not make a lot ofEric Andersen
sense to exclude it, gcc always supports long long, and we never fully excluded long long anyways (off64_t for example). -Erik
2002-08-20Unlike glibc, uClibc doesn't always support the d_type field ofManuel Novoa III
struct dirent. So, disable the d_type support macros when d_type isn't available. This fixes a build problem file fileutils-4.1.
2002-08-19Eliminate wrapping of struct stat and use the kernel versionEric Andersen
directly. Eliminate all the attendant baggage. Fix internal types to match kernel types more closely. -Erik
2002-08-19Fixup struct _res handling so apps using struct _res can actuallyEric Andersen
compile ("worst standard ever!") -Erik
2002-08-16Disable macro implementations. Somehow I missed the following from theManuel Novoa III
ANSI/ISO C99 std... A library macro that masks a function declaration expands to an expression that evaluates each of its arguments once (and only once). ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Arguments that have side effects evaluate the same way whether the expression executes the macro expansion or calls the function. Macros for the functions getc and putc are explicit exceptions to this rule. Their stream arguments can be evaluated more than once. Avoid argument expressions that have side effects with these macros. This will be reworked before the next release. And yes, I feel stupid.
2002-08-16Remove thread-specific stuff entirely.Miles Bader
2002-08-16(_res): Define as a macro if __UCLIBC_HAS_THREADS__ is defined,Miles Bader
regardless of _LIBC.
2002-08-16(h_errno): Only define as a macro if __UCLIBC_HAS_THREADS__ is defined.Miles Bader
(__set_h_errno): Just assign to `h_errno' (which will be expanded to the thread-friendly version when appropriate).
2002-08-16Replace all instances of _LIBC_REENTRANT with __UCLIBC_HAS_THREADS__Eric Andersen
-Erik
2002-08-15Patch from Jarkko to fix drand48 to not use long long whenEric Andersen
long long support is disabled in the uClibc Config.
2002-08-14Add missing include/thread_db.h file, as reported by Simon PosnjakEric Andersen
-Erik
2002-08-09Fix some more warnings for non-thread-enabled compiles.David McCullough
2002-08-09Fix a number of compile time warnings so that uClibc will build with -Werror ↵David McCullough
using a 3.0.4 version of the sh-linux-gcc compiler.
2002-08-08Make pump happy. Add in this header.Eric Andersen
-Erik
2002-08-07Cleanup crypt and remove the crypt_r stuff, since SuSv3Eric Andersen
(IEEE Std 1003.1-2001) states that crypt need not be reentrant. -Erik
2002-08-07Message catalog support for internationalization is not currentlyEric Andersen
provided by uClibc, and here I have added macros to disable it. -Erik
2002-08-06Enable getpt prototype.Manuel Novoa III
2002-07-31More i960 supportEric Andersen
2002-07-27Avoid errors in case some loon has explicitly includedEric Andersen
linux/kernel.h (even though doing so is very dumb). -Erik
2002-07-24(__ASMNAME): Use C_SYMBOL_PREFIX.Miles Bader
(__ASMNAME2): Macro removed.
2002-07-22Rework syscall handling. Rewrite syscall handlers for x86 and ARM.Eric Andersen
Prepare to kill the UNIFIED_SYSCALL option and instead have it be a per arch thing that is either enabled or not for that arch. -Erik
2002-07-10Add missing stropts.hEric Andersen
2002-07-07Attempt to clean up the strerror_r situation.Manuel Novoa III
2002-07-05Update header for strlcat and strlcpy.Manuel Novoa III
2002-07-03Enable WCHAR support for C/POSIX stub locales.Manuel Novoa III
Implemented unformatted wide i/o functions. (ungetwc still needs testing) Fix a few bugs in wchar.c. Modifications for bcc/elks support.
2002-07-02fix this header so it behaves itselfEric Andersen
-Erik
2002-07-01Patch from Ronald Wahl <rwa@peppercon.com> -- kill references toEric Andersen
the obsolete PTHREAD_MUTEX_FAST_NP, and change the default mutex type to adaptive
2002-06-26Several cleanups/fixes from Marshall M. Midden <m4@brecis.com>Eric Andersen
2002-06-24Per "Marshall M. Midden" <m4@brecis.com>, remove doubleEric Andersen
define of _PATH_LOCALE.
2002-06-17Update rpc headers. Add missing some headersEric Andersen
-Erik
2002-06-17Implement strerror_r. This is per SuSv3, not glibc which doesEric Andersen
something different. -Erik
2002-06-17Commit the new time stuff, even though I haven't made it threadsafe yet.Manuel Novoa III
At least people can play with it. Also, fix a buglet in setenv.c.
2002-06-17I guess nobody's tried this stuff. I apparently checked in the wrong versionManuel Novoa III
several weeks ago.
2002-05-28Patch from Yoshinori Sato <qzb04471@nifty.ne.jp> to useEric Andersen
C_SYMBOL_PREFIX for confused compilers, such as for v850 and h8300, per suggestion from Miles Bader.
2002-05-28Fixup and unifiy version numbering. Automate versioning updates.Eric Andersen
Propagate fixes across makefiles. -Erik
2002-05-23Several h8300 updates from Yoshinori Sato <qzb04471@nifty.ne.jp>Eric Andersen
2002-05-09Fill a few little holes in the math libraryEric Andersen
2002-05-06The obligatory forgotten files...Manuel Novoa III
2002-05-06New locale support (in development). Supports LC_CTYPE, LC_NUMERIC,Manuel Novoa III
LC_TIME, LC_MONETARY, and LC_MESSAGES for the SUSv3 items. Also, nl_langinfo() when real locale support is enabled. New implementation of ctype.h. New implementation of wctype.h. New implementation of most of the string functions (smaller). New implementation of the wcs/wmem functions. These are untested, but they're also just preprocessor-modified versions ot the corresponding str/mem functions. Tweaked qsort and new bsearch. Stuff still pending: stdlib.h and wchar.h mb<->wc functions. I actually have working versions of the stdlib ones, but the reentrant versions from wchar.h require some reworking. Basic replacement and translit support for wc->mb conversions. (groundwork laid). Simple-minded collate support such as was provided by the previous locale implementation. (mostly done -- 8-bit codesets only) Shared mmaping of the locale data and strerror message text.
2002-05-02Add missing sysctl.h and queue.hEric Andersen
2002-04-01Remove function declartions from include/features.h, createEric Andersen
a separate header file for those, and fixup references. -Erik
2002-04-01Patches from Yoshinori Sato <qzb04471@nifty.ne.jp> to fix h8300Eric Andersen
support for pthreads and update for the latest and greatest.
2002-03-31Rework __gen_tempname() to better match glibc, and add mkstemp64(),Eric Andersen
which is needed for busybox ash when using largefile support. -Erik
2002-03-26Add EM_CYGNUS_V850.Miles Bader
2002-03-25Include our own copy of struct sysinfo to avoid binary compatibilityEric Andersen
problems with Linux 2.4, which changed things. And thereby reduce by one more the kernel headers we depend on... -Erik
2002-03-21Add the ttyent.h header fileEric Andersen
2002-03-15Oops. Forgot to check this one inEric Andersen
2002-03-15Hide libc specific junk inside a #ifdef _LIBC to avoidEric Andersen
namespace pollution, noted by Miles. -Erik
2002-03-12Fix a segfault in scandir for empty directories. After looking overEric Andersen
our version, I'm adopting the scandir from glibc (with minor changes) instead as it seems simpler and already correct.