Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Build libc_r on sparc64, it should work now. | tmm | 2003-01-05 | 1 | -1/+1 |
| | |||||
* | Add MD definitions for sparc64. This is based on work by des. | tmm | 2003-01-05 | 1 | -0/+29 |
| | |||||
* | Add an implementation of _atomic_lock for sparc64. This was submitted by | tmm | 2003-01-05 | 1 | -0/+45 |
| | | | | | des; I tweaked it slightly by extending the membar and making it match the style of the rest of the sparc64 assembler code. | ||||
* | Rewrite longjmp() and _longjmp() to directly restore the saved frame, | tmm | 2003-01-05 | 2 | -55/+19 |
| | | | | | | | | | instead of unwinding the call stack. This makes them usable to switch stacks, e.g. for libc_r. Do not save the frame pointer in setjmp() and _setjmp(), it is not needed any more. Rename _longjmp() to ___longjmp(), with a weak alias to _longjmp(), like the other architectures did. | ||||
* | Rename siglongjmp() to __siglongjmp(), with a weak alias to siglongjmp(), | tmm | 2003-01-05 | 1 | -2/+4 |
| | | | | like the other architectures do. | ||||
* | Use in_addr_t for the right size of an IPv4 address, and copy into | fenner | 2003-01-05 | 1 | -1/+3 |
| | | | | | | | an unaligned destination using bcopy instead of an assignment. Submitted by: Hartmut Brandt <brandt@fokus.gmd.de> PR: sparc64/46729 | ||||
* | No need to include <assert.h> here. | tjr | 2003-01-05 | 4 | -4/+0 |
| | |||||
* | strptime(), like strftime(), does not handle multibyte characters | tjr | 2003-01-04 | 1 | -1/+7 |
| | | | | in the format string correctly. | ||||
* | Mention in the BUGS section that strftime() does not handle multibyte | tjr | 2003-01-04 | 1 | -1/+7 |
| | | | | characters in the format string correctly. | ||||
* | Rename the dos_partition structure for pc98 to pc98_partition. | nyan | 2003-01-04 | 1 | -2/+2 |
| | |||||
* | Fix three warnings: | tjr | 2003-01-04 | 1 | -2/+2 |
| | | | | | | o #include <stdio.h> to make sprintf()'s prototype visible. o Remove unused variable: sbuf. o Don't use assignment as truth value. | ||||
* | style(9): return type on separate line from function name. | tjr | 2003-01-04 | 2 | -2/+4 |
| | |||||
* | Fix a number of bugs noticed by more extensive testing: | tjr | 2003-01-04 | 1 | -7/+15 |
| | | | | | | | | | | o Call waitpid() if an error occurs after forking the child process to avoid leaving zombies around. o Handle the WRDE_DOOFS|WRDE_APPEND combination correctly o Do not confuse $( substitution with $(( shell arithmetic (noticed by wollman) o Handle backslash escaping properly o Allow $( and ${ to be quoted | ||||
* | Rename UL_GETSIZE to UL_GETFSIZE and UL_SETSIZE to UL_SETFSIZE; these are | tjr | 2003-01-04 | 2 | -6/+6 |
| | | | | | the names required by 1003.1-2001. The old names are retained for source compatibility with FreeBSD 5.0 and will be removed before 6.0. | ||||
* | Remove unused variable: sz. | tjr | 2003-01-04 | 1 | -2/+0 |
| | |||||
* | Remove unused variable: size. | tjr | 2003-01-04 | 1 | -1/+1 |
| | |||||
* | #include <string.h> for strcmp()'s prototype. | tjr | 2003-01-04 | 1 | -0/+1 |
| | |||||
* | Remove unused variable: omask. | tjr | 2003-01-04 | 1 | -1/+0 |
| | |||||
* | #include <sys/linker.h> for kldload()'s prototype. | tjr | 2003-01-04 | 1 | -0/+1 |
| | |||||
* | #include <string.h> for strlen()'s prototype. | tjr | 2003-01-04 | 1 | -0/+1 |
| | |||||
* | #include <ctype.h> for isspace()'s prototype (or a macro version). | tjr | 2003-01-03 | 1 | -0/+1 |
| | |||||
* | Add missing #include "namespace.h". | tjr | 2003-01-03 | 1 | -0/+1 |
| | |||||
* | Remove unused variable: ntmp. | tjr | 2003-01-03 | 1 | -1/+0 |
| | |||||
* | #include <string.h> for strcmp()'s prototype. | tjr | 2003-01-03 | 1 | -1/+2 |
| | |||||
* | #include "local.h" to make __svfscanf()'s prototype visible. | tjr | 2003-01-03 | 3 | -0/+3 |
| | |||||
* | Remove an unused variable: `sb' in fts_read(). | tjr | 2003-01-03 | 2 | -2/+0 |
| | |||||
* | Remove an unused variable, `sverrno', which has not been used since 1.11. | tjr | 2003-01-03 | 1 | -1/+0 |
| | |||||
* | Optimize errstr() by reducing the number of times it walks a string. | mike | 2003-01-03 | 1 | -9/+7 |
| | | | | | | | | As a side effect, it makes the code easier to read and requires less pointer arithmetic. Test by: strerror regression test Submitted by: Tim Kientzle <kientzle@acm.org> | ||||
* | Make struct swblock kernel only, to make vm/swap_pager.h userland includable. | phk | 2003-01-03 | 1 | -1/+1 |
| | | | | | Move struct swdevt from sys/conf.h to the more appropriate vm/swap_pager.h. Adjust #include use in libkvm and pstat(8) to match. | ||||
* | Reset the stream orientation to 0 (unoriented) in freopen(), as required | tjr | 2003-01-03 | 1 | -0/+1 |
| | | | | by the C standard. | ||||
* | It is no longer necessary to include sys/types.h before wordexp.h. | tjr | 2003-01-03 | 1 | -1/+0 |
| | |||||
* | popen() is a function, not an argument. | tjr | 2003-01-03 | 1 | -1/+1 |
| | |||||
* | Protect pidlist with a mutex to avoid a race causing a duplicate free() | tjr | 2003-01-03 | 1 | -8/+24 |
| | | | | | | | when the same pipe FILE is pclosed()'d in different threads, and to avoid corrupting the linked list when adding or removing items. The symptoms of the linked list getting corrupted were pclose() either not finding the pipe on the list, or the list becoming circular and pclose() looping infinitely. | ||||
* | Set auto-retry mode to avoid some spurious errors. | des | 2003-01-03 | 1 | -0/+1 |
| | | | | | Submitted by: Andre Albsmeier <andre.albsmeier@siemens.com> MFC after: 7 days | ||||
* | Implement POSIX grantpt(3) functionality, and add a pt_chown utility (akin | jmallett | 2003-01-02 | 3 | -7/+491 |
| | | | | | | | | to Solaris, it is in /usr/libexec) to perform the handing over of tty nodes to the user being granted the pty. Submitted by: Ryan Younce <ryany@pobox.com> Reviewed by: security-officer@, standards@, mike@ | ||||
* | In cgetmatch(3), return -1 if a NULL or 0-length name parameter is used. | thomas | 2003-01-02 | 1 | -0/+3 |
| | | | | | | | | | | | This situation most notably arises in chkprintcap, when a /etc/printcap entry has an empty rp= attribute. In that case, cgetmatch would enter an infinite loop if any entry in the file has multiple names. This causes lpd to hang at boot time on 5.0-DP2 when both conditions are met (:rp=: and multiple names -- not necessarily on the same entry). Reviewed by: roberto | ||||
* | Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup, | schweikh | 2003-01-01 | 25 | -531/+531 |
| | | | | especially in troff files. | ||||
* | Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/ | schweikh | 2002-12-30 | 5 | -6/+6 |
| | | | | Add FreeBSD Id tag where missing. | ||||
* | Back out the s/int */size_t */ commit. | obrien | 2002-12-30 | 2 | -2/+2 |
| | | | | | It makes a difference on 64-bit arches, and no one really wants a 2^64 block size [yet]. | ||||
* | This compiles fine w/WARNS. | obrien | 2002-12-30 | 1 | -6/+5 |
| | |||||
* | Fix LP64 architectures and especially ia64. Functions that return | marcel | 2002-12-30 | 2 | -0/+2 |
| | | | | | | | | | a pointer and lack a prototype will have the return value (assumed to be an integer) zero-extended to a pointer. On ia64 this is unconditionally fatal as it zeroes-out the region bits, forming an invalid pointer. Fix the sigsegv by including <stdlib.h>. Pointy hat: bbraun | ||||
* | Remove BUGS section indicating that these calls are unimplemented. | rwatson | 2002-12-29 | 5 | -15/+15 |
| | | | | | | Update copyrights. Obtained from: TrustedBSD Project | ||||
* | Update acl_set.3, missed in last round: | rwatson | 2002-12-29 | 1 | -11/+19 |
| | | | | | | | | - Update BUGS: this stuff is implemented. - Update last modified date. - Document acl_set_link_np() call. Obtained from: TrustedBSD Project | ||||
* | Update libc POSIX.1e code and documentation to reflect: | rwatson | 2002-12-29 | 8 | -44/+164 |
| | | | | | | | | | | - Updated copyrights, modified dates - Remove "BUGS" entry indicating that ACLs are unimplemented - Implement acl_*_link() library wrapper variants for get, set, delete, aclvalid. - Document acl_*_link() calls. Obtained from: TrustedBSD Project | ||||
* | Use `useconds_t' instead of `u_int' or `unsigned int' where appropriate. | mike | 2002-12-29 | 4 | -7/+7 |
| | |||||
* | Fix typos in comment. | deischen | 2002-12-28 | 1 | -2/+2 |
| | | | | Submitted by: Craig Rodrigues <rodrigc@attbi.com> | ||||
* | english(4) police. | schweikh | 2002-12-27 | 41 | -55/+55 |
| | |||||
* | Silence casting away constness warnings. | alfred | 2002-12-27 | 1 | -5/+12 |
| | | | | | Make cgetmatch's locals const. Make cdbget take a const string and copy it into a buffer. | ||||
* | Fix a small typo. | tjr | 2002-12-27 | 1 | -1/+1 |
| | |||||
* | Slight tuning if teh KSE man page to indicate some functionality is | julian | 2002-12-27 | 1 | -29/+33 |
| | | | | not yet inplemented and to clear up some wording. |