Doug Rabson
0e7e4e5fd6
Always allocate a TLS area even if its empty - libpthread relies on
...
having a valid %gs when it initialises.
MFC after: 2 days
2004-08-18 10:18:58 +00:00
Tom Rhodes
1bdc6fddbf
/me kicks cvs update
...
Revert previous commit, tjr already fixed it and I was too stupid to
notice this fact.
Approved by: re (to avoid failing cvs ci)
2004-08-17 04:56:03 +00:00
Tom Rhodes
daa790840c
Fix incorrect code in an example. The previous example would produce
...
19 column positions wide in the first line and 20 in the rest of the lines.
This fixes the example to provide the correct output.
PR: 53454
Noticed by: Kuang-che Wu <kcwu@kcwu.homeip.net>
Submitted by: Marc Silver <marcs@draenor.org>
Approved by: re (scottl)
2004-08-17 04:45:52 +00:00
David Xu
f914e34db6
Fix compile, s/tp_dtv/tp_tdv/g.
2004-08-16 14:07:38 +00:00
Doug Rabson
e9abf2d6e2
Fix alpha build and add __FBSDID.
...
PR: 70518
2004-08-16 08:12:29 +00:00
Peter Grehan
391d4a3856
Bring PPC up to date with latest TLS changes.
2004-08-16 05:41:39 +00:00
David Xu
2eb43a641f
Plug a memory leak in error case.
2004-08-16 05:20:12 +00:00
David Xu
cd980d46c2
1. Use libpthread's exported symbols to calcuate offset in data structure
...
2. Enable TLS debugger support.
2004-08-16 03:30:16 +00:00
David Xu
a002d437ea
1. Add macro DTV_OFFSET to calculate dtv offset in tcb.
...
2. Export symbols needed by debugger.
2004-08-16 03:27:29 +00:00
David Xu
497c17e0ae
Add a file to collection all symbols will be needed by debugger.
2004-08-16 03:25:07 +00:00
Doug Rabson
e6f19330ce
Add rtld-elf to the include path for the rtld to pthread TLS interface.
2004-08-15 21:51:18 +00:00
Doug Rabson
99c8d0836d
Add TLS support for i386 and amd64.
2004-08-15 16:28:05 +00:00
Doug Rabson
adbadf41a9
Add TLS support for libthr on i386.
2004-08-15 16:21:30 +00:00
Doug Rabson
ccd13c49b5
Add support for TLS in statically linked programs.
2004-08-15 16:18:52 +00:00
Stefan Farfeleder
4eae39bfdf
Avoid using void pointers in additive expressions.
...
PR: 56653
2004-08-14 17:46:10 +00:00
Poul-Henning Kamp
e7581f0fc2
Fix outgoing ICMP on global instance.
2004-08-14 14:21:09 +00:00
Tim Kientzle
57b665990a
Eliminate reliance on non-portable <err.h> by implementing a very
...
simple errx() function.
Improve behavior when bzlib/zlib are missing by detecting and
issuing an error message on attempts to read gzip/bzip2 compressed
archives.
2004-08-14 03:45:45 +00:00
Tim Kientzle
6a0724a89e
We don't need <paths.h>, so don't bother including it.
2004-08-14 03:43:35 +00:00
Stefan Farfeleder
361de173a5
Avoid using void pointers in additive expressions.
...
PR: 56653 (libc/rpc bits)
Approved by: alfred
2004-08-13 23:22:38 +00:00
Peter Pentchev
9f4c0e5c8f
Document the MNT_SNAPSHOT mount flag with a cross-reference
...
to mksnap_ffs(8).
PR: 70402
Submitted by: James Raftery <james@now.ie>
2004-08-13 14:33:03 +00:00
David Xu
d4ee712657
1. Add missing functions: libthr_dbresume,libthr_dbsuspend.
...
2. Implement functions: libthr_db_thr_setfpregs, libthr_db_thr_setregs,
libthr_db_ta_map_id2thr.
3. simplify libthr_db_thr_getfpregs, libthr_db_thr_getgregs.
2004-08-13 06:47:33 +00:00
Tim J. Robbins
5349fd7f49
Fix example.
2004-08-12 12:32:14 +00:00
Tim J. Robbins
de6c9c9d5b
Implement wcwidth() as an inline function.
2004-08-12 12:19:11 +00:00
Daniel Eischen
b9de27c005
As long as we have a knob to force system scope threads, why not have
...
a knob to force process scope threads. If the environment variable
LIBPTHREAD_PROCESS_SCOPE is set, force all threads to be process
scope threads regardless of how the application creates them. If
LIBPTHREAD_SYSTEM_SCOPE is set (forcing system scope threads), it
overrides LIBPTHREAD_PROCESS_SCOPE.
$ # To force system scope threads
$ LIBPTHREAD_SYSTEM_SCOPE=anything threaded_app
$ # To force process scope threads
$ LIBPTHREAD_PROCESS_SCOPE=anything threaded_app
2004-08-12 12:12:12 +00:00
Hartmut Brandt
0d5467be9e
Link to the build again. The problem was that we need a new
...
gensnmptree for the .def file to parse. This was fixed in
Makefile.inc1.
2004-08-11 16:47:12 +00:00
Hartmut Brandt
6c6e198147
Again something bad is happening so comment out the ATM module.
2004-08-11 16:01:46 +00:00
Hartmut Brandt
d6024e35bf
Now, after the import of NgATM-1.1, re-enable the atm module.
2004-08-11 12:27:31 +00:00
Brian Feldman
ea84c8dc30
Update "documentation date" fields.
2004-08-10 16:38:19 +00:00
Brian Feldman
831bc6f574
Update mlock(2) manpage to cross-reference m{,un}lockall(2), remove
...
a case where ENOMEM could be returned by munlock(2), and add possible
system deadlock to the BUGS section.
2004-08-10 14:52:42 +00:00
Scott Long
ddb75b6fab
Disable the snmp_atm module until the source gets fixed. This will unbreak
...
this portion of the build.
2004-08-10 04:56:39 +00:00
Hartmut Brandt
c33ca5aaa0
Link the snmp_atm module to the build unless NOATM is defined.
2004-08-09 16:40:39 +00:00
Hartmut Brandt
a566bd48a8
Now that gensnmptree can read and merge more than one tree make
...
the rule so that the tree .c and .h files can be produced from several
trees.
2004-08-09 16:37:25 +00:00
Hartmut Brandt
9856b0ba40
A module for bsnmpd(1) that exports a MIB that contains information about
...
the local ATM interfaces and allows to change some parameters via SNMP.
2004-08-09 16:36:04 +00:00
David E. O'Brien
8f7ffe585a
Turn on the magic.
2004-08-09 11:30:36 +00:00
David E. O'Brien
7866c62aa6
Don't try to programatically support running file(1) w/in /usr/obj or other
...
non-standard install path.
Agreed with: ru
2004-08-09 11:05:09 +00:00
David E. O'Brien
3dcb1ab12d
Uncomment the real paths and remove the local debugging paths.
...
Noticed by: ru (who's faster than 'make world' on my stock src test machine)
2004-08-09 10:32:16 +00:00
David E. O'Brien
20164649ea
Bmake the library containing and processing the magic.
2004-08-09 08:48:28 +00:00
David Xu
78f687539a
Check debugger suspending flag for system scope thread.
...
Reviewed by: deischen
2004-08-08 22:42:11 +00:00
David Xu
3e93cc3ae3
1.Use new way to check if a thread is in critical region, defer suspending
...
if it is true.
2.Add thread_db api td_thr_tls_get_addr to get tls address, the real code
is commented out util tls patch is committed.
Reviewed by: deischen
2004-08-08 22:37:53 +00:00
Tim Kientzle
7acae2155e
Add archive_entry_set_mtime()
2004-08-08 07:39:19 +00:00
Tim Kientzle
0a36c0e86b
Oops. Use "unsigned long" instead of "int" for the intermediate variables
...
in wide-character conversions, since it's guaranteed to be large enough.
Thanks to: Andrey Chernov
2004-08-08 02:22:48 +00:00
Tim Kientzle
61913b5f21
Use 'int' for certain wide-character conversions instead of wchar_t.
...
That quiets some compiler warnings on platforms with 16-bit wchar_t.
With this change, libarchive now compiles cleanly on Win32/cygwin.
2004-08-08 01:21:10 +00:00
Tim Kientzle
e33730c3c3
The configure-built Makefile wasn't installing archive.h
2004-08-08 00:48:39 +00:00
Tim Kientzle
e8ec6e32d2
If you don't need a header, don't bother including it.
2004-08-08 00:43:21 +00:00
Stefan Farfeleder
bef5493789
Add man pages for the cimag(), conj() and creal() functions.
2004-08-07 23:03:36 +00:00
Dag-Erling Smørgrav
264a4c03fc
Don't forget to allocate space for the terminating NUL when converting to
...
base 64.
PR: misc/70022
Submitted by: Herve Masson <herve-bsdbt@mindstep.com>
MFC after: 3 days
2004-08-07 20:23:50 +00:00
Tim Kientzle
91ce8f27d8
Split archive_{read,write}_finish into separate "close" (finish the archive
...
and close it) and "finish" (destroy the object) functions. For backwards
compat and simplicity, have "finish" invoke "close" transparently if needed.
This allows clients to close the archive and check end-of-operation
statistics before destroying the object.
2004-08-07 19:22:50 +00:00
Tim Kientzle
0cc230af33
Don't forget to count the end-of-file padding as part of the finished
...
file size.
2004-08-07 19:21:18 +00:00
Tim Kientzle
b2d9ea9fd3
Having implemented read support for it, I now know how to document the
...
GNU sparse file extension.
2004-08-07 17:24:50 +00:00
Tim Kientzle
659c68935c
Correct an mdoc error; add a sentence about tar's ancestors "tp" and "tap."
2004-08-07 17:15:33 +00:00