| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
errno during a successful malloc() call.
Notes:
svn path=/head/; revision=37048
|
| |
|
|
| |
Notes:
svn path=/head/; revision=36804
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
but also assumes that they are 32-bits. This is one place where I don't
think it is appropriate to change 'long' to 'int'. I don't see why the
code couldn't be fixed so that using natural long variables does the
right thing. It's spaggetti code so it'll take some effort. Obviously
NetBSD thought so too because they change 'long' to 'int32_t' etc
and left it at that. As a temporary measure FreeBSD/Alpha can use the
NetBSD code and put this on the list of things to fix.
Notes:
svn path=/head/; revision=35837
|
| |
|
|
| |
Notes:
svn path=/head/; revision=35726
|
| |
|
|
|
|
|
|
|
|
| |
and non-threaded programs. This makes malloc thread safe for linking
with libpthread and kernel threads.
Reviewed by: phk
Notes:
svn path=/head/; revision=35503
|
| |
|
|
|
|
|
| |
autoinitialiser gets linked in and therefore called before main().
Notes:
svn path=/head/; revision=35502
|
| |
|
|
| |
Notes:
svn path=/head/; revision=35501
|
| |
|
|
| |
Notes:
svn path=/head/; revision=35358
|
| |
|
|
|
|
|
|
|
| |
PR: 6240
Reviewed by: phk
Submitted by: Niall Smart rotel@indigo.ie
Notes:
svn path=/head/; revision=35128
|
| |
|
|
|
|
|
|
|
|
|
| |
libc to determine if locking is required. This is needed in libc
for use with kernel threads, but until a thread is created, we don't
really want to bother locking things. The variable was added here
because the crt code calls exit(main()) so all programs will get the
variable.
Notes:
svn path=/head/; revision=35125
|
| |
|
|
| |
Notes:
svn path=/head/; revision=35026
|
| |
|
|
| |
Notes:
svn path=/head/; revision=34669
|
| |
|
|
|
|
|
| |
__NETBSD_SYSCALLS is defined.
Notes:
svn path=/head/; revision=34382
|
| |
|
|
| |
Notes:
svn path=/head/; revision=33669
|
| |
|
|
| |
Notes:
svn path=/head/; revision=32133
|
| |
|
|
|
|
|
|
|
|
| |
a malloc. The signal handler creates a thread which requires a malloc...
For now, the only thing to do is to block signals. When we move user
pthreads to use the kernel threads, mutexes will be implemented in kernel
space and then malloc can revert.
Notes:
svn path=/head/; revision=31722
|
| |
|
|
| |
Notes:
svn path=/head/; revision=30624
|
| |
|
|
|
|
|
|
|
|
| |
This fixes bugs in the manual handling. abs.[cS] was handled too
specially and the wrong (.c) variant for each of div.[cS], labs.[cS]
and ldiv.[cS] was added to SRCS. This caused the .c variant to be
used if `depend' was made and the .S version to be used otherwise.
Notes:
svn path=/head/; revision=30484
|
| |
|
|
|
|
|
|
| |
were a workaround for limitations in bsd.man.mk that were fixed about
2 years ago.
Notes:
svn path=/head/; revision=30447
|
| |
|
|
| |
Notes:
svn path=/head/; revision=29563
|
| |
|
|
|
|
|
|
| |
Reviewed by: phk
Submitted by: jdp
Notes:
svn path=/head/; revision=28952
|
| |
|
|
|
|
|
|
|
|
| |
This makes 64bit operation more likely.
Reviewed by: phk
Submitted by: jdp
Notes:
svn path=/head/; revision=28835
|
| |
|
|
| |
Notes:
svn path=/head/; revision=28830
|
| |
|
|
|
|
|
|
| |
PR: misc/3575
Submitted by: Bruce Evans <bde@zeta.org.au>
Notes:
svn path=/head/; revision=28640
|
| |
|
|
| |
Notes:
svn path=/head/; revision=27698
|
| |
|
|
|
|
|
|
|
| |
PR: 3911
Reviewed by: phk
Submitted by: Shigio Yamaguchi <shigio@wafu.netgate.net>
Notes:
svn path=/head/; revision=27449
|
| |
|
|
| |
Notes:
svn path=/head/; revision=27369
|
| |\
| |
| |
| |
| |
| |
| | |
which included commits to RCS files with non-trunk default branches.
Notes:
svn path=/head/; revision=27181
|
| | |
| |
| |
| |
| |
| |
| |
| | |
libc/db, libc/gen/crypt.* and libtelnet. All affected files except 3
unimportant ones have already left the vendor branch.
Notes:
svn path=/vendor/CSRG/dist/; revision=27180
|
| | |
| |
| |
| |
| |
| |
| |
| | |
PR: 4002
Pointed out by: bde
Notes:
svn path=/head/; revision=27179
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Dmitrij Tejblum <dima@tejblum.dnttm.rssi.ru>
Various cleanup from Keith Bostic
Reinstate calloc() as a separate funtion, in its own source/object file.
leave the manpage integrated with malloc.3 and friends. Too many things
were broken in this respect.
PR: 4002
Reviewed by: phk
Submitted by: Dmitrij Tejblum <dima@tejblum.dnttm.rssi.ru>
Submitted by: Keith Bostic <bostic@bostic.com>
Notes:
svn path=/head/; revision=27152
|
| | |
| |
| |
| |
| |
| |
| | |
manpage is being viewed.
Notes:
svn path=/head/; revision=26826
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Various portability and stylistic cleanups.
Kill MALLOC_STATS & the 'D' option.
Fix the 'V' option.
Major overhaul of the man-page.
You milage should not vary.
Reviewed by: Keith Bostic <bostic@bostic.com>
Submitted by: Keith Bostic <bostic@bostic.com>
Notes:
svn path=/head/; revision=26816
|
| | |
| |
| |
| | |
Notes:
svn path=/head/; revision=26665
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
implement (better) falback code inside srandomdev() itself.
Change return type from int to void (binary compatibility surprisely
achieved). Userland code will be changed soon.
Notes:
svn path=/head/; revision=26624
|
| | |
| |
| |
| |
| |
| |
| | |
Prompted by: X11 & XFree86
Notes:
svn path=/head/; revision=26579
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Malloc cannot use pthread_mutex_init() to initialize a mutex because
the mutex initialization process does a malloc!
libc_r internals skip the malloc and assign an initializer to a static
structure and point the opaque type (pthread_mutex_t in this case) to
that structure. This is done on the assumption that the mutex will never
be destroyed. This style of initialization is only valid inside libc_r
because the structure that is assigned is opaque to the user.
This fix allows a simple program to get to main() again. 8-)
Notes:
svn path=/head/; revision=26444
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Untested support for Solaris from John-Mark Gurney
Reviewed by: phk
Submitted by: (partially) John-Mark Gurney <gurney_j@resnet.uoregon.edu>
Notes:
svn path=/head/; revision=26284
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
so that all these makefiles can be used to build libc_r too.
Added .if ${LIB} == "c" tests to restrict man page builds to libc
to avoid needlessly building them with libc_r too.
Split libc Makefile into Makefile and Makefile.inc to allow the
libc_r Makefile to include Makefile.inc too.
Notes:
svn path=/head/; revision=25401
|
| | |
| |
| |
| |
| |
| |
| |
| | |
PR: #3178
Submitted by: Josh Gilliam <soil@quick.net>
Notes:
svn path=/head/; revision=25145
|
| | |
| |
| |
| | |
Notes:
svn path=/head/; revision=25028
|
| | |
| |
| |
| | |
Notes:
svn path=/head/; revision=24880
|
| | |
| |
| |
| | |
Notes:
svn path=/head/; revision=24390
|
| | |
| |
| |
| | |
Notes:
svn path=/head/; revision=24155
|
| | |
| |
| |
| | |
Notes:
svn path=/head/; revision=24154
|
| | |
| |
| |
| | |
Notes:
svn path=/head/; revision=24153
|
| | |
| |
| |
| |
| |
| |
| | |
Submitted by: wollman & me (add type casts and remove unneded loop)
Notes:
svn path=/head/; revision=24151
|
| | |
| |
| |
| | |
Notes:
svn path=/head/; revision=24125
|
| | |
| |
| |
| | |
Notes:
svn path=/head/; revision=24094
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Tested by: Joel Maslak <j@pobox.com>
Closes: PR kern/2964
Notes:
svn path=/head/; revision=23981
|