• R/O
  • HTTP
  • SSH
  • HTTPS

List of commits

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

RSS
Rev. Time Author
47f3643 2004-01-02 19:52:38 Eric Andersen

rohde at soap dot adsl dot dk writes:

The macro to do some floating point checks in libc/sysdeps/linux/powerpc/setjmp.S is incorrect.
The following should fix it.

be5aabf 2004-01-02 18:21:33 Manuel Novoa III

Fix __freadable and __fwritable... were using '~' instead of '!'. (ugh)
Fix (hopefully) a potential problem with failed freopen() calls. The
fix isn't tested since I've been working on the replacement stdio
core code which will go in after the next release.

95a70af 2004-01-02 18:20:33 Manuel Novoa III

Oops... temporarily support the old stdio code.

7817216 2004-01-02 17:47:22 Manuel Novoa III

The checking Erik added seems to be unnecessary. Without it, I am not
seeing any LTP failures.

400e6fc 2004-01-02 17:44:58 Manuel Novoa III

Redo the exec functions to comply with SUSv3.

33e58d3 2004-01-02 16:11:35 Manuel Novoa III

Rewrite popen for SUSv3 compliance.
Added a list of popen()'d to store pids and use waitpid() in pclose().
Loop on waitpid() failure due to EINTR as required.
Close parent's popen()'d FILEs in the {v}fork()'d child.
Fix failure exit code for failed execve().

950fed3 2004-01-02 16:01:13 Manuel Novoa III

Minor fix from upstream glibc.

9f04c85 2004-01-02 16:00:29 Manuel Novoa III

Kept the same approach, but rewrote the code for the most part.
Fixed some minor issues plus (as I recall) one SUSv3 errno case.

a16c1a5 2003-12-31 21:13:27 Eric Andersen

Fir errno return when the file/path is NULL or points to an empty string.
-Erik

7c3eb1f 2003-12-31 20:50:08 Eric Andersen

Add extra checks for sigprocmask and rt_sigprocmask syscalls.
The rt_sigprocmask syscall has broken error handling in 2.4.x
kernels, while the sigprocmask syscall appears to get things
right. Regardless we should be extra careful, and add these
checks.

6373c2b 2003-12-30 19:57:16 Eric Andersen

Fix the manditory typo in my last minute untested fix.
-Erik

5c62002 2003-12-30 19:45:45 Eric Andersen

Make sleep behave itself properly inthe presence of SIGCHLD

8d532c5 2003-12-30 19:40:49 Eric Andersen

Rework malloc. The new default implementation is based on dlmalloc from Doug
Lea. It is about 2x faster than the old malloc-930716, and behave itself much
better -- it will properly release memory back to the system, and it uses a
combination of brk() for small allocations and mmap() for larger allocations.
-Erik

4c9086e 2003-12-30 10:41:14 Eric Andersen

Update and restore malloc-simple. Slow as molasses, but trivially
simple and releases memory immediately when asked to do so.
-Erik

e510451 2003-12-28 17:25:16 Eric Andersen

Fix a really dumb bug introduced in version 1.4 of this file (a patch for ipv6
support) which could cause things like EOF and read errors while reading
/etc/services to always return a TRY_AGAIN. The perl test suite would alloc a
larger buffer and try again until all memory was exhausted. When we get a read
error, or EOF, it means we didn't get what we wanted, and so we should return
an error. Doing so fixes the failing perl 5.8.2 test.
-Erik

d984dbc 2003-12-28 16:41:24 Eric Andersen

Fix whitespace

3bc61e6 2003-12-28 09:25:31 Eric Andersen

remove unused file

e919981 2003-12-28 08:36:23 Manuel Novoa III

Handle the app_fini stuff in exit without requiring atexit().
This avoids pulling in all the malloc/free code for a simple true/false app.

d05dafe 2003-12-28 08:30:50 Manuel Novoa III

Fix a long-standing bug with pthreads. A couple of linuxthreads files
were including libc-lock.h which had a bunch of weak pragmas. Also,
uClibc supplied a number of no-op weak thread functions even though
many weren't needed. This combined result was that sometimes the
functional versions of thread functions in pthread would not override
the weaks in libc.

While fixing this, I also prepended double-underscore to all necessary
weak thread funcs in uClibc, and removed all unused weaks.

I did a test build, but haven't tested this since these changes are
a backport from my working tree. I did test the changes there and
no longer need to explicitly add -lpthread in the perl build for
perl to pass its thread self tests.

cb19f2f 2003-12-22 20:22:59 Eric Andersen

oops

47e3b88 2003-12-22 20:19:49 Eric Andersen

implement the worthless cuserid() function we claim to support.
This isn't in SuSv3, but is expected by at least some apps such
as emacs...

5fb172f 2003-12-22 19:47:04 Eric Andersen

In unistd.h, getpgrp() is redirected to __getpgid(), but
we did not have a __getpgid(). Fix that.

da7d891 2003-12-22 18:17:19 Eric Andersen

That was awfully stupid.

2283789 2003-12-22 17:56:37 Eric Andersen

Use 'sed -i -e' rather than 'sed -ie' since we don't want
to leave backup files with "e" appended scattered all over
the place.

8eb0481 2003-12-22 17:53:21 Eric Andersen

Update the config used when building a .deb

49eaf7e 2003-12-19 20:45:21 Eric Andersen

dev systems updated

789f578 2003-12-18 03:34:15 Eric Andersen

Use PAGE_SIZE rather than hard coding 4096

14ad676 2003-12-17 17:07:14 Eric Andersen

Patch from Paul Mundt <lethal@linux-sh.org>:

Here's the patch for the ldso bits for sh64. This is still in need of a bunch
of debugging, testing, etc. and is really only being submitted for general
completeness. This assumes that the previous patches I've submitted have
already been applied.

I plan on playing with this and buildroot some more later, as I'd definitely
like to see buildroot images for sh64.

0a0a648 2003-12-17 17:05:44 Eric Andersen

Patch from Paul Mundt <lethal@linux-sh.org>:

For sh64 we need implicit access to the symtab, primarily to get at the
->st_other value. This presently isn't possible, as PERFORM_BOOTSTRAP_RELOC()
is invoked as such:

PERFORM_BOOTSTRAP_RELOC(rpnt, reloc_addr, symbol_addr, load_addr);

while we can easily get the symtab_index value from rpnt->r_info, this still
doesn't buy us easy access to the actual table. As such, I've modified
PERFORM_BOOTSTRAP_RELOC() to take an additional SYMTAB argument. Most
architectures aren't going to care about this, but unfortunately we don't
have any other options for sh64.

The following patch fixes up the API for what we need for sh64, and updates
the other architectures appropriately.

e2ec80e 2003-12-17 16:57:32 Eric Andersen

Patch from Paul Mundt <lethal@linux-sh.org>:

The subject says it all.. optimized memset/memcpy/strcpy, lifted from SuperH's
glibc tree.