summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Mechanically kill hard sentence breaks.ru2004-07-02215-732/+1395
|
* Follow previous change in makecontext. Use %esi to store next ucpdavidxu2004-07-021-1/+1
| | | | | pointer, here we keep orignal %ebp, so we can see where signal handler comes in and interrupt normal code.
* Deal with unsafe tab characters.ru2004-07-021-1/+3
|
* Removed trailing whitespace.ru2004-07-029-18/+18
|
* Fixed spelling of the document date.ru2004-07-026-6/+6
|
* Markup tidying.ru2004-07-026-16/+37
|
* Use %esi to store next ucp pointer. Mark end of stack bydavidxu2004-07-022-3/+4
| | | | | setting %ebp to zero, this avoids new gdb to dump a weird backtrace.
* Change the thread ID (thr_id_t) used for 1:1 threading from being amarcel2004-07-024-19/+9
| | | | | | | | | | | | | | | | | | | | pointer to the corresponding struct thread to the thread ID (lwpid_t) assigned to that thread. The primary reason for this change is that libthr now internally uses the same ID as the debugger and the kernel when referencing to a kernel thread. This allows us to implement the support for debugging without additional translations and/or mappings. To preserve the ABI, the 1:1 threading syscalls, including the umtx locking API have not been changed to work on a lwpid_t. Instead the 1:1 threading syscalls operate on long and the umtx locking API has not been changed except for the contested bit. Previously this was the least significant bit. Now it's the most significant bit. Since the contested bit should not be tested by userland, this change is not expected to be visible. Just to be sure, UMTX_CONTESTED has been removed from <sys/umtx.h>. Reviewed by: mtm@ ABI preservation tested on: i386, ia64
* Markup, grammar, punctuation.ru2004-07-019-59/+73
|
* Bumped document date.ru2004-07-011-5/+7
| | | | | Fixed markup. Fixed examples to match the new API.
* Back out last delta, it just unpolitely reverted some local changes.ru2004-07-011-8/+8
|
* Update libstand makefile for zlib 1.2.1.tjr2004-07-011-3/+3
|
* Update makefile for zlib 1.2.1.tjr2004-06-301-2/+1
|
* Resolve conflicts.tjr2004-06-3024-2711/+3319
|
* This commit was generated by cvs2svn to compensate for changes in r131377,tjr2004-06-3011-441/+2290
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Import zlib 1.2.1 (trimmed)tjr2004-06-3029-2214/+5639
| |
* | Markup, grammar, and spelling fixes.ru2004-06-3020-82/+121
| |
* | Fixed a typo.ru2004-06-302-2/+2
| |
* | When a thread is created suspended have libthr suspend it explicitlymtm2004-06-301-10/+3
| | | | | | | | instead of asking the kernel to do it when we create the thread.
* | Fix typo: WRDE_DOOFS -> WRDE_DOOFFS.tjr2004-06-302-5/+5
| | | | | | | | Noticed by: Stoned Elipot
* | Implement and document fdim{,f,l}, fmax{,f,l}, and fmin{,f,l}.das2004-06-3011-7/+570
| |
* | In case symlinks happen to already be sitting around, be sure to usekientzle2004-06-301-6/+20
| | | | | | | | chmod() and not lchmod() whenever we know we didn't extract a symlink.
* | Some implicit dirs were not having the umask correctlykientzle2004-06-281-4/+13
| | | | | | | | | | | | applied to their permissions. Just calculate the default dir mode once and use it consistently, rather than trying to remember to calculate it everywhere it's needed.
* | Remove libpthread_dbg, soon it will be replaced by libthread_db whichdavidxu2004-06-287-943/+0
| | | | | | | | is a defacto standard on other UNIX systems.
* | Refuse to extract an entry from an archive on top of the archive being read.kientzle2004-06-274-3/+34
| | | | | | | | (This is the converse of the "don't add an archive to itself".)
* | More cleanup work on permissions restore:kientzle2004-06-273-179/+204
| | | | | | | | | | | | | | | | | | | | | | | | | | * Rename some variables/functions/etc to try to make things clearer. * Add separate flags to control fflag/acl restore * Collect metadata restore into a single function for clarity * Propagate errors in metadata restore back out to the client * Fix some places where errors were being returned when they shouldn't and vice-versa * Modes are now always restored; ARCHIVE_EXTRACT_PERM just controls whether or not umask is obeyed. * Restore suid/sgid bits only if user/group matches archive * Cache the last stat results to try to reduce the number of stat calls
* | Add two new convenience functions to query the uid/gid from ankientzle2004-06-275-29/+121
| | | | | | | | | | | | | | | | | | archive_entry. Update the Makefile MLINKS and manpage to bring it up-to-date with the current status of archive_entry. At least the manpage actually lists all of the functions now, even if it doesn't really yet explain them all.
* | Clean up some consistent confusion between "dev" and "rdev."kientzle2004-06-2712-101/+176
| | | | | | | | | | | | | | | | Mostly, these were being used correctly even though a lot of variables and function names were mis-named. In the process, I found and fixed a couple of latent bugs and added a guard against adding an archive to itself.
* | More tweaks to implicit directory creation. Even such abominations askientzle2004-06-271-4/+27
| | | | | | | | | | | | | | | | | | | | | | a/././b/../b/../c/./../d/e/f now work correctly. And yes, a/b and a/c both get created in this example; if you want, you can create an entire dir heirarchy from a tar archive with only one entry. More tweaks to umask support: umasks are now obeyed for all objects, not just directories; the umask used is now the one in effect at the corresponding call to archive_read_extract(), so clients that want to tinker with umask during extract should get the expected behavior.
* | Implement pthread_atfork in libthr. This is mostly from deichen'smtm2004-06-275-0/+133
| | | | | | | | | | | | work in libpthread. Submitted by: Dan Nelson <dnelson@allantgroup.com>
* | In the case that the global thread list is being re-initialized aftermtm2004-06-271-4/+4
| | | | | | | | | | | | a fork, make sure that the current thread isn't detached and freed. As a consequence the thread should be inserted into the head of the active list only once (in the beginning).
* | * The mode for implicitly-created dirs is now 0777 modified by thekientzle2004-06-271-4/+6
| | | | | | | | | | | | | | umask in effect when the archive is closed * Correct a typo that broke implicit dir creation for non-directories. Thanks to: Garret A Wollman for pointing out my umask oversight
* | Unify mkdirpath (used to automatically create missing parent dirs) andkientzle2004-06-271-215/+126
| | | | | | | | | | | | | | | | | | | | | | read_extract_dir (which creates directories in the archive). This brings a number of advantages: * FINALLY fix the problems creating dirs ending in "/." <sigh> * Missing parent dirs now get created securely, just like explicit dirs. (Created 0700 initially, then edited to 0755 at end of extraction.) * Eliminate some duplicate code and some weird special cases. While I'm cleaning, inline the regular-file creation code as well.
* | Read gtar-style sparse archives.kientzle2004-06-277-61/+157
| | | | | | | | | | | | | | This change also pointed out one API deficiency: the archive_read_data_into_XXX functions were originally defined to return the total bytes read. This is, of course, ambiguous when dealing with non-contiguous files. Change it to just return a status value.
* | Revert the last change. There are more 64bit platforms than amd64, andkan2004-06-251-1/+1
| | | | | | | | they break due to diferent alignment restrictions.
* | Remove the use of cast as lvalue.kan2004-06-251-1/+1
| |
* | Remove the use of cast as lvalue. GCC 3.4 isses a deprecation warningkan2004-06-251-1/+1
| | | | | | | | for this now.
* | s/SS_CANTSENDMORE/SBS_CANTSENDMORE/rik2004-06-241-1/+1
| |
* | s/ARCH/ARCH_SUBDIR/g -- This reduces the chance of possible conflictsmarcel2004-06-241-3/+3
| | | | | | | | | | | | with the user's environment. Wondered why his cross-builds kept failing: marcel
* | Fix a test of bit-flag "P_SA" by adding parenthesis around the expression.gad2004-06-231-1/+1
| | | | | | | | Submitted by: Cyrille Lefevre
* | Replace a call to strncpy() with a call to strlcpy()gad2004-06-231-4/+2
| | | | | | | | Submitted by: Cyrille Lefevre
* | Prefix the names of members of _RuneLocale and its sub-structurestjr2004-06-236-87/+90
| | | | | | | | | | | | with ``__'' to avoid polluting the namespace. This doesn't change the documented rune interface at all, but breaks applications that accessed _RuneLocale directly.
* | Be specific about which socket properties are inherited from the originalbms2004-06-231-10/+13
| | | | | | | | | | | | socket upon accept(2). PR: docs/54995, kern/45733
* | Spelling fixes.mpp2004-06-212-3/+3
| |
* | Spelling fixes.mpp2004-06-211-1/+1
| |
* | Spelling fixes.mpp2004-06-211-1/+1
| |
* | Spelling fixes.mpp2004-06-212-3/+3
| |
* | Spelling fixes.mpp2004-06-216-7/+7
| |
* | PR: docs/67884mpp2004-06-211-1/+1
| | | | | | | | Submitted by: Chirstopger Nehren <apeiron@comcast.net>
* | Completely remove s_ilogb.S as the assembler implementation gives very littlestefanf2004-06-202-84/+1
| | | | | | | | | | | | speed improvement to none at all over the MI version. Submitted by: bde
OpenPOWER on IntegriCloud