summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* The pthreads standard has been published. Change:alex1998-08-0348-94/+94
| | | | | | | | | | ...is expected to conform to IEEE (``POSIX'') Std 1003.1c when it is published. to: ...conforms to ISO/IEC 9945-1 ANSI/IEEE (``POSIX'') Std 1003.1 Second Edition 1996-07-12. Discussed with: jb
* A style fix for my previous commit.alex1998-08-023-3/+3
|
* Fixed a race condition during the first lock/trylock of a staticallyalex1998-08-023-12/+63
| | | | | | | | | initialized mutex. Statically initialized mutexes are actually initialized at first use (pthread_mutex_lock/pthread_mutex_trylock). To prevent concurrent initialization by multiple threads, all static initializations are now serialized by a spinlock. Reviewed by: jb
* Fixed printf format errors.bde1998-08-021-1/+1
|
* I've put together man pages for the pthread_cleanup, pthread_cond, andphk1998-07-3130-4/+1902
| | | | | | | | pthread_mutex routines. I've also tweaked pthread_create.3 to point to pthread_cleanup_push(3) and pthread_cleanup_pop(3). PR: 7450 Submitted by: Brian Cully <shmit@kublai.com>
* Print uid/gid as u_long per bde suggestionache1998-07-291-5/+5
|
* Fixed disordering in previous commit.bde1998-07-292-8/+8
|
* Add missing period. We don't allow maternity leaves.hoek1998-07-291-2/+2
|
* u_int --> unsigned int, remove (now unneeded) <sys/types.h>jlemon1998-07-283-15/+13
|
* oops, forgot to do ``cvs add'' first.jlemon1998-07-286-0/+417
|
* Add wrappers for i386_*_ioperm, i386_vm86 so userland code doesjlemon1998-07-283-8/+13
| | | | | not have to call sysarch() directly. Added man pages for above, as well as sysarch()
* cast arg to (long) to match formatache1998-07-281-3/+3
|
* Provide meaningful errno value on error returnache1998-07-141-5/+17
|
* Changed to the C9x draft spelling of the (unsigned) integral typebde1998-07-141-12/+12
| | | | | | | | suitable for holding object pointers (ptrint_t -> uintptr_t). Added corresponding signed type (intptr_t). Changed/added corresponding non-C9x types for function pointers to match. Don't use nonstandard types to implement these types, and don't comment on them in <machine/types.h>.
* Forgot to remove base64.c from SRCS in the Makefile.des1998-07-121-1/+1
|
* Base64 code (and the MIT copyright) moved to http.cdes1998-07-123-180/+223
| | | | | FTP STORe and APPEnd added. FTP proxy support added (untested).
* FTP retrieve works.des1998-07-113-58/+145
|
* Too many changes to list. Basically, FTP is nearly there and errordes1998-07-115-138/+302
| | | | reporting is kinda sorted out. Now HTTP needs to catch up...
* Oops, fptrint_t still needs to be declared in <machine/profile.h> in thebde1998-07-101-9/+1
| | | | | !KERNEL case. The kludge to get it declared in libc/gmon/mcount.c wasn't sufficient because fptrint_t is used in <sys/gmon.h>.
* Added a kernel-only typedef (ptrint_t) giving an integral type that isbde1998-07-101-2/+11
| | | | | | | | | | least unsuitable for holding an object pointer. This should have been used to fix warnings about casts between pointers and ints on alphas. Moved corresponding existing general typedef (fptrint_t) for function pointers from the i386 <machine/profile.h> to a kernel-only typedef in <machine/types.h>. Kludged libc/gmon/mcount.c so that it can still see this typedef.
* This commit was generated by cvs2svn to compensate for changes in r37535,des1998-07-0911-0/+1375
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Imported libfetch into the tree. It compiles, but there's still somedes1998-07-0911-0/+1375
| | | | work to do. I especially need help with the man page.
* Correct wording on range of addresses examined by `msync(2)'.jkoshy1998-07-091-2/+2
| | | | PR: 7180
* Add lockf().dt1998-07-081-3/+3
|
* Make this look more FreeBSDish.dt1998-07-081-8/+2
|
* This commit was generated by cvs2svn to compensate for changes in r37510,dt1998-07-082-0/+345
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * An implementation of lockf() function call.dt1998-07-082-0/+345
| | | | | | | | Obtained from: NetBSD (author: Klaus Klein)
* | Replace my original asprintf() and vasprintf() hacks with somethingpeter1998-07-084-142/+99
| | | | | | | | | | | | | | | | more cleanly integrated with stdio. This should be faster and cleaner since it doesn't memcpy() the data into a seperate buffer. This lets stdio allocate and manage the buffer and then hand it over to the user. Obtained from: Todd Miller <Todd.Miller@courtesan.com> via OpenBSD
* | Added a `build-tools' target for internal tools.bde1998-07-071-1/+3
| |
* | fts_close calls free(sp), the ISSET(FTS_NOCHDIR) which is a macro thatphk1998-07-032-6/+8
| | | | | | | | | | | | | | | | references sp. The free needs to follow ISSET PR: 7148 Reviewed by: phk Submitted by: Ken Mayer <kmayer@freegate.com>
* | Cross-reference to sysconf(3).eivind1998-06-301-1/+2
| |
* | Allow /dev/null as path for the "/dev/mem" file, and assume that peoplephk1998-06-302-30/+38
| | | | | | | | | | | | | | know what they're doing if they do that. This will allow ps to use the kvm_proc.c bits without having access to /dev/mem. Fix kvm_proc.c to not need /dev/mem for access to argv/envp
* | Fixed printf format errors.bde1998-06-301-1/+1
| |
* | Fixed print format errors.bde1998-06-301-1/+1
| |
* | Fixed a printf format error. Didn't fix assumption that sigset_t isbde1998-06-303-3/+3
| | | | | | | | integral.
* | Fixed printf format errors.bde1998-06-304-7/+7
| |
* | Fixed scanf format errors. The error handling is not quite bug for bugbde1998-06-301-7/+4
| | | | | | | | | | | | compatible. I think small negative uids are handled compatibly but other out of bounds ones are truncated differently for certain sizes of uid_t.
* | Fixed printf format errors. Don't assume so many things about time_t.bde1998-06-301-20/+16
| | | | | | | | | | | | Obtained from: partial merge of ADO version tzcode96h (was fully merged in 1.10 but backed out in 1.11; the FreeBSD code for %s was earlier, prettier but buggier).
* | Fixes assorted problems with the history edit functions in libedit. Thisbrian1998-06-276-14/+49
| | | | | | | | | | | | | | affects sh, ftp (and others?). Submitted by: Max Euston <meuston@jmrodgers.com> PR: 6516
* | Extend the existing hackery to set the disk type to SCSI for thejdp1998-06-271-2/+3
| | | | | | | | | | "da" and "od" devices. Formerly ESDI was used for them, causing problems for fresh installations of CAM systems.
* | Fix btree problems. This passes regressions tests.guido1998-06-252-2/+5
| | | | | | | | | | | | PR: 7009 Obtained from: http://www.sleepycat.com/update/patch.185.html, patches 1.2, 1.3 and 1.4
* | Add the missing {} that caused the function to return ESRCH if itjb1998-06-253-3/+6
| | | | | | | | | | had to wait for the thread to exit and if the caller didn't want the thread exit status.
* | Add CUSEEME support. This has *not* been tested, norbrian1998-06-244-2/+131
| | | | | | | | | | could I find anyone to test it, so please report any problems to me.
* | Fix keypad on/off for ^Z suspends by replacing reset_*_mode()ache1998-06-193-25/+53
| | | | | | | | from libmytinfo
* | Add check for non-NULL cur_termache1998-06-191-0/+11
| | | | | | | | Add #pragma weak for reset_*_mode() they will be replaced in libncurses
* | preserve errno across the readlink() calls. There is no value in trashingpeter1998-06-181-1/+4
| | | | | | | | errno during a successful malloc() call.
* | Don't allow a SIGCHLD to wake up a thread if the process has the defaultjb1998-06-173-18/+27
| | | | | | | | | | signal handler installed for SIGCHLD. The ACE MT_SOCK_Test was hanging as the result of being interrupted when it didn't expect to be.
* | If a thread is waiting on a child process to complete, the SIGCHLDjb1998-06-173-3/+60
| | | | | | | | | | | | signal can arrive before the thread is woken from it's wait4. In this case, don't return an EINTR, just set the thread state to running and the wait4 wrapper will loop and get the exit status of the process.
* | Don't compile in the use of poll() when building libc_r. This isn'tpeter1998-06-144-7/+21
| | | | | | | | | | so much a "fix", rather a bandaid to buy time to fix it properly within the thread engine.
* | If a short write, only loop if no error.jb1998-06-146-12/+12
| |
OpenPOWER on IntegriCloud