Commit Graph

1294 Commits

Author SHA1 Message Date
peter
add80add7c Repository copy libfakegnumalloc to libgnumalloc and remove the symlink
stuff and detection for the "gnumalloc" port which doesn't exist and
nobody has cared enough about for the past 6 months or so to implement.

As has been pointed out to me (quite a few times) in email, the people
that had been bitten by the changes had failed to follow the instructions
about updating /etc/rc.

Bruce also pointed out that after my last commit, it was no longer
removing /usr/lib/libgnumalloc.so.2.0 as it should have been.

Hopefully this (and the comments in the Makefile) should defuse the problem
a bit.
1996-09-27 06:58:05 +00:00
peter
5b7e1029fb Remove the nuke of /usr/lib/libgnumalloc*, this is closer to "How It Was
Before", hopefully it won't cause as much hassle.  This now entirely
confines it's activities to /usr/lib/compat/lib{fake,}gnumalloc.so.2.0
1996-09-26 14:22:32 +00:00
pst
cb685776d1 Back out my recent compilation clean-up changes, sysinstall is now weird. 1996-09-26 01:08:51 +00:00
sos
330982acee Fix a typo.
Reviewed by:	 phk
1996-09-25 16:29:15 +00:00
phk
b0488ab962 A number of minor bogons and portability things from jdp.
Submitted by:	jdp
1996-09-25 08:30:46 +00:00
bde
d2512c2bf9 Eliminated includes of the "temporary" backwards compatibility header
<sys/dir.h> in applications.  Maintained existing (inadequate) ifdefs
for dir.h vs dirent.h in libdialog, amd and rarpd, but didn't add any
new ones.
1996-09-24 08:08:11 +00:00
wosch
89dea7c61d add missing comma(s) in .Xr macros 1996-09-23 22:24:39 +00:00
phk
8362cc2d1d phkmalloc/3
Various neat features added.  More documentation in the manpage.
If your machine has very little RAM, I guess that would be < 16M
these days :-(,  you may want to try this:
	ln -fs 'H<' /etc/malloc.conf
check the manpage.
1996-09-23 19:26:39 +00:00
alex
944cf76d20 Fix typo from previous commit (tsvsec --> tv_sec). 1996-09-23 03:54:53 +00:00
pst
365fa6d6f8 Fix some compilation warnings 1996-09-22 01:05:21 +00:00
pst
8ddc5c2acb Fix some compilation warnings. 1996-09-21 18:01:23 +00:00
wosch
d3f8d45ce4 fix .Xr macro 1996-09-21 15:08:10 +00:00
peter
a60b7660f3 ".Xr chflags 1," -> ".Xr chflags 1 ," 1996-09-21 06:28:55 +00:00
bde
95da9969a4 Fixed CLEANFILES. The *.3 links were missing.
Removed ugly newlines.
1996-09-20 14:12:32 +00:00
phk
98ea23712a Add the utrace syscall. 1996-09-20 13:55:25 +00:00
nate
c19924b409 Remove now un-necessary FreeBSD specific code since our timespec
structure now has the correct member names.

Pointed out by: Peter Wemm
1996-09-20 06:33:54 +00:00
nate
934efd0502 ts_sec -> tv_sec
ts_nsec -> tv_nsec
1996-09-20 06:06:28 +00:00
peter
a229cd8427 Make libftpio 64-bit clean.
Major version bumped (by me) since the ftpGet() public interface has
changed (an "int *" becomes and "off_t *")

Submitted by: Jason Thorpe <thorpej@nas.nasa.gov>, PR#1640
1996-09-19 17:28:34 +00:00
peter
6becb94fb2 Minor tweaks for the fake libgnumalloc stuff. No longer build, install and
then rm the *.a version
1996-09-19 09:36:43 +00:00
phk
d57b1a3459 Update to tcl7.5u1.
Add two scaffold files to (attempt) to make a tclsh compiled -static work.
1996-09-18 14:29:21 +00:00
phk
cd3f943120 Fix a very rare error condition: The code to free VM back to the kernel
as done after a quasi-recursive call to free() had modified what we
thought we knew about the last chunk of pages.
This bug manifested itself when I did a "make obj" from src/usr.sbin/lpr,
then make would coredump in the lpd directory.
1996-09-17 19:50:23 +00:00
ache
cf052c0bed Add comment explaining what function does
Cover strcoll return 0 case too
1996-09-17 19:27:06 +00:00
bde
6ed5ccfb8f Don't use __dead or __pure in user code. They were obfuscations
for gcc >= 2.5 and no-ops for gcc >= 2.6.  Converted to use __dead2
or __pure2 where it wasn't already done, except in math.h where use
of __pure was mostly wrong.
1996-09-14 03:00:32 +00:00
pst
aa0bf1e119 fwopen() argument type mis-described
Obtained from: NetBSD lib/2751 (der Mouse)
1996-09-13 19:14:12 +00:00
bde
0b687c9c86 Fixed non-removal of old libresolv_p.a.
Cleaned up formatting.
1996-09-11 01:23:11 +00:00
peter
14d65dda33 Change the last -Wall cleanup so that the tputs declaration doesn't
conflict with the other declarations in other files.  tputs() is
traditionally declared to return int, not void.  curses.h has it as int.
ncurses has int and actually sets the return value.  This problem has
been causing the ircII port to not compile.

(I've only minimally tested this, I do not have libtermcap on my systems)
1996-09-10 12:42:10 +00:00
peter
c8cddce120 Resync statfs struct with sys/mount.h. 1996-09-07 21:50:31 +00:00
peter
a80e135e49 clean up some warts Bruce pointed out.
- no longer build or install libresolv.a, since we were immediately
   deleting it in afterinstall.
 - untangle $LIBDIR and $SHLIBDIR
1996-09-07 17:58:36 +00:00
peter
97c2c38192 use termios when POSIX is defined in the Makefile, not sgtty 1996-09-07 17:31:37 +00:00
jkh
b83f9c3559 Don't smash attributes when turning color values off. This was submitted
as a PR to GNATs but it evidently went astray somehow since I can't find
it in the database now, nor does an assigned PR# appear on the mail I got.
Sorry about that, Danny!
Submitted-By: Danny R. Johnston <danny@simn.com>
1996-09-06 05:55:48 +00:00
bde
3dd86bb954 Use a more robust check for ss_err.h existing. This header isn't
built early enough to always be installed by the `includes' target
in /usr/src/Makefile.  This is supposed to be handled by not
installing it if it doesn't exist.  However, a stale, uninstallable
copy sometimes exists in the source directory, and the existence
test sometimes found the wrong copy.
1996-09-05 21:22:51 +00:00
peter
4d31f53b4d Regenerate 1996-09-05 19:22:15 +00:00
bde
11546f4616 Fixed DPADD. 1996-09-05 17:16:10 +00:00
wpaul
568bbbe4db Apply patch to fix +group YP overrides and prevent SEGV on badly
formatted groups (foo:*).
1996-09-05 12:27:24 +00:00
bde
22cf3c1924 Removed unused `-I.'s from CFLAGS.
"." means the object directory, so it is just confusing to use it
when nothing is included from the object directory unless the object
directory is also the source directory.  It is confusing for "."
not to mean the source directory anyway, so used `-I.'s should be
replaced by `-I${.OBJDIR}'.
1996-09-04 22:25:35 +00:00
peter
122fd3e75a add back stub libresolv 1996-09-03 13:24:59 +00:00
peter
62cc0611e8 Install in /usr/lib/compat where ld.so can find it for older binaries,
but autoconf/ld/etc won't find it for new builds..
1996-09-03 13:22:58 +00:00
ache
8e6a325bf4 Describe POSIX saved IDs behaviour better 1996-09-03 11:32:01 +00:00
phk
a74ea45a26 Add cfree,
Move to usr/lib/compat
1996-09-02 13:15:01 +00:00
ache
987ecffcd0 Describe current behaviour (_POSIX_SAVED_IDS are ON),
traditional BSD4.4 behavior (_POSIX_SAVED_IDS are OFF) was described
before.
Add some hooks to easily change this text when
POSIX_SAVED_IDS model will be changed.
1996-09-01 22:42:13 +00:00
jkh
c2808567e4 Intelligently cache previous connection to host if we can still
use it.

Correct a typo bogon that had REST mistyped as RETR.  No wonder fetch's
restart command didn't work! :-(
1996-08-31 22:02:18 +00:00
bde
070eb30ca6 Fixed the easy cases of const poisoning in the kernel. Cosmetic. 1996-08-31 16:52:44 +00:00
bde
7d4c1814f6 Don't depend in the kernel on the gcc feature of doing arithmetic on
pointers of type `void *'.  Warn about this in future.
1996-08-31 14:48:13 +00:00
peter
8f4f719b2a - libc self contained again.
- sync up source files with main libc
1996-08-30 21:26:05 +00:00
peter
48809684a1 consistancy fixup
Submitted by: "Philippe Charnier" <charnier@xp11.frmug.org>
1996-08-30 21:21:52 +00:00
peter
2e0e3adbfd Sigh, back out the last bright idea I had here about compiling the res_*
routines from contrib/bind directly.  There were too many problems,
including having to add -DUSE_OPTIONS_H to the entire libc source in
order for the contrib code to pick up it's options, and so on.

Instead, I've merged the changes, libc is now self contained again.
1996-08-30 21:13:42 +00:00
adam
d3763f134b pick up the resolver sources from contrib 1996-08-30 20:51:09 +00:00
peter
d976fee71f back out last two changes, this caused the mandoc pages to be replaced by
man pages.  I'll fold in the real changes in a seperate commit.
1996-08-30 19:40:05 +00:00
peter
5053ea7fe5 oops, install termcap.h from ${.CURDIR}, not the obj dir.
Pointed out by: asami
1996-08-30 16:38:45 +00:00
peter
3f709de38c cmp -s || install -c ==> install -C 1996-08-30 02:12:07 +00:00
peter
63fc841784 Replace some bizzare AT&T(?) make macros (``${*F}'' ??!?!?!?)
Use more conventional implicit rule
1996-08-30 02:02:09 +00:00
peter
ccd40c8c62 cmp -s || install -c ==> install -C, use .for loop for includes 1996-08-30 01:59:46 +00:00
peter
f6fa94816a .include "bsd.prog.mk" -> .include <bsd.prog.mk> 1996-08-30 01:59:14 +00:00
peter
9879cf14c3 cmp -s || install -c ==> install -C, use a .for loop 1996-08-30 01:53:09 +00:00
peter
feb74039a2 cmp -s || install -c ==> install -C 1996-08-30 01:51:09 +00:00
peter
14cbe8c569 Add missing DPADD, remove duplicate -ltermcap 1996-08-30 01:50:07 +00:00
peter
9dc2afe10f Don't create/install libc_r_pic.a 1996-08-30 01:43:15 +00:00
peter
d24d89b928 cmp -s || install -c --> install -C 1996-08-30 01:41:52 +00:00
peter
bb412b1fc5 Quick hack to replace a destructive libresolv.so.2.0 with something
that transparently resolves references to libc.
1996-08-30 01:14:40 +00:00
peter
676b90cac3 Add a missing ${ on a make variable.. 1996-08-30 01:08:03 +00:00
peter
3752244d02 oops, brain-lapse caused undefined symbol 1996-08-30 00:26:49 +00:00
peter
89e21d41bf The last commit failed part-way through, re-add the generated
resolver man pages.
1996-08-29 22:13:00 +00:00
peter
286c357861 Revert change to build the reolver man pages on the fly, install the
machine-generated versions
1996-08-29 22:06:51 +00:00
wosch
f868347963 function appeared in Version 7 AT&T UNIX
Obtained from: ftp://netlib.att.com/netlib/att/cs/v7man/man2
1996-08-29 21:24:19 +00:00
peter
1c3ce4d726 Knock libresolv out of the SUBDIR for the moment while it doesn't build. 1996-08-29 20:17:12 +00:00
peter
1f1fd8028f Merge in bind-4.9.4-P1 resolver... 1996-08-29 20:08:19 +00:00
peter
a973734737 regenerated.. 1996-08-29 19:33:04 +00:00
chuckr
1afaea7623 Committing the output of mkMakefile.sh, including changes to make
tcl install extra include files, and fixes on major/minor numbering.
Reviewed by:	Peter Wemm
1996-08-29 18:02:03 +00:00
peter
fcf3d725ca Regenerate Makefile with mkMakefile.sh, add generated tclConfig.sh 1996-08-29 10:40:03 +00:00
bde
dc064fbaf3 Cleaned up interrupt masking by declaring the state variable in a
machine-dependent macro and passing it to all machine-dependent
macros.

Eliminated the state variable for the GUPROF case.
1996-08-28 20:15:32 +00:00
bde
f68534c325 Made rintf() actually work. It was completely broken (when s_rint.c
was compiled with -O) by the precision bug in the i386 version of
gcc (assignments and casts don't clip the precision).  E.g.,
rintf(12.3456789) was 12.125.

Avoid the same bug in rint().  It was only broken for the unusual
case when the i387 precision is 64 bits.  FreeBSD defaults to 53
bit precision to avoid problems like this, but the standard math
emulator always uses 64 bit precision.
1996-08-28 16:34:36 +00:00
peter
a873bed409 Delete -DGOOD_SELECT from CFLAGS, we don't have it. This is used to
indicate that select() returns the leftover time remaining in the timeval
arg of select, we don't do that (yet :-).
1996-08-26 09:25:20 +00:00
jkh
2e33f62e20 D'oh! verbose output should go to stderr. 1996-08-24 09:51:59 +00:00
mpp
05d0602202 Some minor man page cleanup. 1996-08-23 20:52:53 +00:00
mpp
5137ea821e Typo police. 1996-08-23 00:26:01 +00:00
mpp
5e0b8a5234 Correctly use .Fn instead of .Nm to reference function names
in a bunch of man pages.

Use the correct .Bx  (BSD UNIX) or .At (AT&T UNIX) macros
instead of explicitly specifying the version in the text
in a bunch of man pages.
1996-08-22 23:31:07 +00:00
mpp
ccc340f5aa Update a bunch of man pages to use .Fn instead
of .Nm when referencing funciton names.
1996-08-22 22:05:59 +00:00
mpp
1fe796a5c3 List all of the include files required for getpeername and getsockname.
Closes PR# 1170.

Submitted by:	James Raynard <jraynard@dial.pipex.com>
1996-08-22 20:49:57 +00:00
julian
2e80ac2e78 Submitted by: john birell (jb@cimlogic.com.au)
fixups for makefiles
and for Thread-safe sycalls
1996-08-22 04:25:09 +00:00
julian
e5048c6cd5 Some cleanups to the callout lists recently added.
note that at_shutdown has a new parameter to indicate When
during a shutdown the callout should be made. also
add a RB_POWEROFF flag to reboot "howto" parameter..
tells the reboot code in our at_shutdown module to turn off the UPS
and kill the power. bound to be useful eventually on laptops
1996-08-22 03:50:33 +00:00
mpp
e3cbaed955 Update some more man pages to use the .Fx macro. 1996-08-21 22:10:36 +00:00
mpp
4eedb7433a Improve some poor wording. 1996-08-21 21:30:02 +00:00
mpp
d63efd5bb2 Fix up the NAME lines forthe ceil and floor man pages to be
less confusing.

Reviewed by:	bde
Partially obtained from: NetBSD-bugs
1996-08-21 21:23:47 +00:00
mpp
a9ea88b748 Correctly document when getopt returns EOF and '?', and some other
minor cleanup.
1996-08-21 19:48:50 +00:00
pst
ddd2ef851a Uniquely name the distribution directory variable so that it can be overridden
for multiple packages at the same time.
1996-08-21 16:50:15 +00:00
jkh
8a29a23657 Implement a change suggested by Archie Cobbs - the seekto argument should
be zero'd only if the operation *fails*, indicating that the file
starting offset is effectively zero.  This makes more sense.
1996-08-21 01:23:33 +00:00
jkh
fc1487cdb0 Add an ftpErrString() function for returning human readable failure
codes.
Submitted-By: Archie Cobbs <archie@whistle.com>
1996-08-21 01:12:11 +00:00
ache
767f6dad9a Add Id
Move comment up to place
1996-08-20 21:16:53 +00:00
ache
cab84bd971 Add isblank attr to non-break space
Add comment describing how upper half of table made
1996-08-20 14:43:58 +00:00
ache
153cc35e34 Remove isgraph attr from non-break space 1996-08-20 14:27:26 +00:00
julian
7350d1d3b2 Submitted by: John Birrell <cimaxp1!jb@werple.net.au>
Here are the diffs for libc_r to get it one step closer to P1003.1c
These make most of the thread/mutex/condvar structures opaque to the
user. There are three functions which have been renamed with _np
suffixes because they are extensions to P1003.1c (I did them for JAVA,
which needs to suspend/resume threads and also start threads suspended).

I've created a new header (pthread_np.h) for the non-POSIX stuff.

The egrep tags stuff in /usr/src/lib/libc_r/Makefile that I uncommented
doesn't work. I think its best to delete it. I don't think libc_r needs
tags anyway, 'cause most of the source is in libc which does have tags.

also:

Here's the first batch of man pages for the thread functions.
The diff to /usr/src/lib/libc_r/Makefile removes some stuff that was
inherited from /usr/src/lib/libc/Makefile that should only be done with
libc.

also:

I should have sent this diff with the pthread(3) man page.
It allows people to type

make -DWANT_LIBC_R world

to get libc_r built with the rest of the world. I put this in the
pthread(3) man page.  The default is still not to build libc_r.


also:
The diff attached adds a pthread(3) man page to /usr/src/share/man/man3.
The idea is that without libc_r installed, this man page will give people
enough info to know that they have to build libc_r.
1996-08-20 08:22:01 +00:00
smpatel
60125bd1a9 Reflect the removal of the kernel's FD_SETSIZE limit. 1996-08-20 07:26:20 +00:00
pst
5bad8486ad Bump shared library number to 2.1 1996-08-20 05:43:51 +00:00
pst
a96a62bfac Grab libpcap sources out of contrib_libpcap module 1996-08-19 21:01:37 +00:00
peter
64bc90278b corresponding remove of mkdir /usr/libdata/tcl in generated makefile. 1996-08-19 15:04:11 +00:00
peter
85b8c8adb1 Define ETHER_SERVICE, since we have one. ie: use getetherxxx() instead
of parsing /etc/ethers manually. This allows it to read NIS.
1996-08-19 14:23:50 +00:00
peter
12c2419134 Clean up the beforeinstall target a bit more, bde pointed out that the old
one was a mess.  (I was in a 'talk' session at the time, can you tell? :-)
1996-08-19 01:21:46 +00:00
peter
aec9a0c389 oops.. attempted to install header files from wrong directory.. 1996-08-18 23:52:20 +00:00
peter
ea45abeecf insert libipx and libdisk into correct order, add libz 1996-08-18 18:57:00 +00:00
peter
be0c1f6db0 Add a bmakefile for zlib. 1996-08-18 17:59:48 +00:00
peter
0e05ff77eb This commit was generated by cvs2svn to compensate for changes in r17651,
which included commits to RCS files with non-trunk default branches.
1996-08-18 17:54:27 +00:00
peter
70c83c0586 Initial import of zlib-1.0.4 1996-08-18 17:54:27 +00:00
wosch
378e268928 A pipe function call appeared in Version *3* AT&T UNIX, not
Version 6. Close PR #1490

Obtained from: Peter H. Saulus in `A Quarter Century of UNIX', page 50
1996-08-18 11:28:16 +00:00
jkh
8425e7babb Go back to sigaction again now that Peter has found the problem.
Mine was just a "let's move on" kinda fix, Peter's does it right. :)
Submitted-by: peter
1996-08-16 07:53:29 +00:00
jkh
50dd1004f2 Switch from using sigaction to signal. 1996-08-15 21:13:53 +00:00
mpp
0b26c0eb71 Don't claim to be POSIX compliant, since our alarm function isn't. 1996-08-15 21:12:49 +00:00
jkh
4d444750e2 Make libncurses catch SIGWINCH and update the values for LINES and COLS.
I was perplexed when an example I'd written to show the values for these
variables changing as an xterm window was resized didn't work, and looking
into it I see that size tracking for LINES and COLS seems to be one SVR4
enhancement which didn't come across with libncurses.
1996-08-15 21:06:52 +00:00
mpp
950ac9c810 NCARGS is defined as 65536 in the released system, not 20480. 1996-08-15 21:04:29 +00:00
mpp
4ffbc44e4c Correct a cuple of improperly formatted xrefs. 1996-08-15 20:29:04 +00:00
jkh
66d80410db Add something so that you can solve the puzzle automatically by pressing
`a' (I'm using this code as a test for something else, and just happened
to add this in the process :).
1996-08-15 20:15:18 +00:00
ache
f29675f59d Add Id 1996-08-14 19:47:02 +00:00
peter
8542445a70 Fix nasty bracketing/precedence bug. Every time something read (and
refilled) a file that was either line- or un-buffered, all files were
flushed.  According to the code comment, the flush (according to ANSI)
is supposed to happen on write + line buffered output files, not _all_
files.

Obtained from: OpenBSD / Theo de Raadt, possibly from proven@cygnus.com
1996-08-13 17:49:45 +00:00
ache
3ba537ecfe Back out fallback approximation changes, they are not so right to live 1996-08-13 17:03:18 +00:00
ache
f82a6cb0ff Add collate_range_cmp 1996-08-13 14:55:09 +00:00
ache
10f7d69573 Back out minor bumping per Peter suggestion 1996-08-13 14:37:53 +00:00
ache
01dde070a3 simplify/speedup/extend 1996-08-13 13:38:35 +00:00
ache
b82434227d Bump minor number - new function added 1996-08-13 10:00:35 +00:00
ache
bc4e65eedc Remove old version hooks 1996-08-12 19:18:47 +00:00
ache
ffcd81205d Convert to newly aded collate compare function 1996-08-12 18:56:38 +00:00
ache
18e6a0b58f Convert to newly aded collate compare function 1996-08-12 18:49:54 +00:00
ache
956383bed8 There is so many places where range comparation (using collate)
needed (much more than I think initially), so I forced to add
new user-visible non-standard function to libc.
1996-08-12 18:38:49 +00:00
peter
665b6e261b clear sockaddr_in's on stack before use
set sin_len
close one ftp port bounce attack
have rresvport() use bindresvport() rather than duplicate the code,
  rresvport() is a superset of bindresvport().

Obtained from: OpenBSD / Jason Downs / Theo de Raadt, minor tweaks by me.
1996-08-12 14:14:09 +00:00
peter
36d45bbacb Use the more robust and more efficient reserved port allocation mechanism
now built into bind(2).

Obtained from: OpenBSD / Jason Downs / Theo de Raadt
1996-08-12 14:09:46 +00:00
peter
c2fcbeb6ff clear various struct sockaddr_in's on stack, set sin_len.
(Noticed when comparing to OpenBSD source)
1996-08-12 14:00:26 +00:00
ache
e853c12467 Use collate info for alpha character ranges
8bit cleanup
1996-08-12 12:13:16 +00:00
ache
e37075011a Use collate for alpha character ranges 1996-08-12 04:03:50 +00:00
ache
563eb69835 Remove static collcmp, use new internal function now 1996-08-12 03:51:16 +00:00
ache
ce519bc5d0 Remove static collcmp, ise new internal function now 1996-08-12 03:45:53 +00:00
ache
378240cb4b Add internal function __collcmp once instead of adding it statically
to many places in the libc
1996-08-12 03:40:37 +00:00
ache
95acc9d04c Use collate for alpha character ranges 1996-08-12 02:00:56 +00:00
ache
3c76730132 8bit cleaness (ctype) fixes 1996-08-11 19:20:30 +00:00
ache
95b1e45fe8 Use collate data for national alpha character ranges like [a-z] 1996-08-11 16:08:17 +00:00
ache
8b7847d9d5 Short value is better for hash due to easy overflow in 8bit characters 1996-08-11 11:49:23 +00:00
ache
bef006b8fc Use locale for character classes instead of hardcoded values
Misc 8bit cleanup
1996-08-11 11:42:03 +00:00
jkh
6d942cc83d Yeesh! I shouldn't have looked. Fix a whole bunch more. Pray
for ncurses to replace this soon.
1996-08-10 13:37:02 +00:00
jkh
572c0d3285 Fix an exceedingly confusing typo. 1996-08-10 13:30:11 +00:00
mpp
87f551bb52 Remove some hardcode *roff font change escape codes from
this man page to prevent half of it from coming out with underlines.

This man page needs to be gone over to fully convert it to mdoc format.

This closes PR#1440.

Submitted by:	Jens Schweikhardt <schweikhardt@rus.uni-stuttgart.de>
1996-08-06 22:42:23 +00:00
mpp
e1eb4abb60 Correct the paramter type of the second argument to fgets.
Obtained from: NetBSD-bugs mailing list
1996-08-06 22:34:44 +00:00
jkh
a4480ef9ca 1. Add verbose flag to ftp_login()
2. Remove pkg_* support - tcl7.5's channel interface has rendered this
   almost entirely unsupportable (at least in the way it currently stands).
Submitted-By: jmz & jkh
1996-08-03 11:58:54 +00:00
bde
23e54c57e9 Document that the relevant clock ticks are for the statistics clock
and that the statistics clock has a frequency of sysconf(_SC_CLK_TCK).
1996-07-30 17:32:49 +00:00
bde
de177677e2 Document that clock ticks are for the profiling clock and that the
clock frequency is stored in the gmon header.
1996-07-30 17:26:34 +00:00
bde
9a7875fe1e Fixed description of _SC_CLK_TCK. Both the clock and the units
were wrong.
1996-07-30 17:15:09 +00:00
bde
40a1fcdb52 Fixed comment about ru_maxrss. This field isn't an integral. 1996-07-30 17:06:44 +00:00
peter
5e197e7c26 Fix some of the problems that bde pointed out to me some time ago.
- buffer expansions were not working right due to a return code botch.
 - signed types instead of size_t's meant somebody else went and put
   casts in, I've changed the types to what they should have been.
1996-07-28 16:16:11 +00:00
wollman
712b493c14 Refer to the ASCII character 000 by its proper name, `NUL', and not
`NULL' (which should only be used in reference to null pointers).  Also
fix a cross-reference.
1996-07-25 18:31:08 +00:00
wollman
3a02a94cc5 Finish rename of KERN_DOMAINNAME to KERN_NISDOMAINNAME.
Suggested by: Keith Bostic
1996-07-25 18:03:53 +00:00
phk
8398830f31 Fix a memory leak in MD[245]End()
Submitted by:	Ikuo Nakagawa <ikuo@isl.intec.co.jp>
PR:	misc/1424
1996-07-24 20:55:38 +00:00
pst
bcad0209e6 Bring in fixes to db 1.85 from NetBSD. These fixes have been documented as
being sent back to Bostic by the NetBSD crew.
Obtained from: NetBSD-current
1996-07-21 02:23:13 +00:00
dyson
c0f49af042 Document madvise(2) as it is in FreeBSD. 1996-07-20 04:37:26 +00:00
mpp
0325f18c7f The previous change to alarm.3 to improve the wording
was still somewhat confusing and poorly worded.  So I took
the alarm.3 man page from NetBSD, which looked much
better all around.

Obtained from: NetBSD
1996-07-19 22:19:08 +00:00
wollman
e8a1aba28b Revert to old version of strftime.c; the new one doesn't work right. 1996-07-19 15:17:44 +00:00
adam
742697ede9 the previous text was absurd, and wrong 1996-07-19 13:07:42 +00:00
wollman
f90be6962c Merge the recently-imported tzcode96h distribution (libc portion). The
part that does zic(8)/zdump(8) is still yet to be imported (but the old
zic and zdump will work just fine with these header files and the
data format has not changed).
1996-07-18 18:53:15 +00:00
wpaul
dd36926d57 In _yp_dobind(), if we find ourselves required to contact the local ypbind
directly in order to obtain binding information, check that the local
ypbind is using a reserved port and return YPERR_YPBIND if it isn't.
We should not trust any ypbind running on a port >= IPPORT_RESERVED;
it may have been started by a malicious user hoping to trick us into
talking to a bogus ypserv.

Note that we do not check the ypserv port returned to us from ypbind.
It is assumed that ypbind has already done a reserved port test (or not,
depending on whether or not it was started with -s); if we trust the
authenticity of the local ypbind, we should also trust its judgement.

Obtained from: OpenBSD
1996-07-13 20:23:13 +00:00
wollman
402ddcab40 Include the proper header file (<unistd.h>) and declare [gs]etdomainname()
with the correct return type.  This does not include the renaming
of KERN_DOMAINNAME to KERN_NISDOMAINNAME.

Pointed-out-by: Keith Bostic
1996-07-12 19:55:20 +00:00
jkh
c4d4a99d31 General -Wall warning cleanup, part I.
Submitted-By: Kent Vander Velden <graphix@iastate.edu>
1996-07-12 18:57:58 +00:00
jkh
a97e1fa1c1 Cast lseek arguments appropriately.
Submitted-By: "Frank ten Wolde" <franky@pinewood.nl>
1996-07-09 12:17:46 +00:00
wosch
79c27ee30a add references lstat(2), readlink(2), symlink(7) in section SEE ALSO 1996-07-07 12:52:51 +00:00
jkh
e22f27ac86 Implement an ftpVerbose() hook.
Submitted by: jmz
1996-07-04 00:55:21 +00:00
phk
c88590ee78 Isolated all the crap for thread-safe so I can see what goes on again... 1996-07-03 05:03:07 +00:00
mpp
89d89d7313 Describe the "file pointer" in lseeks' man page a bit better
so that it is less likely someone will confuse it with a
"FILE *" type pointer.

Submitted by:	Based on James Raynard's patch
1996-07-03 02:55:10 +00:00
mpp
142a6ee135 Document the "sig" function parameter.
Submitted by:	James Raynard
1996-07-03 02:44:04 +00:00
guido
70bae2bee1 Implement incremental passwd database updates. This is done by ading a '-u'
option to pwd_mkdb and adding this option to utilities invoking it.
Further, the filling of both the secure and insecure databases has been
merged into one loop giving also a performance improvemnet.
Note that I did *not* change the adduser command. I don't read perl
(it is a write only language anyway).
The change will drastically improve performance for passwd and
friends with large passwd files. Vipw's performance won't change.
In order to do that some kind of diff should be made between the
old and new master.passwd and depending the amount of changes, an
incremental or complete update of the databases should be agreed
upon.
1996-07-01 19:38:50 +00:00
peter
d2f1239d4c Add back missing backslash in SUBDIR list, it got lost when libtcl was
added.  (also align the text block, it looked odd with variable indent)
1996-06-28 12:07:01 +00:00
phk
7233f293d1 Add libtcl to makefile 1996-06-28 05:35:44 +00:00
gpalmer
9b4f6d4a7a Makefile:
Add -Wall to CFLAGS

ftpio.h:
		It's ftpGetModTime, not ftpModTime
1996-06-26 20:31:11 +00:00
phk
63a19b155b Bmaked tcl 7.5 1996-06-26 17:48:13 +00:00
bde
f5443edf10 Fixed comparisons so that preposterously large (>= 0x80000000) brk values
aren't silently converted to minbrk.  This stops malloc(INT_MAX) from
dumping core.  Small values are still silently converted.  They should
be an error.  sbrk() doesn't do any range checking or conversions or
overflow checking.

Moved PIC_EPILOGUE invocation to a more natural place where it
obviously doesn't interfere with the comparison.
1996-06-25 18:54:42 +00:00
jkh
8eb37231d4 Bring in my changes for removing the pestilent obj links (unless you
really want them) from /usr/src.  This is the final version of the
patches, incorporating the feedback I've received from -current.
1996-06-24 04:26:21 +00:00
jkh
3acbd3cce6 Adjust docs to match reality. 1996-06-24 02:22:15 +00:00
jkh
e2d6764750 Adjust the reference to ftpBinary() in the (unused) TCL wrappers. 1996-06-24 02:19:27 +00:00
bde
34b72c7bcc Removed -g from CFLAGS. 1996-06-23 13:11:59 +00:00
gpalmer
5adad2cb6b Specify that daemon(3) returns int, and standardise the
phrasing in the ERRORS section a bit, as well as now specifying
the return status.
1996-06-22 23:46:00 +00:00
jkh
325e17c4e0 Fix a bug in the way binary/ascii settings were being done. New
ftpAscii() call sets connection to ascii as counterpart to ftpBinary().
1996-06-22 21:43:56 +00:00
jraynard
8c1de2763b Submitted by: Wolfram Schneider <wosch@cs.tu-berlin.de>
Document the fact that the tracefile argument must lead to a regular file.

Also took the opportunity to remove the spurious "Errors" entry
relating to filenames with the high-order bit set and add $Id$.

(More of the same to follow if there are no objections).
1996-06-22 18:05:15 +00:00
jraynard
fac2ce3b12 Suggested by: Bruce Evans, Jeffrey Hsu, Gary Palmer
Added $Id$'s to files that were lacking them (gpalmer), made some
cosmetic changes to conform to style guidelines (bde) and checked
against NetBSD and Lite2 to remove unnecessary divergences (hsu, bde)

One last code cleanup:-

Removed spurious casts in fseek.c and stdio.c.
Added missing function argument in fwalk.c.
Added missing header include in flags.c and rget.c.
Put in casts where int's were being passed as size_t's.
Put in missing prototypes for static functions.
Changed second args of __sflags() inflags.c and writehook() in vasprintf.c
from char * to const char * to conform to prototypes.

This directory now compiles with no warnings with -Wall under
gcc-2.6.3 and with considerably less warnings than before with the
ultra-pedantic script I used for testing. (Most of the remaining ones
are due to const poisoning).
1996-06-22 10:34:15 +00:00
julian
e7934b56b0 Submitted by: archie@whistle.com
This program should COMPLAIN about uids > 65K but not abort.. they are after
all legal, and some of us NEED them!
1996-06-20 19:19:29 +00:00
jkh
e862c42734 Make certain small things more consistent with the other stdio man pages. 1996-06-20 15:49:54 +00:00
jmacd
4f19282db2 I hate to read a man page that almost has useful information
but falls a little short.  I added a comment on the null
termination of struct group's gr_mem field.

Reviewed by:	jkh
1996-06-20 14:13:15 +00:00
jkh
d95e65608c Remove libforms, it was never used. 1996-06-19 21:19:37 +00:00
jkh
0a694a6eae Remove libforms - it's unused. 1996-06-19 21:18:24 +00:00
phk
aa8687a06e Add tcl. 1996-06-18 16:53:59 +00:00
jkh
6690bcda70 Manage control connections a little better for the URL routines.
This will do as a stop-gap until I figure out a more fault-tolerant
way of having deferred closes against the control connection work
without blocking.
1996-06-17 23:16:04 +00:00
jkh
d1a982548c Make binary mode the default. 1996-06-17 22:10:15 +00:00
jkh
257dcecd29 Stamp out a potential memory leak.
Make ftpChdir return the server status again - it was more convenient.
1996-06-17 20:36:57 +00:00
jkh
0f0df70b6f Bring in libftpio. 1996-06-17 20:18:11 +00:00
wollman
ab2d57f2bb Add RCS Id and fix date. 1996-06-17 20:12:53 +00:00
wollman
28bd91029c Cross-reference addr2ascii(3). 1996-06-17 20:11:12 +00:00
wollman
5aea613dbe Correct date and add $Id$ to reflect previous modification. 1996-06-17 20:04:06 +00:00
wollman
7fd93ff52e Cross-reference addr2ascii(3) and inlcude a note about how those
functions are preferred but are not widely available as yet.
1996-06-17 20:01:05 +00:00
jkh
22927eddbd Rethink and reimpliment the way RESTARTS are handled. The method I inheirited
from jmz was a hopeless kludge (sorry Jean-Marc :) and handled the problem
in the wrong way.  ftpRestart() has now gone away and ftpGet() has grown a
new parameter.
1996-06-17 15:28:08 +00:00
ache
aba2bff439 If hostname > UT_HOSTSIZE, use its numeric address instead to keep
valid entries into utmp and wtmp
1996-06-17 14:49:02 +00:00
jkh
0a87e3a7fa Add a feature: If the environment variable FTP_PASSIVE_MODE is defined
(the convention as established by pkg_install(1)), select passive mode
FTP automatically.
1996-06-17 12:42:33 +00:00
jkh
1ffa47a282 Whoops, give the authors all proper credit. 1996-06-17 12:28:50 +00:00
jkh
8e675d657c This commit was generated by cvs2svn to compensate for changes in r16420,
which included commits to RCS files with non-trunk default branches.
1996-06-17 12:26:06 +00:00
jkh
880dd9d3c6 Bring in a new library `libftpio', so named to avoid clashes with older
packages and also sort of give the (correct) impression that this basically
sits on top of stdio and deals with stream pointers (FILE*).
1996-06-17 12:26:06 +00:00
wollman
32277d9773 It would help if I actually added the source code for these routines. 1996-06-13 20:45:42 +00:00
wollman
ab56e8b192 Add an independent implementation of addr2ascii(3) and ascii2addr(3)
following the API of the INRIA IPv6 implementation.
1996-06-13 20:45:05 +00:00
jraynard
682813b4cd Code cleanup:-
The usual stuff, adding missing function prototypes, argument types,
return values, etc.
1996-06-12 23:02:53 +00:00
jraynard
e85e320a9e Code cleanup:-
The usual stuff, adding missing function prototypes, argument types,
return values, etc.

This directory now compiles with no warnings with -Wall on gcc2.6.3!
1996-06-12 22:59:55 +00:00