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
jb
ad0611eef7
If a thread is waiting on a child process to complete, the SIGCHLD
...
signal can arrive before the thread is woken from it's wait4. In this
case, don't return an EINTR, just set the thread state to running and
the wait4 wrapper will loop and get the exit status of the process.
1998-06-17 03:53:16 +00:00
peter
7321b44b39
Don't compile in the use of poll() when building libc_r. This isn't
...
so much a "fix", rather a bandaid to buy time to fix it properly
within the thread engine.
1998-06-14 11:25:46 +00:00
jb
3a45fc35f9
If a short write, only loop if no error.
1998-06-14 09:36:14 +00:00
bde
6b90b71a8e
Document EINVAL return value.
1998-06-14 08:22:05 +00:00
peter
2cb89754bd
Understand elf library naming rules for libtermlib alias.
...
Don't do the libtermcap un-bump hack for anything but a.out
1998-06-12 15:57:59 +00:00
peter
7eb39bf3d3
Make nlist() understand elf unconditionally
1998-06-12 15:02:03 +00:00
jb
11fe7c75d9
Add poll to the list of hidden syscalls so that it gets renamed. This
...
propagates a bug (that there is no poll wrapper in libc_r), but it
prevents GNU configure scripts from trying to use it in preference
to select. libc_r really needs to change it's wait interface to use
poll instead of select because poll is more a superset of select that
the other way around.
This should allow the Roxen web server to work out-of-the-box. It's
configuration intercae is kinda neat. The code isn't. Shiver. 8-)
1998-06-12 02:21:27 +00:00
jb
8435335952
Update the caller's descriptor masks even if there are none ready for
...
I/O for those applications that don't believe the return value of zero as
meaning that THERE ARE *NO* DESCRIPTORS READY.
1998-06-12 02:17:18 +00:00
peter
29d129a6ab
Sigh, mkdep doesn't know about all the CFLAGS to pass during depend
...
generation.
1998-06-11 10:39:32 +00:00
peter
810f8af7eb
Remove components that would duplicate those in libc now that the
...
includes and interfaces have been merged with the 8.1.2 update.
This essentially leaves the isc/* files that named and named-xfer use.
It might be best to just compile them with .PATH in both cases rather than
bothering with libbind.
1998-06-11 09:06:54 +00:00
peter
9492d9f3a2
Update the resolver parts to bind-8.1.2 level. I have not touched the
...
getXXXXbyYYYY() interfaces yet.
Obtained from: diff relative to bind-8.1.2 sources
1998-06-11 09:03:02 +00:00
jb
e55019792f
Check the access mode in the flags before waiting on a read or a write
...
that might never be possible if the file was not opened in the corrent
mode. This prevents a hang for bad programs. Why do people code like that?
1998-06-10 22:28:45 +00:00
jb
45e8efa5ea
Remove SA_RESTART from the signal dispatch in user-space since this
...
seems to be tripping up a lot of applications.
1998-06-10 22:25:18 +00:00
jb
cccdaf6051
When doing a F_SETFL, read the flags back so that the ones stored
...
in the file descriptor table are exactly what the kernel knows subject
to the O_NONBLOCK flag being requested by the user.
1998-06-10 22:24:12 +00:00
jdp
0b6b117e6b
Move ftok() from libcompat to libc, so that it can be closer to its
...
friend shmget().
PR: closes misc/6763
1998-06-10 16:20:21 +00:00