Commit Graph

972 Commits

Author SHA1 Message Date
jtc 9d1cf67cd2 Moved toupper and tolower tables from ctype_.c to their own files --- I
received complaints about using shorts in the table (but i need a range
of -1..255), so now the tables will not be used unless either toupper()
or tolower() (and soon, setlocale()) are used.  This can save up to 514
bytes.

In toupper_.c and tolower_.c make sure that our assumption of EOF == -1
holds.

Fixed bug where _toupper_tab_ was initialized pointing to _C_tolower_tab.
1993-08-23 21:04:50 +00:00
cgd 5def7a5fde use "_to*_tab_" rather than "_to*_table_" -- table is defined as the former 1993-08-23 16:25:03 +00:00
jtc c066b5f81e _ctype_, _tolower_tab_, and _toupper_tab_ are now pointers to the tables.
The tables have been renamed to _C_ctype_, _C_tolower_, and _C_toupper_
as they are tables for the C locale.  When switching to a new locale, the
pointers will be set to point to tables specific to the new locale.
1993-08-21 00:46:25 +00:00
jtc ffefbf8e83 If mode is niether 'r' or 'w', set errno to EINVAL as per 1003.2-92. 1993-08-21 00:11:47 +00:00
jtc ec73f57f05 cast away compiler warning message. 1993-08-20 23:40:43 +00:00
jtc 67f034415c Upgraded to be 1003.2-92 compliant. The only functional change is
that -1 is returned when the fork fails.  Updated implementation to
use int rather than deprecated "union wait".  Updated documentation
to describe error / return values.
1993-08-20 23:00:45 +00:00
jtc 7a5661e6ac Fixed typo. Readdir returns a "struct dirent *", not "struct dirent". 1993-08-20 16:46:14 +00:00
mycroft 36d083669a Technically, readdir(3) returns a `struct dirent *', not a `struct direct *',
not that they aren't the same thing.
1993-08-20 10:03:05 +00:00
jtc cbc115a0d5 Added the additional ``%'' format specifiers and the ``E'' and ``O''
format modifiers that are needed for a 1003.2 compliant date(1).  The
modifiers don't actually do anything at present and are not documented.
It's too confusing to the user to describe localization features when
they aren't implemented yet.  It is safe to do this, as the modifiers
fall back to the default behavior if the locale doesn't support alternate
eras or numeric formats.

But, in anticipation of _some_ locale support, all month and day names and
abbrevs, certain time formats, am/pm, etc. are now accessed through variables.
1993-08-19 16:39:47 +00:00
jtc 17bda641e5 The result of clock() is measured in CLOCKS_PER_SECs, not CLK_TCKs. 1993-08-17 20:37:57 +00:00
jtc 200ad8d9bd Don't include "DEFS.h" more than once.
Added .asciz rcsid's to all files.
1993-08-16 17:06:27 +00:00
jtc 0de7806863 Add STANDARDS section, utime is now 1003.1 compliant. 1993-08-16 15:42:14 +00:00
mycroft 669b9e506a Last change was almost correct, but we have to check that the pager actually
has the page.  If not, we go up the shadow chain.
1993-08-16 07:27:06 +00:00
mycroft ca08320ae9 We shouldn't be diddling POBJS and CLEANFILES. bsd.lib.mk already does the
Right Thing.
1993-08-16 04:16:33 +00:00
mycroft 6fdbcf4e88 For some reason, substitution on variables doesn't seem to work in a target
list.  I don't think I want to know why.
1993-08-16 03:32:58 +00:00
mycroft 990ccb9207 Separate rules for .o and .po files. The previous method just caused too
many problems.
1993-08-16 02:44:19 +00:00
mycroft 90683ee61f Remove spurious `)'. 1993-08-15 16:43:27 +00:00
mycroft 6d20662fcb waddbytes() is private; make the rest of *addbytes() be.
Make waddbytes() and waddstr() take a `const char *'.
1993-08-15 16:23:57 +00:00
mycroft 9b8df6ad33 Fix an off-by-one error when scanning the vm map for a page. Also, if the
page is not in core, don't recurse into shadow objects if we've already found
a pager.
1993-08-15 13:57:51 +00:00
mycroft cfafc9262a Fix a bug in virtual to physical address translation on hp300s, and add support
for Amigas.
1993-08-15 01:54:29 +00:00
mycroft a2da492c01 Fix a bunch of thinkos. 1993-08-14 19:31:23 +00:00
mycroft 791d253a44 Split log() and log__D() into separate files. Add logtab.c for logarithm
tables and log.h for common definitions.
Split exp() and exp__D() into separate files.
1993-08-14 19:20:58 +00:00
mycroft d441c2db7e New code from uunet. 1993-08-14 13:42:09 +00:00
cgd 7fa14d416e line 860: use CLSHIFT rather than PGSHIFT.
line 927: fix bogus indentation
also make sure first chars of buffers are null char, just in
case nothing rational is read...
1993-08-14 11:47:51 +00:00
cgd b24744dc1d implement kvm_procread for the hp300. now things mostly work on
the hp300, in terms of kvm.  still minor strangeness re: sendmail...
1993-08-14 11:44:45 +00:00
mycroft a617b72b1f #include <machine/pte.h>, not <hp300/hp300/pte.h>. Also, make it at least
compile for non-i386 architectures, but exit with an error message (for now).
1993-08-14 02:20:27 +00:00
jtc 8b17e495f7 Merged in RETURN VALUES and ERRORS sections from utimes(2), since
utime(3) is just a wrapper.
1993-08-14 00:05:07 +00:00
jtc eb3ed86c00 Clean up manpage; cross-reference utime(3). 1993-08-14 00:00:56 +00:00
jtc 7103ada5b8 If utimbuf pointer is NULL, set access and modification times to the
current time.
1993-08-13 23:58:49 +00:00
brezak d1c89ea35f Correct copyright statements 1993-08-13 12:54:10 +00:00
brezak cbeddce7ff Machine independent version of insque/remque 1993-08-13 02:49:41 +00:00
mycroft 293c6d88e3 8 spaces -> a tab 1993-08-10 14:48:03 +00:00
deraadt 8cb4a5221c 8 spaces -> a tab 1993-08-10 08:35:59 +00:00
mycroft 4a9141f643 Actually use the signal number we're passed. 1993-08-10 02:12:47 +00:00
jtc ad2e83d160 Oops! I used EOF but didn't include <stdio.h>. 1993-08-09 22:06:30 +00:00
mycroft 47799e1141 Add __progname, and clean up a couple of things. 1993-08-09 05:47:02 +00:00
mycroft 9df69621f3 Reclone from i386 version; has important changes for cross-compilation. 1993-08-09 04:50:21 +00:00
mycroft 7ea474ac33 Clean up automatic creation of /usr/lib. 1993-08-09 04:49:39 +00:00
mycroft 3358fdf953 New file; contains value of HUGE_VAL. 1993-08-09 04:47:11 +00:00
cgd f08e3f34a5 merge in changes from netbsd-0-9-ALPHA2 1993-08-07 07:42:13 +00:00
mycroft c710920fc5 New files. 1993-08-07 05:51:11 +00:00
mycroft b06a09ba51 Clean up deleted files. 1993-08-07 05:49:11 +00:00
mycroft 62a3457d0e New version from uunet. 1993-08-07 05:48:37 +00:00
jtc 29b5828742 Use C locale specific traslation tables for toupper and tolower.
Direct access to the tables is to be replaced by a pointer to tables for the
current locale.
1993-08-06 23:17:03 +00:00
jtc d2b805f0e2 Added C locale specific translation tables for toupper and tolower. When
locales are fully supported, toupper and tolower will refer to this, or
a locale specific table, through pointers.
1993-08-06 23:14:32 +00:00
jtc a4bacdfbad setlocale(category, "") is supposed to set locale to the default.
The "C" locale in our case, since we have no other locale support.
1993-08-06 22:56:18 +00:00
jtc fa5f39ea86 Use const qualifier with _ctype_ table. Smart compilers can then store it
in the text segment.  When we implement locales, the isctype macros/functions
will reference this table (or a locale specific table) through a pointer, but
for right now, it continues to reference the _ctype_ table directly.
1993-08-06 22:44:44 +00:00
jtc a35ec39674 Provide function versions of isascii() and toascii(). 1993-08-06 21:46:42 +00:00
mycroft c4c9267c74 Add sys_signame[]. 1993-08-06 20:56:34 +00:00
mycroft 9417ee8681 Add getbsize() from Berkeley, somewhat modified. 1993-08-06 17:03:54 +00:00
jtc 2166786f23 update manpage to -mandoc macros 1993-08-05 21:31:41 +00:00
jtc bb815d8092 Remove semicolon from null macro replacement so gcc -ansi -pedantic
doesn't complain.
1993-08-03 23:05:16 +00:00
jtc 4ea49841a4 Fix formatting error. 1993-08-03 23:00:07 +00:00
mycroft 36af9568db I'm really mad now. Not only did this `new' version have exactly the same
bugs as the `old' one, but it was almost identical!
1993-08-03 22:48:35 +00:00
mycroft 584cb286d8 Add RCS identifier. 1993-08-03 21:55:48 +00:00
mycroft 52efca41cd Nuke remaining patchkit headers. 1993-08-02 18:17:24 +00:00
mycroft aee4b07b8a Add RCS identifiers, remove some completely useless RCS logs and patchkit
headers, and a few other insignificant changes.
1993-08-02 17:48:44 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
mycroft 55b7fa6d0b Add RCS identifiers. 1993-08-01 07:54:52 +00:00
mycroft b1bd4afedc Add RCS indentifiers. 1993-08-01 07:42:49 +00:00
mycroft dfb9caab49 Add RCS indentifiers. 1993-08-01 07:32:48 +00:00
mycroft cda4f8f6ee Add RCS identifiers. 1993-08-01 05:37:30 +00:00
mycroft 0e9c8e4524 Add RCS identifiers. 1993-07-30 08:34:38 +00:00
mycroft f23f94cb77 Add even more RCS frobs. 1993-07-30 08:21:41 +00:00
mycroft 2e9407c8eb Remove patchkit lossage, and RCS frob, and make tolower() and toupper() a
little faster.
1993-07-30 08:07:44 +00:00
mycroft adb8dc2533 Add RCS frob. 1993-07-30 07:59:55 +00:00
mycroft e7ae1531d5 Latest versions from uunet. 1993-07-30 07:57:48 +00:00
mycroft 6001d6e5c9 system.c 1993-07-30 03:29:07 +00:00
mycroft bdbbba0b73 Use execve() rather than execl(). This is faster and doesn't use malloc()
(and thus avoids an annoying problem which only seems to manifest itself
in KCL).
1993-07-29 22:09:42 +00:00
glass ca073b5fd0 adding man pages for termios support functions 1993-07-25 23:05:00 +00:00
glass 20e82d4699 Finally deprecate the old timezone() interface in favor of an XSH5
timezone/daytime pair; as proposed by J.T. in September, 1996.
Fixes PR standards/11807 by Nick Hudson.
1993-07-25 23:04:59 +00:00
deraadt 80795f5a8e new header files are more ansi-like 1993-07-24 18:29:16 +00:00
deraadt 9e0367ab04 fixed a yp-related bug found by Paul Kranenburg <pk@cs.few.eur.nl>:
endpwent was free'ing passwd line.
1993-07-24 18:28:32 +00:00
jtc 932d674def Fix spelling error. 1993-07-20 20:54:41 +00:00
mycroft 81c63e588b Read swap in CLBYTES blocks. 1993-07-19 12:37:13 +00:00
mycroft f6e43c3958 Use ${COPY}, not -c for install. 1993-07-18 19:17:22 +00:00
brezak 49f5109f3c Be able to build telnet without enc_des.c 1993-07-16 14:37:04 +00:00
cgd 928342ac2c (1) compare against UCHAR_MAX, don't use isascii().
(2) strvis() didn't work on 0-length input strings
(3) strvisx() didn't work at all
1993-07-15 17:54:43 +00:00
mycroft b7c7310653 Make declarations match prototypes. 1993-07-12 02:09:31 +00:00
mycroft 119df3af46 Make this work on more than just a 386. 1993-07-12 01:23:14 +00:00
cgd aacbd3b3e3 don't include an extra atof.c... 1993-07-09 10:09:31 +00:00
cgd 49693da854 update for better FP routines, from AT&T & elsewhere 1993-07-09 09:40:07 +00:00
mycroft 965a95338b Clean up deleted files. 1993-07-09 09:40:01 +00:00
cgd 4cbf5e04e2 update for better FP routines, from AT&T & elsewhere 1993-07-09 09:39:13 +00:00
alm 75de25bb93 added Andrew Chernov's patch set:
Standard curses library use eight bit for standout mode, so
8-bit characters displays like highlighted 7-bit characters.

This patch produce library which is fully compatible with all curses
programs and add 8-bit chars to all input/display functions.
---
I don't think, that any programs wish to use internal curses
attribute _STANDOUT directly, in expressions like:
        addch( ch | _STANDOUT );
        Normal interface use standout() and standend() functions instead.
        Many programs use 'char' type (with sign extention) for input characters
        and sign extention becomes _STANDOUT mode in this case.
        So, I refuse this future and allow 8-bit characters for programs,
        which is designed for 7-bit only ('char' type using instead of
        'unsigned char').
---
This small patch fix unpleasant standard curses bug:
curses can't expand TAB at all (but tries).
A man who wrote this curses misplace SYNC_IN and SYNCH_OUT,
this patch exchange macro calls.

This patch useful for standard 7-bit curses too, for this
you must delete '_' symbol before waddbytes and apply patch.
---
Oh, NO! This curses are really buggy!

This small patch fix following problem:
[ assumed scrollok(stdscr, TRUE) ]
when addch(ch) at lower right corner of screen, curses are realy
gone mad instead if simple scrolling... Curses code assumed that
this will be done correctly, but implement it with two bugs.
1993-07-09 05:34:14 +00:00
deraadt ac1c140b61 ok, all executables just got 16 bytes shorter. removed a bunch
of "nops" from the start of the crt.
1993-07-07 01:33:52 +00:00
jtc 527e6a5736 Add i386 assembly versions of bcmp & memcmp 1993-06-17 23:00:41 +00:00
jtc b51b2fdb46 enable memset & memchr. 1993-06-17 16:14:32 +00:00
jtc 36b9af8bc1 bzero: make sure we are longword aligned before we "stosl"
memchr: new
memset: new
strcat: shave a cycle or two.
1993-06-17 16:12:49 +00:00
mycroft 8ffedb1335 Don't need -I/sys any more. 1993-06-17 13:11:39 +00:00
mycroft 6d772d56b3 Stupid cpp! 1993-06-17 13:04:04 +00:00
mycroft dbf2e6e2b8 Remove some spaces so GAS 2 won't barf (but I think I will)... 1993-06-17 12:05:29 +00:00
jtc 3743b2f50b fix align directive, so we don't jmp to a bunch of nops before we get to the good stuyff 1993-06-17 01:50:12 +00:00
jtc 7fb7e975c7 Make assert macro ansi complient. 1993-06-16 23:18:35 +00:00
jtc bceb67fa8d According to Ansi C, signal is supposed to return SIG_ERR on error,
not BADSIG.  I know they are the same thing, but this allows me to
remove the otherwised unused, bogus macro BADSIG from signal.h
1993-06-16 22:12:16 +00:00
mycroft 409bc91101 Move asm.h from /usr/include/sys to /usr/include/machine. 1993-06-16 21:42:43 +00:00
mycroft ac1dfafeae Clean up this bullshit. 1993-06-16 21:31:12 +00:00
jtc b0824ed69e include xdr_float & xdr_double with all the other rpc/xdr code in libc.a 1993-06-16 21:30:20 +00:00
mycroft b2a958ff6d Use TWOENTRY(). 1993-06-16 21:04:44 +00:00
mycroft cddba95abb Use ENTRY() macro (for profiling). 1993-06-16 19:11:37 +00:00
mycroft 138b0ef3ae #include <sys/asm.h>, and don't lose if we compile memcpy() with profiling. 1993-06-16 19:00:52 +00:00
mycroft 9490d905c4 Clean up deleted files. 1993-06-16 18:39:49 +00:00
mycroft 686b9e0da1 Actually, just make memcpy() an alias for memmove(). 1993-06-16 18:38:38 +00:00
mycroft 33c9c47425 Oops. Forgot to update the Makefile. 1993-06-16 18:33:25 +00:00
mycroft 42bfa88f6a Add memcpy.s and memmove.s, based on bcopy.s. 1993-06-16 18:26:40 +00:00
mycroft a7554b65a7 Use ENTRY macro. 1993-06-16 18:23:21 +00:00
jtc dacb3d324d Update fnmatch() to be more posix complient (from bostic). 1993-06-16 17:16:11 +00:00
jtc caf6ead8ab performance bugs discovered by mycroft 1993-06-16 16:31:00 +00:00
jtc 9bdb2fb9ea Added i386 assembly language versions of ffs, strcat, strcpy, and strlen.
Updated comments of index, rindex, strchr, strcmp, strncmp, and strrchr.
1993-06-16 16:03:56 +00:00
jtc 5d2d1a3364 Added i386 assembly language versions of ffs, strcat, strcpy, and strlen. 1993-06-16 16:02:26 +00:00
jtc 800e6b4bac Added fast strcmp() and strncmp() routines. 1993-06-15 23:25:30 +00:00
jtc 2658bf6d50 Added fast strcmp() and strncmp() routines. 1993-06-15 23:25:12 +00:00
deraadt 5c20ccab8b kernel string read function takes much less time. could be optimized further,
by making block reads kernel page aligned. (cgd will make the next optimization
in this file)
1993-06-15 07:16:06 +00:00
cgd 9f0aa214be update db code to v1.6 from vangogh, and put it in "db" rather than "DB" 1993-06-14 23:52:39 +00:00
mycroft c1cecd30d8 Clean up deleted files. 1993-06-14 23:51:49 +00:00
cgd 70a04c5a30 update db code to v1.6 from vangogh, and put it in "db" rather than "DB" 1993-06-14 23:51:26 +00:00
mycroft 6609149bb3 Clean up deleted files. 1993-06-14 21:16:14 +00:00
brezak 76266e007c Add -DYP to CFLAGS 1993-06-14 14:20:20 +00:00
deraadt ef08b20d7a a few typecasts because of the new prototypes 1993-06-12 19:46:31 +00:00
brezak 891aec9712 Fix to compile with YP. 1993-06-11 16:58:19 +00:00
cgd 23f01fa004 yes another fix (from margo?) via Christoph Badura <bad@flatlin.ka.sub.org> 1993-06-11 00:25:39 +00:00
jtc 4b780a9d57 update to -mandoc macros 1993-06-10 19:02:32 +00:00
jtc 0c7b56efc3 Install many symlinks to xdr.0 & rpc.0.
Update bindresvport, getrpcent, getrpcport.3 man pages, convert to -mandoc.
Fix minor bug in rpc.3 manpage.
1993-06-10 16:49:39 +00:00
brezak c874918400 CHanges from conklin@talisman.kaleida.com
* fixed C source where it conflicted with prototypes, documentation,
	  and TIRPC.

	* use getrpcent.c from TIRPC.

From brezak:

Add YP support to getrpcent.c
1993-06-09 19:31:17 +00:00
mycroft c29fd6777b Clean up deleted files. 1993-06-09 19:27:00 +00:00
brezak a98de6b7b0 remove yppasswdxdr.c - now part of librpcsvc.a 1993-06-09 19:26:57 +00:00
cgd ba42f6137c bug fix from margo. she said:
> Essentially what was happening was that I was running out of overflow
> pages in an overflow point (you are limited to 2047).  When I upped the
> overflow point I was setting the offset to 0 and allocating an overflow
> page number that mapped to the same spot in the file as a bucket did.
> The overflow page got overwritten with the bucket on disk and voila --
> corrupt file.
1993-06-09 18:20:35 +00:00
mycroft e3ea23c51a fgetline() does not return the newline. 1993-06-08 16:49:53 +00:00
proven 890b321c58 Removed bugs and memory leaks from the directory function. 1993-06-04 16:59:18 +00:00
brezak 0f3c8d7472 Add more RPC definitions. 1993-06-03 19:21:08 +00:00
brezak 2102dbe62d Keep the cp'ed .x in the objdir. Be sure to clean it too. 1993-06-03 17:07:56 +00:00
brezak 4a9e8377b4 Copy the .x file to the obj directory before running rpcgen. You have
to do this because rpcgen will generate an include line with the full
path of the .x file.
1993-06-03 16:49:21 +00:00
brezak 2c766f3e20 Fix for building in obj tree. 1993-06-03 14:45:37 +00:00
brezak f5444fe852 Build librpcsvc.a 1993-06-02 19:51:29 +00:00
brezak 90253c1798 Build librpcsvc 1993-06-02 19:50:56 +00:00
cgd 566dd48a95 misc minor changes 1993-06-01 01:48:36 +00:00
cgd 5089c41368 update kvm.c for the new way of doing things:
(1) add support for new stack format/PS_STRINGS
	(2) add support for kvm_getenv
the HP300 support in kvm_procread needs to be looked at/filled in,
from example code in kvm_getu, plus hacks
1993-06-01 01:35:01 +00:00
cgd a1fe79bac5 make makefile do *nothing* for any of the standard cases if crypt.c
doesn't exist.
1993-05-29 13:27:15 +00:00
cgd 7a24140432 new vangogh db (v1.5) 1993-05-27 19:54:30 +00:00
mycroft 7133ae673a Clean up deleted files. 1993-05-26 16:22:40 +00:00
cgd 27c2936367 apply fix to setvbuf(), supplied by chris torek 1993-05-24 07:19:35 +00:00
deraadt 9ce2dc36b4 sleep man page fix from <jan@encap.hanse.de> 1993-05-22 00:57:39 +00:00
cgd c6ac4dd960 Needed for netstat to compile, add iso_addr &c
(from Havard Eidnes <Havard.Eidnes@runit.sintef.no>)
1993-05-21 12:47:53 +00:00
davidb 80e3f78daf Added Nation Semiconductor 32000 support 1993-05-21 12:36:34 +00:00
cgd 44985e0359 get rid of explicit select.h inclusion, and clean headers more 1993-05-20 12:05:02 +00:00
cgd 12279683e7 don't inlude select.h, but keep header cleanups 1993-05-20 11:53:04 +00:00
cgd 5cecaec7a1 update to use select.h 1993-05-20 11:26:10 +00:00
cgd 2c6296eff4 fix new select stuff 1993-05-20 10:30:31 +00:00
cgd b1793f25e7 oops; last time i moved stuff, was to the wrong place...
don't use csu.* any more, just use *...
1993-05-18 10:08:43 +00:00
cgd 574bfabf9b move csu.${MACHINE} into a "csu" subdirectory. 1993-05-18 07:48:34 +00:00
cgd 8d5826635d bring in getcap routines, supplied by CSRG, from 4.4... 1993-05-18 07:37:51 +00:00
deraadt 77c037ed51 added my copyright.. how self efacing of me 1993-05-16 02:47:20 +00:00
cgd f9350c73f0 getpgrp actually takes void. ask the IEEE... 1993-05-16 01:51:51 +00:00
davidb b7f53bfe02 Updated to support MIPS processors 1993-05-14 15:27:49 +00:00
cgd cc9d7e512e add hp300-specific libc files 1993-05-13 13:51:52 +00:00
cgd 95661f18d9 add hp300 crt0 files 1993-05-13 13:50:54 +00:00
deraadt 8db326f5d7 The xdr_float() and xdr_double routines from the xdr/rpc library were
not ported to the '386 (xdr_float.c was excluded in the makefile).
Since the '386, like the 68k and sparc, uses IEEE floating point, all
that was needed was to take word ordering into account for
xdr_double().

patch from J.T. Conklin <conklin@talisman.kaleida.com>
hacked to use BYTE_ORDER macros from machine/endian.h
1993-05-11 23:56:10 +00:00
proven 7766c000bc Prototype now matches declaration. 1993-05-11 17:08:08 +00:00
glass 6613302d1d calling sequence was totally wrong. documented calling sequence (basically
the types).  real documentation is a waste as nothing but nfsd(8) calls
it and the interface changes a great deal in 4.4
1993-05-11 07:36:48 +00:00
cgd de5b7fe74a fix problem where kvm_getprocs(), ..., kvm_freeprocs(), kvm_getprocs()
would get no processes.
1993-05-11 06:44:54 +00:00
cgd e9fa4a0d6e update with new files from Chris Torek 1993-05-07 07:40:27 +00:00
cgd 10e1e6a373 add assembly language version of index, rindex, strchr, and strrchr
supplied by J.T. Conklin <conklin@kaleida.com>
1993-05-07 03:01:27 +00:00
cgd c5d886aff7 diffs for uname (posix!) system call, provided by John Brezak <brezak@osf.org> 1993-05-06 10:46:12 +00:00
deraadt 3cbc24e4f9 I was horrified to find these had not been commited with the YP changes. 1993-05-04 05:10:45 +00:00
mycroft 97522940f4 Clean up deleted files. 1993-05-03 07:46:10 +00:00
deraadt edca56133c moved rpc include files 1993-05-03 07:43:41 +00:00
mycroft eca88e272d Cleanup for GCC 2...
s/__dead/volatile/  (Does the format really exist in GCC 1?)
s/va_list/_VA_LIST_/  (to match prototypes)
1993-05-01 15:17:00 +00:00
glass b64b1fd758 added some support new err(3) shit needs 1993-04-30 23:09:06 +00:00
glass 5fabe9c0b1 new err stuff 1993-04-30 23:08:23 +00:00
cgd e5289f4697 moved libg++ into /usr/gnulib 1993-04-29 11:40:16 +00:00
proven 1184357971 Applied John Kohl's patch to syscall.s Stack pointer was off by 4 bytes on
return.
1993-04-28 18:33:01 +00:00
mycroft 9222eca1f3 Fix memory leak. 1993-04-27 20:58:44 +00:00
deraadt 998ea47bff changed the documentation on what -DYP really means. 1993-04-27 10:11:24 +00:00
glass 5651d3f0ed improved error handling from ftp.uu.net:bsd-sources 1993-04-27 05:51:11 +00:00
cgd 3a1c5d4c02 always compile in YP. theo hasn't given me a reason we can't do this, so... 1993-04-27 03:25:47 +00:00
deraadt 7ca353ff8d YP functions are always in libc. They just might not be called by getpwent()
and friends.
1993-04-27 02:14:43 +00:00
cgd 3509d59e79 make crypt in libc back into a dummy, but a full-featured dummy.
to get crypt now, use -lcrypt, or LIBCRYPT as part of LDADD.
1993-04-26 13:02:16 +00:00
cgd e0b9a84a0f made libcrypt, so exportable vs. non-exportable packages can be
handled easliy.
1993-04-26 12:45:00 +00:00
cgd 91f170e596 added "libcrypt" to list of subdirs. 1993-04-26 12:44:21 +00:00
deraadt a78f71b557 Add instructions for compiling YP to the Makefile 1993-04-26 08:25:13 +00:00
deraadt 42d384ba4c parts of YP inside libc.. 1993-04-26 08:23:39 +00:00
deraadt 3fcae026b5 cruel hack to get librpc contents into libc (for yp) 1993-04-26 08:22:34 +00:00
mycroft 2dbb9c9a20 Remove -I; include files are now in /usr/include. 1993-04-26 02:14:20 +00:00
mycroft ba2f11b97b Clean up deleted files. 1993-04-26 02:13:17 +00:00
mycroft 8c13f4907a Compile {iso,ns}_{addr,ntoa}. 1993-04-25 07:24:14 +00:00
mycroft 781e6f694c Add directory that CAP forgot. 1993-04-25 01:31:38 +00:00
mycroft 2b53b2263e Add missing -I in CFLAGS. 1993-04-25 00:54:43 +00:00
mycroft f909f1bb33 Use global value of CFLAGS. 1993-04-24 22:48:30 +00:00
mycroft c2ef5bd114 Make tabs actually work. 1993-04-23 03:42:45 +00:00
mycroft e82ce38d28 Don't build profiling libs if NOPROFILE (from 386BSD patch 138). 1993-04-22 03:38:45 +00:00
mycroft 1b67cec37d Fix various bugs in man pages (from 386BSD patch 130). 1993-04-22 03:27:28 +00:00
proven 49a91dd715 This is the latest libdb from vangogh. Messaged so it compiles into
libc. Put in DB so if there is a problem people can back it out quickly
and compile the old db code.
1993-04-21 04:51:09 +00:00
proven df6c6574d5 New db stuff is in DB now. Makefile reflects change. 1993-04-21 04:48:07 +00:00
proven 38918af207 Opps, dbopen doesn't have an underscore. Fixed. 1993-04-21 04:26:21 +00:00
proven 2d21df758f Fixed these twon files to use db_open instead of hash_open. 1993-04-21 04:21:06 +00:00
proven c7404d9eb1 Removed references to db in the Makefile. 1993-04-18 21:50:28 +00:00
mycroft 24e496eca2 Eliminate GCC 2 warning due to prototype not being in scope. 1993-04-18 09:22:35 +00:00
mycroft 78ff981673 Fix error in last patch. 1993-04-18 09:21:15 +00:00
mycroft f6eb9a54d8 Make arguments match prototypes. 1993-04-18 09:19:56 +00:00
mycroft f3abdec36a Rewrite. Add support for GCC 2. 1993-04-18 08:47:09 +00:00
sef caf88a2f34 Bloody stupid misspelled name caused me grief, so I'm changing it
wherever I can.  (Function is getgrnam, documentation says getgrnam*e*!)
1993-04-14 21:31:58 +00:00
cgd 571aba5ed9 should be looking in /usr/include/sys/syscall.h 1993-04-13 16:33:31 +00:00
cgd 4ea87a4167 subdir is librpc; somebody was a moron... 1993-04-10 17:27:23 +00:00
cgd ea0119db71 From: pk@cs.few.eur.nl (Paul Kranenburg)
patch which allows ps(1) and w(1) to lay
their hands on process command line arguments.
1993-04-10 15:02:41 +00:00
mycroft e42ce45b78 Make return status match POSIX and man page. 1993-04-10 00:25:35 +00:00
cgd 80179fde68 from patch 108, by jordan hubbard:
The value of endp returned by strtod() was off by one.  There was also a
const char * vs char * assignment that I took the opportunity to fix.
1993-04-09 12:27:23 +00:00
cgd 80b652e0f4 make sure directory to install stuff exists before installing 1993-04-09 09:39:59 +00:00
cgd 630d08dbe3 make sure directory to install stuff exists before installing,
and copy libs rather than mv'ing them, on install
1993-04-09 09:39:34 +00:00
cgd 92bab71e9b quick makefile for rpc man page master dir 1993-04-04 12:21:18 +00:00
cgd f197c56439 fixed bug where space in a line had "priority" over a tab in finding
the end of the current field, even if the space came after a tab...
1993-04-04 12:06:31 +00:00
cgd 5d07e08579 added changes from Steven Reiz <sreiz@aie.nl> (based on
those by Poul-Henning Kamp <phk@data.fls.dk>) to get the kernel
to compile properly when gcc2.* is cc.  (should still work
when gcc1.39 is in use.)
1993-04-03 02:15:18 +00:00
glass 0ec557d9c9 Now installs man pages 1993-04-03 00:59:48 +00:00
glass f6d04cee08 Now just a subdir.mk 1993-04-03 00:59:16 +00:00
cgd 3201bdaf64 fixed problem with 2 `/' chars back to back in temp files, which kills emacs 1993-04-02 12:31:56 +00:00
deraadt 355265a866 added: the entire domainanme set. domainmame(1), domainname(2), and a spiffy
man page.
1993-04-02 12:24:21 +00:00
nate 81e9be8dc1 Changed Makefile to include the new regex.c package 1993-03-23 19:20:18 +00:00
nate 9e98d4b874 From BSDI Mailing list. regex.c uses the regcomp routines to emulate
the regex routines.
1993-03-23 10:49:38 +00:00
cgd 91ac7bf11a added libcompat for compatibility routines, like ftime, etc. 1993-03-23 10:14:55 +00:00
cgd 649bd7ccc5 added support for using real crypt 1993-03-22 23:27:33 +00:00
cgd 22d5436e4d added crypt.c and deleted crypt_dummy.c 1993-03-22 23:25:02 +00:00
cgd e541169ce2 after 0.2.2 "stable" patches applied 1993-03-21 18:04:42 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00