bde
9e5e52d9b8
Keep build-tools objects separate from `all' objects so that my
...
cross-builds work.
1998-09-02 15:22:11 +00:00
bde
3e4c6e97f3
Fixed the elf case of the creation of the libcrypt.so -> libscrypt->so
...
link. Shared libraries are in ${SHLIBDIR}, not necessarily in ${LIBDIR}.
1998-09-02 15:09:15 +00:00
bde
c177840e1d
csu must be built before all shared libaries for ELF, since ELF shared
...
libraries are linked to at least crti.o. Always build it first.
1998-09-02 15:02:18 +00:00
jdp
bf8ea8d3a7
Implement the weak aliases for private entry points in the inet_*
...
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.
1998-09-02 00:53:17 +00:00
wosch
68cda92e4a
Sort cross references.
1998-08-31 16:41:09 +00:00
brian
f2c69105f2
Remove OpenBSD build support - let the Makefile vary per
...
OS rather than making it a mess and potentially screwing
up cross builds.
Suggested by: bde
Add Id keyword.
1998-08-31 12:14:30 +00:00
brian
0d85445a6a
Add OpenBSD build support
1998-08-30 23:53:25 +00:00
markm
ee1b8f0d9c
While I am no longer making a shared library, it is a good plan to nuke
...
the old ones to prevent ld picking it up spuriously.
1998-08-30 13:07:16 +00:00
jb
2b6505f997
BINFORMAT -> OBJFORMAT ready for E-day.
1998-08-30 02:52:04 +00:00
jb
e6edac6dac
BINFORMAT -> OBJFORMAT ready for E-day.
1998-08-30 01:57:55 +00:00
markm
60a089e6d7
Stop making a shared library for libtelnet. This should have happened
...
a long time ago.
1998-08-29 20:23:14 +00:00
jkoshy
869eb982fe
Typo fix.
1998-08-28 04:36:21 +00:00
rnordier
ab70f0b218
Add support for reading directories as files.
...
Sort out fs_ops, alloc/free.
1998-08-27 10:45:20 +00:00
jb
343f23c6e9
Don't automatically restart syscalls for the signals that the thread
...
kernel needs.
1998-08-26 20:55:31 +00:00
jb
45be607d94
Back out most of the last commit. It created problems with sigpause.
1998-08-26 20:50:42 +00:00
jb
553a8d11c1
Test program for sigwait.
...
Submitted by: Daniel M. Eischen <eischen@vigrid.com>
1998-08-25 12:35:16 +00:00
jb
1262e5d7df
Add support for building test programs.
1998-08-25 12:33:22 +00:00
jb
cf45fb770c
Fix for sigwait problem.
...
Submitted by: Daniel M. Eischen <eischen@vigrid.com>
PR: misc/7039
1998-08-25 11:19:14 +00:00
dfr
55dcde8578
The length argument to sysctl is now size_t.
1998-08-25 07:52:33 +00:00
bde
16b9fca94f
Fixed syntax errors (__dead should have gone away years ago, and
...
__attribute__(()) is a gccism - we use __dead2).
1998-08-24 02:54:33 +00:00
steve
d39f49e72d
Describe what constitues an exceptional condition.
...
PR: 7666
Submitted by: Archie Cobbs <archie@whistle.com>
1998-08-24 01:09:34 +00:00
gpalmer
d804b140d6
Nuke unsupported architecture files
1998-08-22 14:34:59 +00:00
gpalmer
fd964e73db
Building `compat' on alpha is meaningless (they are i386 libraries)
1998-08-22 14:31:39 +00:00
jb
bc2aa8b61a
Remove the bootstrap hack that prevented the use of the rtld.
1998-08-20 21:37:22 +00:00
msmith
f2844ad92f
Add libstand.
1998-08-20 08:24:07 +00:00
msmith
8e2e50a330
Install libstand header <stand.h> and manpage (libstand.3)
1998-08-20 08:23:12 +00:00
msmith
42e6e188ef
This commit was generated by cvs2svn to compensate for changes in r38451,
...
which included commits to RCS files with non-trunk default branches.
1998-08-20 08:19:55 +00:00
msmith
b29bbd55da
This is libstand; a support library for standalone executables (eg. bootstrap
...
modules).
Obtained from: NetBSD, with some architectural changes and many additions.
1998-08-20 08:19:55 +00:00
msmith
335c4be5b1
This is libstand; a support library for standalone executables (eg. bootstrap
...
modules).
Obtained from: NetBSD, with some architectural changes and many additions.
1998-08-20 08:19:55 +00:00
ache
861a4bd425
do not include private copy of bpf.h - it leads to dangerous mismatch
...
of kernel/user bpf interface - include updated /sys/net/bpf.h instead
1998-08-18 10:29:37 +00:00
bde
7268de7a17
Made this actually work when there's an object directory:
...
- replaced bogus dependencies of distribution sources on generated
sources by the same ones that bsd.lib.mk would generate if it knew
all the sources. We shoot ourself in the foot by not naming the
generated (included) sources *.h, so we can just put the generated
sources in SRCS.
- replaced -I${.CURDIR} by `-I.'. Here `.' is an alias for ${.OBJDIR}.
-I${.CURDIR} didn't do anything, since ${.CURDIR} is the default in
all cases here (it would be necessary for ""-style includes made from
sources in ${.OBJDIR}.
Don't use `+=' for setting CLEANFILES for the first time.
Added $Id$.
1998-08-17 20:39:09 +00:00
des
c08f5296c3
Cross my fingers and enable libfetch.
1998-08-17 09:32:07 +00:00
des
b315880890
Commit a bunch of patches that have been accumulating:
...
- Fix the README to reflect the new status of the ftp code.
- Change tons of 'if (xxx < 0)' to 'if (xxx == -1)'
- Add two new interface functions
- Fix the Makefile so it actually works (yay!)
Now the manpage is lagging even further behind... :( Next on the todo
list is to clean up the http code.
1998-08-17 09:30:19 +00:00
dfr
2cfb34146c
Update to use the new elf headers.
1998-08-17 08:47:19 +00:00
jb
542d7ab6fb
Remove support for NetBSD syscalls.
1998-08-17 03:46:10 +00:00
jb
87c7d8300d
Remove the comment about how to get NetBSD syscalls since there are
...
now programs built on alpha that _must_ use FreeBSD syscalls to work.
1998-08-17 03:35:09 +00:00
phk
3fd8693dfa
Add missing #include of <sys.types.h>
1998-08-15 20:53:34 +00:00
phk
3d8fbb04c7
I have added the support for BIG5 encoding into libc/libxpg4/mklocale.
...
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>
1998-08-15 12:51:49 +00:00
jb
df2e90f4f3
Build libkvm on alpha too.
1998-08-15 12:36:42 +00:00
dfr
0828d02efd
Add an alpha machdep for kvm. The vatop functions are stubbed out for
...
now (mainly because I haven't ported them from the NetBSD crash dump
environment).
Obtained from: NetBSD
1998-08-15 12:12:22 +00:00
jb
9aee508ab2
Make the locally built and executed build tools in this directory
...
static to avoid them trying to use shared libraries before we're
ready. During the initial elf buildworld, the shared loader only
exists in the obj tree, so it can't be used.
1998-08-15 07:15:51 +00:00
jdp
3a1c25125a
Add missing initialization of the length variable passed to
...
getsockopt(). Use a separate variable for clarity, instead of
overloading an unrelated variable.
1998-08-12 20:29:29 +00:00
jb
b3abc25f21
Add extra initialisation code that is required for processes that
...
are started instead of init (pid = 1). This allows an embedded
implementation quite like VxWorks, with (possibly) a single threaded
program running instead of init. The neat thing is that the same threaded
process can run in a multi-user workstation environment too.
1998-08-10 01:24:22 +00:00
jb
f1b6bb19f5
If using FreeBSD syscalls, handle the syscalls that don't require
...
default asm code the same way as on i386.
1998-08-08 02:25:46 +00:00
jb
28e246e358
Include FreeBSD's syscall.h if not using NetBSD syscalls.
1998-08-08 02:24:03 +00:00
jb
931e9bbff0
Allow for the fact that NetBSD syscalls are no longer the default. Call
...
sigaltstack by default if using FreeBSD syscalls.
1998-08-08 02:20:24 +00:00
jb
559e45b44f
Make NetBSD compatibility conditional on NETBSD_SYSCALLS being defined.
...
This is no longer the default.
1998-08-08 02:18:07 +00:00
jb
f5eb9db9bd
References to NetBSD syscalls changed to just a comment about what to
...
add to /etc/make.conf to use FreeBSD's libc with a NetBSD/Alpha kernel.
From now on, FreeBSD/Alpha is just FreeBSD.
1998-08-08 02:14:45 +00:00
jdp
203de4af5d
Correct the description of skeyaccess(). It determines whether Unix
...
passwords are permitted, not whether S/Key passwords are permitted.
This manual page could use a good going over.
1998-08-05 23:42:10 +00:00
bde
cfef94c8ca
Fixed bitrot in prototypes in synopsis.
1998-08-03 17:52:27 +00:00
bde
b0f1ad7788
Changed prototype in synopsis to match prototype in <pthread.h>.
1998-08-03 16:54:51 +00:00
bde
f4657fb06b
Fixed missing header in synopsis.
1998-08-03 16:29:31 +00:00
bde
589ee87735
isnetworktty -> isnettty. ttyent.h has already gone through 3
...
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.
1998-08-03 15:35:41 +00:00
alex
5d69d2598b
The pthreads standard has been published. Change:
...
...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
1998-08-03 00:58:37 +00:00
alex
9f99cda126
A style fix for my previous commit.
1998-08-02 23:07:25 +00:00
alex
a9c05a1ce9
Fixed a race condition during the first lock/trylock of a statically
...
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
1998-08-02 17:04:25 +00:00
bde
aaeb261fcc
Fixed printf format errors.
1998-08-02 14:41:34 +00:00
phk
6b7f7b2376
I've put together man pages for the pthread_cleanup, pthread_cond, and
...
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>
1998-07-31 09:09:19 +00:00
ache
0ffccfde15
Print uid/gid as u_long per bde suggestion
1998-07-29 14:05:01 +00:00
bde
de10182213
Fixed disordering in previous commit.
1998-07-29 13:43:06 +00:00
hoek
50f3429a48
Add missing period. We don't allow maternity leaves.
1998-07-29 05:13:39 +00:00
jlemon
f3f6e5cc39
u_int --> unsigned int, remove (now unneeded) <sys/types.h>
1998-07-28 15:22:51 +00:00
jlemon
6a5deaf27d
oops, forgot to do ``cvs add'' first.
1998-07-28 03:39:04 +00:00
jlemon
f4995111a0
Add wrappers for i386_*_ioperm, i386_vm86 so userland code does
...
not have to call sysarch() directly.
Added man pages for above, as well as sysarch()
1998-07-28 03:33:27 +00:00
ache
d66e06a69f
cast arg to (long) to match format
1998-07-28 01:30:16 +00:00
ache
3d028a61c9
Provide meaningful errno value on error return
1998-07-14 18:27:43 +00:00
bde
55ddae5a80
Changed to the C9x draft spelling of the (unsigned) integral type
...
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>.
1998-07-14 05:09:48 +00:00
des
42566affcd
Forgot to remove base64.c from SRCS in the Makefile.
1998-07-12 22:37:45 +00:00
des
54143a63f8
Base64 code (and the MIT copyright) moved to http.c
...
FTP STORe and APPEnd added.
FTP proxy support added (untested).
1998-07-12 22:34:40 +00:00
des
7592a9749c
FTP retrieve works.
1998-07-11 21:29:08 +00:00
des
5b74d7e9c7
Too many changes to list. Basically, FTP is nearly there and error
...
reporting is kinda sorted out. Now HTTP needs to catch up...
1998-07-11 18:56:01 +00:00
bde
4579a954ad
Oops, fptrint_t still needs to be declared in <machine/profile.h> in the
...
!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>.
1998-07-10 09:26:41 +00:00
bde
63dd5b520f
Added a kernel-only typedef (ptrint_t) giving an integral type that is
...
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.
1998-07-10 02:27:16 +00:00
des
bb067f280e
This commit was generated by cvs2svn to compensate for changes in r37535,
...
which included commits to RCS files with non-trunk default branches.
1998-07-09 16:52:44 +00:00
des
9c2d60ed01
Imported libfetch into the tree. It compiles, but there's still some
...
work to do. I especially need help with the man page.
1998-07-09 16:52:44 +00:00
jkoshy
0f24702515
Correct wording on range of addresses examined by `msync(2)'.
...
PR: 7180
1998-07-09 06:16:22 +00:00
dt
0a9f242924
Add lockf().
1998-07-08 15:42:57 +00:00
dt
c8a05e725f
Make this look more FreeBSDish.
1998-07-08 15:38:06 +00:00
dt
2bb7c326d9
This commit was generated by cvs2svn to compensate for changes in r37510,
...
which included commits to RCS files with non-trunk default branches.
1998-07-08 15:28:56 +00:00
dt
52870c03da
An implementation of lockf() function call.
...
Obtained from: NetBSD (author: Klaus Klein)
1998-07-08 15:28:56 +00:00
peter
22fd80b5ba
Replace my original asprintf() and vasprintf() hacks with something
...
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
1998-07-08 00:44:56 +00:00
bde
6983ae1644
Added a `build-tools' target for internal tools.
1998-07-07 01:51:18 +00:00
phk
78b02c367e
fts_close calls free(sp), the ISSET(FTS_NOCHDIR) which is a macro that
...
references sp. The free needs to follow ISSET
PR: 7148
Reviewed by: phk
Submitted by: Ken Mayer <kmayer@freegate.com>
1998-07-03 08:21:05 +00:00
eivind
805c871967
Cross-reference to sysconf(3).
1998-06-30 22:56:39 +00:00
phk
6658078ab3
Allow /dev/null as path for the "/dev/mem" file, and assume that people
...
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
1998-06-30 21:29:44 +00:00
bde
8c3de9bd74
Fixed printf format errors.
1998-06-30 18:06:23 +00:00
bde
8925ea450f
Fixed print format errors.
1998-06-30 18:03:05 +00:00
bde
af9053c52e
Fixed a printf format error. Didn't fix assumption that sigset_t is
...
integral.
1998-06-30 18:00:11 +00:00
bde
53e5892174
Fixed printf format errors.
1998-06-30 17:30:22 +00:00
bde
e9a4005006
Fixed scanf format errors. The error handling is not quite bug for bug
...
compatible. I think small negative uids are handled compatibly but
other out of bounds ones are truncated differently for certain sizes of
uid_t.
1998-06-30 17:21:48 +00:00
bde
2312b6276f
Fixed printf format errors. Don't assume so many things about time_t.
...
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).
1998-06-30 16:49:47 +00:00
brian
a2d16c6974
Fixes assorted problems with the history edit functions in libedit. This
...
affects sh, ftp (and others?).
Submitted by: Max Euston <meuston@jmrodgers.com>
PR: 6516
1998-06-27 16:10:40 +00:00
jdp
4c0dd08a5a
Extend the existing hackery to set the disk type to SCSI for the
...
"da" and "od" devices. Formerly ESDI was used for them, causing
problems for fresh installations of CAM systems.
1998-06-27 02:01:25 +00:00
guido
bf3ddf370d
Fix btree problems. This passes regressions tests.
...
PR: 7009
Obtained from: http://www.sleepycat.com/update/patch.185.html , patches 1.2,
1.3 and 1.4
1998-06-25 18:50:06 +00:00
jb
5dff8fae16
Add the missing {} that caused the function to return ESRCH if it
...
had to wait for the thread to exit and if the caller didn't want the
thread exit status.
1998-06-25 00:04:21 +00:00
brian
5ed7f2c4ee
Add CUSEEME support. This has *not* been tested, nor
...
could I find anyone to test it, so please report any
problems to me.
1998-06-24 06:58:00 +00:00
ache
d3ff12efce
Fix keypad on/off for ^Z suspends by replacing reset_*_mode()
...
from libmytinfo
1998-06-19 16:12:41 +00:00
ache
2e210ceb51
Add check for non-NULL cur_term
...
Add #pragma weak for reset_*_mode() they will be replaced in libncurses
1998-06-19 16:09:20 +00:00
peter
03956e03bf
preserve errno across the readlink() calls. There is no value in trashing
...
errno during a successful malloc() call.
1998-06-18 09:13:16 +00:00
jb
32f1e04359
Don't allow a SIGCHLD to wake up a thread if the process has the default
...
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.
1998-06-17 22:29:12 +00:00