Commit Graph

4160 Commits

Author SHA1 Message Date
kris
e3b1b326d9 More secure temporary filename. This needs to be revisited to use
mkstemp().
2000-11-02 10:14:09 +00:00
jdp
4cf2616b42 At the beginning of pthread_mutex_lock(), call _thread_init() if
necessary.  This works around a bug in old versions of libgcc_r.a
which are statically linked into old executables.
2000-11-01 20:19:07 +00:00
sheldonh
f9d970cf5b Fix nits introduced in rev 1.9:
Remove single-space hard sentence break.
	Mark errno up as a Variable (Va).
2000-10-30 19:43:30 +00:00
ru
7042e6ae0d Added boolean argument to link searching functions, indicating
whether they should create a link if lookup has failed or not.
2000-10-30 17:24:12 +00:00
asmodai
6ae743b45a Replace old sigaction struct declaration with the new one as present
in <sys/signal.h>.

This might be a shortterm fix until the manpage is updated towards
POSIX terminology.  And maybe not...

PR:		21542
Submitted by:	Ronald F. Guilmette <rfg@monkeys.com>
2000-10-30 14:27:18 +00:00
asmodai
086ed3fd95 Correct incorrect information about the PATH used for exec*() calls.
PR:			21990
Partially submitted by:	Gerhard Sittig <Gerhard.Sittig@gmx.net>
2000-10-30 13:39:23 +00:00
asmodai
a084bcbdad Whitespace only change: trim trailing whitespace. 2000-10-30 13:23:19 +00:00
ru
b16564e129 A significant rewrite of PPTP aliasing code.
PPTP links are no longer dropped by simple (and inappropriate in this
case) "inactivity timeout" procedure, only when requested through the
control connection.

It is now possible to have multiple PPTP servers running behind NAT.
Just redirect the incoming TCP traffic to port 1723, everything else
is done transparently.

Problems were reported and the fix was tested by:
		Michael Adler <Michael.Adler@compaq.com>,
		David Andersen <dga@lcs.mit.edu>
2000-10-30 12:39:41 +00:00
obrien
9affcc0794 Alpha verions of the crt initialization and finalization files required
by the ELF ABI.
2000-10-30 05:21:08 +00:00
sumikawa
0d391adc5d Fix memory leak.
Obtained from:	KAME
2000-10-29 16:10:48 +00:00
des
09145c8747 Use CHECK_FLAG 2000-10-29 15:56:10 +00:00
des
74f9f6c46f Stricter error checking in the I/O functions. 2000-10-29 15:52:05 +00:00
des
35556e7484 Add CHECK_FLAGS, a macro for (safely) checking if a particular flag is set. 2000-10-29 15:45:31 +00:00
eivind
736563d71f Back out previous commit (MLINK malloc.conf.5 -> malloc.3).
This did not work correctly with whatis(1).

Issue brought up by:	mpp
2000-10-29 13:20:24 +00:00
des
99fca0398c Document FTP_PASSIVE_MODE and FTP_PASSWORD.
PR:		docs/20626
Submitted by:	nik
2000-10-29 12:58:08 +00:00
eivind
0c267d61b2 Add link malloc.conf.5 -> malloc.3 2000-10-29 09:59:35 +00:00
obrien
1a0c949327 * Bring back the guts of crt{i,n}.S. This allows C++ exceptions to work
when using the egcs and gcc-devel ports, along with GCC built from stock
public FSF sources.  With out this change, FreeBSD will be removed from
the list of systems GCC 3.0 must be evaluated on before release.  With
the effort some of us put into getting FreeBSD on this list, we should
not turn this effort into a waste, else we might not be worth fighting
for in the future.  (note that Alpha and IA-64 versions of crt{i,n}.S
are needed)

* Switch from our own crt{begin,in} to those created from GCC's crtstuff.c.
This will allow us to switch to DWARF2 exceptions in the future, along with
staying in sync with any future GCC requirements.

* Break out our ELF branding bits into a seperate file.  Currently this
is now included by our crt1.c files (since this functionality was part of
our native crtbegin.c).  Later crtbrand.o will be merged in the creation
of crti.o.
2000-10-28 21:26:48 +00:00
des
9abb580b91 Fix this my way. David had absolutely no call overriding MAINTAINER without
even giving me 24 hours to read his mail and find the bug.
2000-10-28 20:53:02 +00:00
obrien
d359bd3310 Install per function manpages so one doesn't mistakenly think we don't
have manpages for libfetch's functions.
2000-10-28 20:32:39 +00:00
obrien
913cc9d6c8 Repeat after me, "check to see that a pointer isn't NULL before
dereferenceing it".  This fixes ``pkg_add -r''.
2000-10-28 20:27:11 +00:00
mpp
2e18d6ab7b Style & grammar fixes.
PR:		docs/22374, docs/13020
2000-10-28 18:37:37 +00:00
ume
e9a3225599 defined HAVE_IFM_DATA for (free|net|open)bsd
Submitted by:	JINMEI Tatuya <jinmei@isl.rdc.toshiba.co.jp>
Obtained from:	KAME Project
2000-10-28 17:54:19 +00:00
nectar
2933241ba5 Explicitly initialize _pw_passwd. 2000-10-27 18:27:07 +00:00
ume
0b0ebf2924 Make RES_OPTIONS=inet6 work.
Basically PR22196, but slightly modified.

PR:	bin/22196
2000-10-27 12:34:52 +00:00
des
f59e8cd3e7 MFS: don't expect result code until you close the data connection 2000-10-27 11:37:21 +00:00
green
b686145545 Fix problems people were having with large -O levels with GCC and
getting libutil/libcrypt to work properly.  I've determined that GCC
thinks it can inline all functions, including weak-symboled ones, if
it feels like it.

Create a new stub.c and move any stubs there to prevent inlining.
Thanks to jdp and William S. Duncanson for helping me finally find the
problem.
2000-10-27 01:19:02 +00:00
gshapiro
e2312795f1 Add a MAINTAINER= line so people know who to blame 2000-10-26 23:02:36 +00:00
ache
93c4f45cd8 For %c replace reference to asctime(3) with ctime(3) from which %c genetically
originates
2000-10-26 22:11:11 +00:00
ache
7ab12567f2 Treat c_fmt field as compatibility placeholder 2000-10-26 16:20:57 +00:00
ache
5b1f333950 Force "%c" to be ctime-compatible
Submitted by:	ru
2000-10-26 16:07:04 +00:00
ache
794ddd6b83 Force %c to be "%a %Ef %T %Y" to eliminate problems with bad c_fmt
Submitted by:	ru
2000-10-26 14:22:41 +00:00
deischen
242819f173 Make pthread_kill() know about temporary signal handlers installed
by sigwait().  This prevents a signal from being sent to the process
when there are no application installed signal handlers.

Correct a typo in sigwait (foo -> foo[i]).
2000-10-25 11:46:07 +00:00
archie
2fa1103dc6 Build the ISC library as libisc. This library comes as part of the
bind distribution, but until now was not being built as a separate
entity. For documentation, see these man pages:

assertions(3), eventlib(3), heap(3), logging(3), memcluster(3), tree(3).

Reviewed by:	jdp
2000-10-24 20:10:25 +00:00
ache
87aec923c2 Describe %c better
Submitted by:	ru (with modifications)
2000-10-24 15:37:48 +00:00
deischen
157c59b4fa We use ___setjmp (non-signal saving) to setup a signal frame. When
adding a signal frame to a thread, be sure to label the context
correctly so we don't restore an uninitialized process mask.

Reported by:	kimc@W8HD.ORG and Andrey Rouskol <anry@sovintel.ru>
2000-10-22 18:35:11 +00:00
des
cbf0cce2f5 Use funopen() instead of fdopen(). This fixes three problems:
- ftpTimeout was not honored when reading actual data, as opposed to
   talking protocol

 - connection caching was broken because _ftp_cached_connect() would see
   the result of the transfer instead of the result of the NOOP.

 - if the RETR succeeded, but an error occurred later (as can happen
   when talking to a proxy), the error would not be detected.

There still remains to register an atexit(3) callback to close the cached
connection gracefully instead of just dropping it on the floor.
2000-10-22 12:07:28 +00:00
des
1fdbda80ba If the scheme is HTTP or HTTPS, percent-escape whitespace in the document
part.

Submitted by:	green
2000-10-21 14:58:18 +00:00
nyan
c04d6eb2e8 Use kern.disks sysctl on PC-98. 2000-10-21 10:08:57 +00:00
n_hibma
14b45ee78f Correct the text on RETURN VALUES. 2000-10-20 00:27:56 +00:00
ru
093cfc269a A failure to allocate memory for auxiliary TCP data is now fatal.
This fixes a null pointer dereference problem that is unlikely to
happen in normal circumstances.
2000-10-19 10:44:44 +00:00
des
3152d59307 Argh! Fix passive mode selection (again) 2000-10-17 19:01:18 +00:00
peter
8ed40b4092 Try and get libc_r to compile again on the alpha after deischen's commit 2000-10-17 06:31:40 +00:00
n_hibma
ba30389674 Sync with NetBSD:
K&R -> ANSI

Bugfix: 'Keep the bit position even when the report descriptor says POP.'

Add hid_use_report_desc, hid_parse_usage_page, hid_parse_usage_in_page.

Changed iface for hid_report_size.
2000-10-16 18:13:59 +00:00
dfr
3ce4aa655c Return zero from setjmp() and _setjmp() for now. 2000-10-16 16:51:50 +00:00
dfr
010f39c0b6 Fix a couple of dumb mistakes. 2000-10-16 16:48:48 +00:00
marcel
80dc7c7e97 Fix RAW dependency violation on p6 between cmp and mov. 2000-10-15 20:33:41 +00:00
brian
c5d8c9d93d #include <sys/types.h> 2000-10-15 20:04:09 +00:00
brian
4d7b2730e2 Fix #include order
Spotted by: imura
2000-10-15 16:42:31 +00:00
dfr
110bc45569 Initial libc port for ia64. 2000-10-14 17:01:12 +00:00
dfr
e9d90835c5 CSU code for ia64. 2000-10-14 16:38:08 +00:00