summaryrefslogtreecommitdiffstats
path: root/lib/libc
Commit message (Collapse)AuthorAgeFilesLines
* Use INT_MAX instead of LONG_MAX since the variable being comparedjb1998-09-051-4/+4
| | | | is an int, not a long.
* Change a test for NETBSD_SYSCALLS to __alpha__. We're not ready tojb1998-09-051-2/+2
| | | | do profiling on alpha yet.
* Change the profile data file name from gmon.out to progname.gmonjb1998-09-052-7/+14
| | | | where progname comes from __progname in crt0 or crt1.
* Implement the weak aliases for private entry points in the inet_*jdp1998-09-0220-90/+167
| | | | | | | | | | | and res_* modules in a way that works for ELF. I moved the aliases out of res_stubs.c and into the individual modules where the entry points are defined. Weak aliases don't work in ELF unless that is the case. (Actually, I'm surprised it worked for a.out.) This should fix the undefined "inet_addr" and related symbols in various applications that fail to include <arpa/inet.h> or <resolv.h> as they are supposed to do.
* Sort cross references.wosch1998-08-315-14/+14
|
* Typo fix.jkoshy1998-08-281-1/+1
|
* Describe what constitues an exceptional condition.steve1998-08-241-0/+2
| | | | | PR: 7666 Submitted by: Archie Cobbs <archie@whistle.com>
* Update to use the new elf headers.dfr1998-08-171-15/+28
|
* Remove support for NetBSD syscalls.jb1998-08-179-378/+3
|
* Remove the comment about how to get NetBSD syscalls since there arejb1998-08-171-8/+1
| | | | now programs built on alpha that _must_ use FreeBSD syscalls to work.
* Add missing #include of <sys.types.h>phk1998-08-151-0/+1
|
* I have added the support for BIG5 encoding into libc/libxpg4/mklocale.phk1998-08-153-5/+127
| | | | | | | | | | | the diff is attached below. This is done on the 3.0 source-tree. I have test this on 2.2-stable before, but I don't have a 3.0 machine right now. This patch is mainly to make libc support BIG5 encoding, thus add zh_TW.BIG5 locale to 3.0. Submitted by: Chen Hsiung Chan <frankch@waru.life.nthu.edu.tw>
* If using FreeBSD syscalls, handle the syscalls that don't requirejb1998-08-081-1/+11
| | | | default asm code the same way as on i386.
* Include FreeBSD's syscall.h if not using NetBSD syscalls.jb1998-08-081-2/+5
|
* Allow for the fact that NetBSD syscalls are no longer the default. Calljb1998-08-081-0/+4
| | | | sigaltstack by default if using FreeBSD syscalls.
* Make NetBSD compatibility conditional on NETBSD_SYSCALLS being defined.jb1998-08-081-1/+3
| | | | This is no longer the default.
* References to NetBSD syscalls changed to just a comment about what tojb1998-08-081-6/+7
| | | | | | add to /etc/make.conf to use FreeBSD's libc with a NetBSD/Alpha kernel. From now on, FreeBSD/Alpha is just FreeBSD.
* Fixed bitrot in prototypes in synopsis.bde1998-08-031-5/+5
|
* Fixed missing header in synopsis.bde1998-08-031-1/+2
|
* isnetworktty -> isnettty. ttyent.h has already gone through 3bde1998-08-032-6/+6
| | | | | | revisions to match the confusing spelling in getttyent.c (1 to break it to match the man page and 1 in each of 2 branches to fix it). This function seems to be orphaned and unused.
* Fixed printf format errors.bde1998-08-021-1/+1
|
* 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()
* 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>.
* 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.
* 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
* | 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
| |
* | 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).
* | 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
* | preserve errno across the readlink() calls. There is no value in trashingpeter1998-06-181-1/+4
| | | | | | | | errno during a successful malloc() call.
* | Don't compile in the use of poll() when building libc_r. This isn'tpeter1998-06-141-1/+15
| | | | | | | | | | so much a "fix", rather a bandaid to buy time to fix it properly within the thread engine.
* | Document EINVAL return value.bde1998-06-141-0/+7
| |
* | Make nlist() understand elf unconditionallypeter1998-06-122-5/+2
| |
* | Update the resolver parts to bind-8.1.2 level. I have not touched thepeter1998-06-1125-1733/+3219
| | | | | | | | | | | | getXXXXbyYYYY() interfaces yet. Obtained from: diff relative to bind-8.1.2 sources
* | Move ftok() from libcompat to libc, so that it can be closer to itsjdp1998-06-101-3/+3
| | | | | | | | | | | | friend shmget(). PR: closes misc/6763
* | Fix grammar, "null" -> "NUL"danny1998-06-101-5/+5
| |
* | This is a null commit to log the fact that I have done a repositoryjdp1998-06-102-2/+2
| | | | | | | | | | | | | | copy to bring these files into libc from libcompat. I will enable them and kill off the libcompat versions on the main branch soon. PR: step one toward closing misc/6763
OpenPOWER on IntegriCloud