Commit Graph

895 Commits

Author SHA1 Message Date
cgd fe80c33c9c clean up; use standard headers and functions, rather than local def'ns. 1994-01-24 23:40:10 +00:00
jtc 7835a85a78 Optimization tweaks:
Use testl %reg,%reg instead of cmpl $0,%reg
Use xorl  %reg,%reg instead of movl $0,%reg
1994-01-24 19:24:36 +00:00
cgd f2149bfd60 changes from branch 1994-01-24 08:36:38 +00:00
cgd f7b4cb000f update to 1.73 from UCB. I didn't even notice this was out! 1994-01-24 03:59:39 +00:00
mycroft 2c00baa34c Clean up deleted files. 1994-01-24 03:44:49 +00:00
mycroft 044908faa7 Clean up deleted files. 1994-01-24 02:48:36 +00:00
deraadt 6fcc6b7f39 ## and /**/ 1994-01-23 07:26:16 +00:00
mycroft 381c79c430 Clean up deleted files. 1994-01-20 23:04:15 +00:00
jtc 9b343db615 Rpcgen fix allows us to simplify building of rpcsvc library. 1994-01-20 23:04:13 +00:00
jtc e304028c04 Fix off by one bug in pwcashe routine group_from_gid(). 1994-01-19 21:15:46 +00:00
pk 939f7033c5 Make it work with old-style (/usr/bin) cpp 1994-01-15 20:19:43 +00:00
mycroft a4d10d0ab2 Clean up deleted files. 1994-01-15 19:31:44 +00:00
cgd 73da6e26ee actually commit the changes i made the other day to the Makefile 1994-01-15 19:31:32 +00:00
jtc 02ae14d50f Fix obscure bug where the working directory would not be restored to its
proper place (occurs if one of fts_open()'s arguments is a relative path
to a empty directory).
1994-01-14 01:53:57 +00:00
cgd 98a60eb83a fix sall memory leak. from Christopher Jon Kane <kane@kidd.vet.purdue.edu> 1994-01-13 22:55:55 +00:00
glass 8cdd7bfe4f warnings about incompatible declarations fixed.
fix from <thomas@mathematik.uni-Bremen.de>
1994-01-13 22:24:06 +00:00
mycroft ab823015e9 Clean up deleted files. 1994-01-12 23:11:41 +00:00
cgd a839e5389d moved to libcompat, where they belong. 1994-01-12 23:11:24 +00:00
jtc a072679039 Fix spelling errors. 1994-01-11 00:46:50 +00:00
jtc 719a8083f0 Fix spelling errors. 1994-01-11 00:05:54 +00:00
jtc 62c2139aff Fix spelling errors. 1994-01-10 23:58:48 +00:00
jtc 12d5be7f56 Fix spelling errors. 1994-01-10 23:54:08 +00:00
jtc 584ac8448e Fix spelling errors. 1994-01-10 23:32:20 +00:00
jtc 38bdf5186b Fix typos & formatting. 1994-01-10 23:09:09 +00:00
jtc aa0356b56a Set errno to EINVAL and return -1 if the argument to sigaddset(), sigdelset(),
or sigismember() is out of range.  POSIX.1 allowed the old behavior, but
detecting the errors is a more reasonable course of action.
1994-01-10 23:02:09 +00:00
deraadt fefdca9988 c++ not g++ 1994-01-10 14:09:16 +00:00
mycroft 6d4a19bff5 Clean up deleted files. 1994-01-07 19:15:52 +00:00
pk 36328be690 Rename lib/csu/g++ to lib/csu/c++ 1994-01-07 19:15:31 +00:00
cgd 3a44018403 get rid of the awful RSS hack 1994-01-07 19:10:06 +00:00
mycroft abeb62670e Delete special rules for syscall.S; they are not needed, and one of them
is wrong anyway.
1994-01-07 16:36:45 +00:00
pk 39c0326588 PIC_*() macros moved to <machine/asm.h> 1994-01-07 00:48:22 +00:00
pk e2c9704c72 Simplify code and add copyright. 1994-01-06 23:39:25 +00:00
deraadt 2d1eff419c glob_t not GLOB_t. pointed out by <lm@rmit.edu.au> 1994-01-06 13:24:09 +00:00
mycroft d6718d4665 Put back ld -x -r. 1994-01-06 04:35:39 +00:00
mycroft 22f50fc547 Remove ld -x -r until it actually works. 1994-01-05 23:47:35 +00:00
mycroft 8381eeac4d Use -fpic. 1994-01-05 23:32:09 +00:00
pk e5ea148320 Subdirectory g++ contains C++ shared library helper routines. 1994-01-05 21:05:11 +00:00
mycroft 2ac9b46bdd Allow ld.so to be QMAGIC. 1994-01-04 23:40:31 +00:00
mycroft 34dbfc64b6 Fix two compiler warnings. 1994-01-04 21:40:23 +00:00
jtc 672f7a6292 Use _PATH_TTY constant instead of "/dev/tty". 1994-01-04 18:27:08 +00:00
cgd f45b975fa5 rename fgetline() 1994-01-04 05:36:22 +00:00
cgd 02254e0c37 rename fgetline() and sharpen axe for bostic... 1994-01-04 05:16:44 +00:00
cgd 7cf02fbc34 bump shlib version so people don't get screwed again by fgetline() 1994-01-04 05:15:30 +00:00
mycroft 4fdb06a4f5 Clean up deleted files. 1994-01-04 05:13:19 +00:00
cgd a18790e65d rename fgetline() and sharpen axe for bostic... 1994-01-04 05:13:16 +00:00
cgd fdacf1c630 DTRT if op is = 1994-01-04 05:05:36 +00:00
jtc bfc2593ae5 Integrate strtoq() and strtouq() from bsd-sources on uunet. 1994-01-03 22:58:35 +00:00
jtc 58f143a599 Add explicit return types to function definitions. 1993-12-31 19:13:47 +00:00
jtc 8ec96af59d Changed return value from int to pid_t. 1993-12-30 19:16:46 +00:00
deraadt 1a361f13ba "struct ether_addr" is in netinet/if_ether.h (as in SunOS) 1993-12-30 04:21:05 +00:00
jtc a5313a04b3 #include <stdlib.h> & <string.h> to bring function prototypes into scope. 1993-12-28 19:51:37 +00:00
jtc b64dadb1ac #include <string.h> to bring function prototypes into scope. 1993-12-28 19:45:46 +00:00
jtc 991b130549 #include <ctype.h> to use the isspace() macro. 1993-12-28 19:42:49 +00:00
jtc 3f5672d010 Explicitly declare function return types to silence "gcc -Wall". 1993-12-23 23:14:43 +00:00
cgd fc5a16e0c4 add file eaten by crash 1993-12-23 14:00:07 +00:00
jtc d486fccc08 Add explicit "int" return types to silence gcc -Wall. 1993-12-22 18:59:39 +00:00
jtc 892c4f7549 #include <string.h> to bring prototypes into scope. 1993-12-22 18:52:58 +00:00
cgd a686a9cf52 make empty static 1993-12-22 09:38:20 +00:00
cgd 6039a60bb3 don't squish newline at end of fgetline()... from bostic 1993-12-22 07:10:58 +00:00
cgd 13a95c06c9 don't squish newline at end of fgetline()... from bostic 1993-12-22 07:09:11 +00:00
jtc bd1ff5e87a Fix bug #12, strtod() now uses localeconv() to get locale specific
decimal point character.
1993-12-21 19:24:09 +00:00
jtc 31b9353995 Use isspace() instead of a switch statement with explicit values when
skipping leading spaces.  This is needed for compliant behavior once
localization support is integrated.
1993-12-21 18:59:11 +00:00
proven 881ae40055 Copyrights added to each file. 1993-12-20 19:31:06 +00:00
mycroft add5cd71dc Clean up deleted files. 1993-12-20 19:30:59 +00:00
proven abe1bf3801 Copyrights added to each file. 1993-12-20 19:30:07 +00:00
pk 47b4886a7f Return a well-known constant after becoming a daemon. 1993-12-19 08:44:42 +00:00
jtc eeb1800b0e Fix bug #24 by renaming _logname_valid to __logname_valid. 1993-12-18 01:16:18 +00:00
jtc 0e09f939b2 Fix bug #24 by renaming _logname_valid to __logname_valid. 1993-12-18 01:02:47 +00:00
deraadt 46c1a166d2 small bug fixed 1993-12-16 19:19:14 +00:00
deraadt e1d7e3c22c ethers(3) man page by Roland McGrath <roland@frob.com> 1993-12-16 15:50:20 +00:00
deraadt 6a3865505c ethers(3) sunos-like support from Roland McGrath <roland@frob.com>
YP code fixed by myself (looked in wrong maps, didn't free things :-)
used by rarpd & friends.
1993-12-16 05:17:35 +00:00
jtc 412e7d5328 More manpage tweaks. 1993-12-15 20:32:47 +00:00
jtc 7f6c106f52 Add explicit return type in SYNOPSIS section. 1993-12-15 18:10:20 +00:00
jtc 448b825466 Remove unwanted comma from NAME section. 1993-12-15 18:09:42 +00:00
jtc 348a090081 Add explicit return types and needed header files to SYNOPSIS section. 1993-12-15 18:08:12 +00:00
jtc 8ee12398cc Must #include <sys/types.h> to use these functions. 1993-12-15 17:40:20 +00:00
jtc 0477eb4598 Tell user to #include <fcntl.h>, not <sys/fcntl.h> or <sys/file.h>. 1993-12-15 17:36:56 +00:00
jtc 1b7c71cc45 Tell user to #include <fcntl.h>. 1993-12-15 17:36:23 +00:00
pk ada9ac5f49 Cleanup 1993-12-15 09:46:28 +00:00
mycroft cbe3d33b6d P[GD]_SHIFT --> P[GD]SHIFT 1993-12-15 00:50:45 +00:00
jtc b30024a6da Change from Chris Torek (via comp.std.c) to make fread() ANSI compliant. 1993-12-14 23:17:09 +00:00
jtc bd3bf0fe0d RPCSRC 4.0, which our RPC implementation is derrived from, erroneously
sets a default timeout of 25 seconds in clnt_create().  This bug causes
timeouts specified as the last argument to clnt_call to be ignored.
With this fix, timeouts will be taken from clnt_call() unless the
program sets its own default timeout with clnt_control().
1993-12-10 20:01:45 +00:00
deraadt 6401f7c13a speed up getpwnam/getpwuid for standard cases 1993-12-10 12:46:29 +00:00
mycroft 7af32d8c3c memcpy.S and memmove.S on i386 are now separate. 1993-12-10 10:55:12 +00:00
mycroft cc81da7447 Shorten setup for longword operations a little. 1993-12-10 10:51:11 +00:00
mycroft dca61f6f90 Share code. 1993-12-10 10:45:18 +00:00
jtc a9e5cc4f83 No reason these can't share code... 1993-12-08 22:10:14 +00:00
mycroft ed306b5df9 Add strchr.S and strrchr.S for m68k. 1993-12-08 21:03:05 +00:00
mycroft cd8e1bd162 No reason these can't share code... 1993-12-08 21:01:56 +00:00
pk 230b816542 Use %hi operator when fiddling a bit high... 1993-12-08 18:33:43 +00:00
pk 49d5ac06cc Added some Sparc sources. 1993-12-08 13:31:01 +00:00
pk ca6c5f72ae Fix location of sources -> arch/sparc 1993-12-08 13:30:16 +00:00
pk d1639c316e Use sigstack() in stead of sigaltstack() until we have a sigaltstack()
in the kernel.
1993-12-08 11:25:12 +00:00
jtc 865516f9d5 Restore 4 lines of code that UCB added that got lost when I upgraded to
the latest version of this code.  This bug was responsible for printf
formatting errors when values were rounded to 0.
1993-12-07 18:54:32 +00:00
mycroft 1f063d60c0 Fix a bug, and speed up by a few cycles. 1993-12-07 06:58:35 +00:00
mycroft 2c216884a8 Fix typo. 1993-12-07 03:28:53 +00:00
mycroft 6103136f3b Fix typo. 1993-12-07 02:05:27 +00:00
mycroft b06640f168 Also a memcpy.S for m68k. 1993-12-07 01:00:06 +00:00
mycroft e3b5d6cf18 Remove -p flags from .so builds. 1993-12-07 00:54:09 +00:00
mycroft ca4372787c Fix a couple of nits. 1993-12-06 23:45:48 +00:00
mycroft 91ae666ad3 Add memmove.S to m68k assembler stuff. 1993-12-06 23:39:42 +00:00
pk f3f7594fc9 Use PIC_PLT for error returns.
Correct operand order in accessing `minbrk' and `curbrk'.
1993-12-06 23:28:08 +00:00
pk 417e7a6fff Remove spurious PIC_EPILOGUE and PIC_GOTOFF macros. 1993-12-06 23:27:04 +00:00
pk 3581f42619 Use PIC_PLT() macro for error returns 1993-12-06 23:26:04 +00:00
mycroft 5897de064c Use assembler versions of m68k stuff. 1993-12-06 23:22:15 +00:00
mycroft 50ee78b26f Assembler version. 1993-12-06 23:16:05 +00:00
mycroft 8449f5103c More assembler code. 1993-12-06 23:08:46 +00:00
mycroft a0f51b3da9 Fudged an addressing mode. 1993-12-06 22:51:41 +00:00
mycroft ff88d330ae Initially cloned from bcmp.S. 1993-12-06 22:37:15 +00:00
mycroft b5c51ee600 #define the appropriate symbol and #include bcopy.S. 1993-12-06 22:13:08 +00:00
mycroft 87a251f506 Add code for memcpy() and memmove(). 1993-12-06 22:12:04 +00:00
mycroft 565cec3fcc Add a `const' to shut up gcc. 1993-12-06 21:47:38 +00:00
mycroft 4bc3889433 Clean up deleted files. 1993-12-06 12:12:05 +00:00
cgd 29c9f7be20 use .S not .s 1993-12-06 12:11:42 +00:00
cgd 4db8a8637b fix things so that memmove.so, et al., are built correctly on
machines w/o architecture-specific sources.
1993-12-06 03:10:35 +00:00
briggs bdb4a3a91a Changed occurance of MACHINE_ARCH == "hp300" to MACHINE_ARCH == "m68k" 1993-12-05 15:45:52 +00:00
cgd d69671a6d5 Add dummy install target for machines which don't have this 1993-12-05 14:51:56 +00:00
deraadt f92ccee2e2 should bzero automatic sockaddr's before use 1993-12-05 14:36:48 +00:00
cgd f00e1cfe6a get pc532 moved into ns32k; that's is MACHINE_ARCH 1993-12-05 02:20:58 +00:00
mycroft 04f8c8eac7 Clean up deleted files. 1993-12-05 02:20:10 +00:00
cgd 08ee36190d get pc532 moved into ns32k; that's is MACHINE_ARCH 1993-12-05 02:20:00 +00:00
cgd 70182749fb specify which files to copy into libkern 1993-12-05 01:46:02 +00:00
mycroft 364df3ec6d Clean up deleted files. 1993-12-05 01:37:01 +00:00
cgd 30dc89704d split up the {ntoh,hton}[ls] functions 1993-12-05 01:36:46 +00:00
cgd 65b0c9812e update for MACHINE_ARCH 1993-12-05 01:10:14 +00:00
cgd f7c20a904e look for m68k, rather than hp300 or amiga 1993-12-05 00:33:30 +00:00
cgd dbc90f4ea4 minor rev 1993-12-04 23:12:04 +00:00
cgd 71f16f1033 update from branch 1993-12-04 23:03:43 +00:00
mycroft e5941784b3 Clean up deleted files. 1993-12-04 22:40:26 +00:00
cgd 318d90d37f use MACHINE_ARCH to pick which crt0 to use. 1993-12-04 22:39:21 +00:00
briggs 0db5dab189 Ovfork doesn't get .even any other way, so we must explicitly give it
one.
1993-12-04 18:59:42 +00:00
cgd 734f29e669 copy quad.h, too... 1993-12-04 05:15:26 +00:00
cgd 0ada107897 update for .S and MACHINE_ARCH 1993-12-04 02:33:35 +00:00
mycroft e3b636c256 Clean up deleted files. 1993-12-04 02:32:10 +00:00
cgd 6388bec37e update for .S and MACHINE_ARCH 1993-12-04 02:31:56 +00:00
mycroft 448e711c78 Clean up deleted files. 1993-12-04 01:28:42 +00:00
mycroft 577b1f1315 Clean up deleted files. 1993-12-04 01:27:46 +00:00
cgd 39496a6bca get rid of extra RCS Id in header 1993-12-03 23:02:05 +00:00
cgd ee05a8a802 bump major number; empirically, there *were* incompatible changes... 1993-12-03 22:21:56 +00:00
jtc c2a2e6a126 Add common definition of errno back to the C library. One notable program
uses its own crt0.c, so it can't pick it up from there.
1993-12-03 19:40:23 +00:00
deraadt 66cf56ad97 sunos compatible /var/yp/binding/ files.
fix const warning
1993-12-03 10:10:21 +00:00
briggs 8d26954ec2 Add mc68000 to the list for IEEE_MC68k.
Checks for hp300 and amiga should prob. be removed at some point,
but they do no harm being there.
1993-12-03 03:30:16 +00:00
jtc cf1ab4a553 Add SPRAYOVERHEAD constant. 1993-12-03 00:32:30 +00:00
mycroft ded6c495f2 Remove hack for errlst.o. 1993-12-02 19:48:08 +00:00
mycroft 504c62c073 Add `const's to sys_siglist and sys_signame decls. 1993-12-02 09:50:34 +00:00
mycroft 03b753a0dd Get rid of dated MLINKS for regexp man pages.
Reported by Mark_Weaver@brown.edu.
1993-12-02 07:18:57 +00:00
mycroft e14697d8f2 Add `const's to sys_errlist decl to match 4.4. 1993-12-02 04:45:32 +00:00
jtc 17585e0f6d Manpage formatting tweaks. 1993-12-01 18:49:52 +00:00
cgd 62b6693299 fix typo; from Louis A. Mamakos <louie@TransSys.COM> 1993-12-01 02:26:50 +00:00
jtc 39d94328c9 Changed to use memset() instead of bzero(). 1993-11-30 21:55:35 +00:00
jtc ed9ab81fcc Use ".Va" macro when formatting "errno". 1993-11-30 21:52:46 +00:00
jtc fa8cf50620 Renamed _sigintr to __sigintr. _sigintr is in the user's namespace. 1993-11-30 21:21:42 +00:00
jtc d3b6c3481b "errno" was not being formatted with the .Va macro. 1993-11-30 00:50:58 +00:00
paulus e290fb8f79 Changed beq's to jeq's, because (a) the jeq gets optimized to a short branch,
and (b) gas currently assembles the beq's wrongly.
1993-11-30 00:45:15 +00:00
jtc a66bb8995a Use "Er" for argument to -width in the lists in the ERROR sections so that
formatting is consistant.
1993-11-29 22:06:07 +00:00
jtc 691ded4519 Use "Er" for argument to -width in the lists in the ERROR sections so that
formatting is consistant.
Other misc. tweaks.
1993-11-29 21:40:55 +00:00
jtc 250b6aa06e Use "Er" for argument to -width in the lists in the ERROR sections --- so
the formatting is consistant.
1993-11-29 21:24:57 +00:00
jtc 7ce85221c7 Fix formatting problem theo found. 1993-11-29 19:51:48 +00:00
jtc f947c6c25d Format ERROR values like all the other manual pages. 1993-11-29 19:45:00 +00:00
jtc f5edebac02 Cuserid() is specified in such a way that it can overwrite the buffer used
by getpwent(), getpwnam() & getpwuid() --- but not the other way around.
This requires that cuserid() have its own static buffer.
1993-11-29 19:39:44 +00:00
jtc 2b67bcc1b6 Make it clear that ctermid's argument is a pointer to an array. 1993-11-29 19:30:32 +00:00
jtc 0e817b67bc install cuserid(3) manpage. 1993-11-29 19:22:31 +00:00
jtc fe57b6e1e6 A manpage for cuserid(3) (hacked up from ctermid(3)). 1993-11-29 19:22:00 +00:00
mycroft 01363d9e02 Add amq.x. 1993-11-27 20:36:30 +00:00
mycroft 2250a267d8 Imported from amd distribution. 1993-11-27 20:33:07 +00:00
paulus 75d4ac9791 Machine-dependent files for generic m68k machines (copied from hp300),
modified to support shared libraries.
1993-11-25 23:39:23 +00:00
paulus 5f70961885 Machine-dependent files for generic m68k machines (copied from hp300) 1993-11-25 23:36:47 +00:00
paulus a1eb25471d Machine-dependent files for generic m68k machines, with shared library support. 1993-11-25 23:34:07 +00:00
paulus 156ee99921 C-startup routines for generic m68k machines, with shared library support. 1993-11-25 23:22:41 +00:00
jtc 9c4ad8fbd4 Misc manpage fixes. 1993-11-25 02:48:32 +00:00
jtc bfa380abab BDS -> BSD 1993-11-25 01:48:23 +00:00
jtc c28d7928bf Don't cross-reference ourself. 1993-11-25 01:48:07 +00:00
jtc 32d96ccd3c Remove special case for len == 0 --- It wasn't needed. By dropping the
conditional, the general case (where we are actually swapping bytes) is
a tiny bit faster.
1993-11-25 01:18:24 +00:00
jtc 6e9ac1805f Clean up manpages:
Use .Fn rather than .Nm macro in HISTORY and STANDARDS sections.
  Use .At and .St macros instead of spelling out "Version 6 UNIX",
	"IEEE 1003.1-1988 (POSIX)", etc.
1993-11-25 00:38:17 +00:00
jtc 71dad4e4a9 Strtoul returns a unsigned long. 1993-11-24 23:28:21 +00:00
jtc 685b5f8bc6 Remove BUGS section which stated that strtod was unimplemented. 1993-11-24 23:26:16 +00:00
jtc 9bd83209f0 Change C library functions to use strchr() and strrchr() instead of index()
and rindex().  This will allow (strict {ANSI, POSIX, XOPEN}) applications
to redefine index() and rindex() without effecting the library internals.
1993-11-24 19:43:49 +00:00
proven bafb721fb3 Fix for older shells that can't handle then; 1993-11-22 19:37:48 +00:00
brezak 7d40b79fe6 Add xdr stubs to the interface defn file under #ifdef RPC_XDR to build xdrs into librpcsvc. 1993-11-21 20:17:49 +00:00
mycroft 6b9d227409 MLINKS+=setpgid.2 setpgrp.2
Noticed by Poul-Henning Kamp <phk@data.fls.dk>.
1993-11-21 19:32:11 +00:00
brezak 144d9d1cb4 Changes for interoperability. The generated xdr's were wrong. Can't use rpcgen for these. 1993-11-21 18:59:03 +00:00
brezak fc95ef3fd7 Add version 3 interface 1993-11-21 18:58:10 +00:00
brezak a296d59435 Build rusers.x also 1993-11-21 18:57:11 +00:00
pk 31ca12249f Clean out Sparc code. 1993-11-21 13:35:42 +00:00
cgd 553e6a15d4 finish cleanup 1993-11-19 05:25:40 +00:00
mycroft ce351a47d2 Clean up after Brezak. 1993-11-19 03:18:24 +00:00
jtc 653d8ef24c If _CS_PATH is defined in <unistd.h>, the latest bash assumes that confstr()
will be present as well.  Here is a quick implementation based on my online
copy of 1003.2 (D11.2).  I'll confirm that nothing has been changed in the
final standard and write up a manual page soon.
1993-11-17 18:15:32 +00:00
cgd 527838aa9a yet another setvbuf fix from torek... 1993-11-17 08:18:39 +00:00
proven c88ef05a9a Added NOPIC flag. 1993-11-16 03:21:44 +00:00
jtc 38a3e9d21d Update to Henry's Nov 11 release -- no code changes, only the addition of
a copyright file.  I'm checking it in now, rather than waiting for the
next "real" release, since the rest of the files do not have their own
copyright notices.
1993-11-16 00:04:20 +00:00
cgd 93e4e1b5ae correct my bad advice 1993-11-15 11:11:00 +00:00
proven b410643359 Fixed mysteriouly disappearing SCCS ID. 1993-11-15 10:06:09 +00:00
proven e123d2840c OK one more try at getting it right ... 1993-11-15 10:02:18 +00:00
proven 2000519508 Makefile needed a preall to make a few links before compiling sources.
CVS doesn't check in symlinks.
1993-11-15 06:49:08 +00:00
proven 89fc7bac08 Initial release of the POSIX 1003.4a Draft 7 thread implementation. 1993-11-14 22:06:22 +00:00
cgd 96f49a9e5c *sigh* after consultation with pk, un-bump the major number, and bump
the minor one instead.  basically, only new functions were added,
and ld.so will (soon) print a warning at program startup if the 'best' minor
number that can be found is less than what's expected.
1993-11-14 17:19:19 +00:00
pk 2773bc8731 Removed `INSTALL_PIC_ARCHIVE' as installing these is going to be the default. 1993-11-14 16:48:54 +00:00
cgd 7d4a028027 bump major for sysV ipc additions 1993-11-14 15:06:24 +00:00
cgd 5e9b346b27 Add the System V message queue and semaphore facilities. Implemented
by Daniel Boulet <danny@BouletFermat.ab.ca>
1993-11-14 12:40:23 +00:00
cgd 8c87352d27 fix from gordon@sneaky.lonestar.org (Gordon Burditt)
Description:
	The second argument of tgetstr() is a char **, not a char *,
	as documented in /usr/share/man/man3/termcap.3.
1993-11-14 08:59:39 +00:00
cgd d8cd41a62a bump major number for new regext stuff; incompatible interface 1993-11-12 01:38:29 +00:00
jtc a054c6582a First pass at getting a clean compile with "gcc -Wall", mostly explictly
declaring function return values, etc.
1993-11-11 19:04:04 +00:00
mycroft a06a8e88ff Clean up deleted files. 1993-11-11 03:33:53 +00:00
jtc bc692825ee Implement the FNM_PERIOD flag. 1993-11-11 03:21:21 +00:00
jtc 5e1b956859 Forgot to change dtoa() to __dtoa() when I updated the code from netlib. 1993-11-11 02:08:55 +00:00
jtc 6931099e77 Update to Henry's Nov 2, 1993 alpha3.2 release. 1993-11-11 02:02:57 +00:00
jtc 505033cddd Bump shared library version because regular expresion routines have been
replaced.
1993-11-11 01:34:08 +00:00
jtc c52b10cc29 Layer re_comp() and re_exec() on top of the POSIX regular expression
routines, as the V8 regexp routines have been removed.
1993-11-11 01:24:50 +00:00
mycroft 24bc204201 Clean up deleted files. 1993-11-11 01:22:45 +00:00
jtc 3f40c24bb3 Enable Henry Spencer's POSIX.2 compatible regular expression routines.
Disable his earlier V8-style routines.
1993-11-11 01:22:33 +00:00
jtc 9f78fc2f07 Enable Henry Spencer's POSIX.2 compatible regular expression routines.
Disable is earlier V8-style routines.
1993-11-11 01:16:50 +00:00
jtc b90ff8310a Henry Spencer's POSIX.2 compatibile regular expression matching routines. 1993-11-10 23:34:55 +00:00
jtc 7600aa4d0a Upgraded to Jun 21, 1993 version from research.att.com:
With 32-bit ints, the former could give too small a block for the return
  value when, e.g., mode = 2 or 4 and ndigits = 24 (16 for 16-bit ints).
  tweak to work with 32-bit ints and 64-bit long
1993-11-10 01:58:57 +00:00
jtc 14925245d3 Fixed the most major defect in fnmatch(): backslash-escape processing in
bracket expressions.  Still need to implement FNM_PERIOD...
1993-11-09 18:22:05 +00:00
mycroft f3c504c364 Clean up deleted files. 1993-11-09 04:10:07 +00:00
cgd 083bf15097 repeat after me: "I hate rcs ids" 1993-11-09 04:09:08 +00:00
cgd 8ed76a6ac4 oops; forgot this bit 1993-11-09 04:08:59 +00:00
cgd 2f65b6139d repeat after me: "I hate rcs ids" 1993-11-09 04:06:43 +00:00
cgd 4acf14c6be rcs id's and don't include "compat.h" 1993-11-09 04:05:35 +00:00
cgd b4beac8f5f update to new version from berkeley. doesn't compile yet, nor
does it have rcsid's.  this is for diffs.  new doc layout thang.
1993-11-09 03:36:33 +00:00
mycroft c70688046b Clean up deleted files. 1993-11-09 03:35:11 +00:00
cgd 019bbd1316 update to new version from berkeley. doesn't compile yet, nor
does it have rcsid's.  this is for diffs.
1993-11-09 03:34:01 +00:00
jtc ce4f97eb24 I've been informed that the fts family of functions is being considered
for a _future_ edition of 1003.1.
I recovered the STANDARDS section, and reworded it slightly so it is
clear that we are talking about a future edition instead of 1003.1-88.
1993-11-09 00:29:57 +00:00
cgd daea3d2f86 add shlib_version file, with version 0.0 1993-11-08 03:48:53 +00:00
cgd 1966e528e6 fix flag name 'bug.' reported by Lennart Augustsson <augustss@cs.chalmers.se> 1993-11-08 03:31:24 +00:00
cgd 59a1661ae9 replace single quotes with double quotes where necessary 1993-11-07 11:14:53 +00:00
cgd 3028939baf script to bump shlib_version files, etc. doesn't get installed, no man page. 1993-11-07 09:00:33 +00:00
cgd 6270d348a1 update to latest version. 1993-11-06 01:10:15 +00:00
cgd f95d2e2869 update to latest version; va_list specification changes. 1993-11-06 00:55:23 +00:00
cgd affc13c674 just berkeley copyright/version # changes. 1993-11-06 00:52:40 +00:00
cgd dcabc1d9b5 nuke comments re: posix, per jtc. this isn't spec'd by posix. 1993-11-06 00:51:28 +00:00
cgd 95c898787c update to latest version; no *significant* changes. 1993-11-06 00:33:23 +00:00
jtc 344059bc2d Remove extra "eval" variables in warn() & warnx() function definitions;
these variables were probably introduced by copying the definitions of
err() & errx() when the functions were first implemented.
1993-11-06 00:27:23 +00:00
cgd 2be44f5352 copy SYS.h and DEFS.h, too. 1993-11-05 22:44:00 +00:00
cgd f0c5bd92a1 add strncmp to the list of things that gets copied to libkern. 1993-11-05 22:43:47 +00:00
cgd f5a0af0d6e link libtermlib's shared library to libtermcap's 1993-11-05 05:01:56 +00:00
pk 12094d064d Can get rid of local symbols with "ld -x -r" again.
Made LDSO #ifdef DEBUG.
1993-11-04 10:51:39 +00:00
jtc 86f54a1e24 Corrected and simplified floating point formatting.
Now conforms to ANSI C --- passes the fairly rigorous TCL "format.test".
1993-11-04 02:26:10 +00:00
jtc 5be26afce6 Trailing zeros should be printed with all floating point formats
except %g && %G --- ANSI X3.159-1989, Sect 7.9.6.1.
1993-11-03 19:32:01 +00:00
jtc 5e7056a72c Fix formatting of SEE ALSO section. 1993-10-29 22:57:17 +00:00
jtc 3e27155a88 This type of error checking/reporting is required for many functions,
and is desirable for most of the rest.
1993-10-29 22:24:02 +00:00
jtc 4899342fb1 Holds value of ERANGE and EDOM for assembly routine's error reporting. 1993-10-29 22:22:31 +00:00
jtc 4a01193d1f exp & log functions. 1993-10-29 18:11:00 +00:00
jtc 54601ddeac Don't assume the rounding control bits are 00, make sure that both bits
are set (or reset) as appropriate.
1993-10-29 18:06:16 +00:00
jtc 6ca09b6171 Fix manual page typos. 1993-10-29 17:10:08 +00:00
jtc ec0553e82c More work on i387 specific math library 1993-10-28 19:02:53 +00:00
jtc 1edfcdc790 Additional work on a i387 specific math library. 1993-10-28 00:14:13 +00:00
mycroft af06d69559 Clean up deleted files. 1993-10-26 23:20:31 +00:00
jtc 5742893287 Start of i387 specific math library functions. 1993-10-26 23:19:34 +00:00
cgd dfa98edf21 fixes from Garrett A. Wollman <wollman@emba.uvm.edu>:
note that EACCES is returned if program file is on an FS mounted
MNT_NOEXEC.  also fix missing close-paren.
1993-10-26 01:49:04 +00:00
jtc 71afdb430b Update source and manual pages to match X/Open 1170 specification.
Updated setpassent() to understand YP (a bug), and changed setpwent()
to simply be a call to setpassent(0) (to remove duplicated code).
1993-10-25 23:36:51 +00:00
jtc 92ba83edfc X/Open 1170 defines the return type of setpwent() to be void -- a trival
change since our setpwent() allways succeeded.
1993-10-25 22:21:36 +00:00
pk 65fc5961b5 `ld -x -r crt0.o' defines __DYNAMIC as data. This we cannot use.
Disabled until I sort it out.
1993-10-24 01:34:24 +00:00
pk bd67a6f934 Enabled __DYNAMIC. 1993-10-23 00:47:15 +00:00
pk 33e72d8f40 In execvp(): `eacces' did not get initialized when path name contains a '/'.
This causes the wrong error to be reported when execve() fails.
1993-10-22 19:13:42 +00:00
jtc 3e8ba8c7b5 Add my lsearch & lfind implementations. 1993-10-22 17:51:51 +00:00
jtc 1f10b5021b Added 1170's a64l() & l64a() functions. 1993-10-22 17:26:43 +00:00
jtc 57c5f16709 #include <search.h> to ensure that the public function declarations match
the implementation.
Use old-style function definitions so functions can be compiled with non-ansi
compilers.
Functions are specified to take void * arguments, so they must be cast to
a struct qelem * before they are used.
1993-10-21 21:08:55 +00:00
jtc 4418616857 Move the old berkeley sccs id into the header comment like it is done
for other source files.
1993-10-21 02:19:25 +00:00
jtc 6be8b83abc Gcc helper functions should still use the ENTRY() macro so they will be
show up in profiled code.  (The gcc helper functions in the other ports
do this allready).
1993-10-21 02:03:37 +00:00
jtc 34d1aad0c1 Use PIC_PLT macro with the function calls (as was done with setjmp()). 1993-10-21 01:59:44 +00:00
jtc 79591d04bc So many files in arch/i386 have been changed I might as well run my
remove unecessary trailing whitespace script.
1993-10-21 01:48:14 +00:00
jtc 823c36577c Change instances of LIBC_RCS back to LIBC_SCCS. If we are going to change
th LIBC_RCS, the entire source tree should be updated at once.
Remove && !defined(lint) from conditionals around rcs id's.  No one is
ever going to pass a *.s file through lint.
1993-10-21 01:39:55 +00:00
jtc 9a3e07c4c1 Use BYTE_ORDER == LITTLE_ENDIAN instead of -Dnational to select byte order
of floating point numbers.

The assumption that a processor's floats use the same order as its integers
is probably unwarranted, but it is better than requiring non-national CPUs
to #define national, as that drags in national-specific code too.
(According to a comment in the code, the national FPU does not do infinity)
1993-10-21 00:41:56 +00:00
jtc 6240619b9d Add comma between gamma and lgamma in NAME section. 1993-10-21 00:23:23 +00:00
jtc 7b51b77358 Removed duplicate names from the NAME section. 1993-10-21 00:22:10 +00:00
jtc 97ad548bc0 Replaced instructions with immediate operands with compatible alternatives
saving a few bytes while the cycle count remains the same --- could
actually be faster, depending on the cache, prefetch queue, etc.
1993-10-20 18:50:15 +00:00
cgd 32661c1f77 update to v1.72 of new DB code 1993-10-20 07:25:53 +00:00
jtc f97d1797c8 Use i386 sigsetjmp()/siglongjmp() implementation.
Install sigsetjmp()/siglongjmp() links to setjmp manpage.
Note that sigsetjmp() and siglongjmp() are 1003.1 compliant.
1993-10-19 21:00:46 +00:00
jtc 6802033480 sigsetjmp() for the i386. 1993-10-19 20:44:00 +00:00
deraadt 7be47c8451 #if defined(hp300) || defined(sparc) || defined(amiga)
The knowledge about floating point format should really be pulled in
from somewhere better.
1993-10-19 08:34:29 +00:00
deraadt 78942d40e6 First cut; not sure if it's right. Very like it is, because it's
the same as the m68k versions..
1993-10-19 08:17:20 +00:00
cgd 211d527be4 fix to pow so that pow(x,y) for x == 0 or x == infinity works. 1993-10-19 01:31:09 +00:00
cgd b950dbff54 fixes from Thomas Eberhardt <thomas@mathematik.uni-Bremen.de> to:
(1) don't clobber the MLINKS variable in rpc
	(2) install the rand48 man page in stdlib
1993-10-19 00:36:16 +00:00
cgd c8c15b1c4c don't compiler strerror.c source here, and clean up. 1993-10-18 20:24:34 +00:00
jtc 4072b7fbd0 Grammar and formatting fixes. 1993-10-18 20:04:00 +00:00
pk 54c62acf22 Let libc_pic.a be installed. 1993-10-17 01:10:37 +00:00
pk 37395ea2bb Added subdir `dl'. 1993-10-17 00:46:25 +00:00
pk 22b1f4b825 User interface to dynamic linker functions.
Note: under construction.
1993-10-17 00:45:45 +00:00
pk c677f4482a Haven't tested these for NetBSD, but they work in SunOS. 1993-10-16 22:02:58 +00:00
pk 4406f07dc2 Startup code supporting shared libraries.
NOTE: #ifdefs sparcs should be removed
1993-10-16 21:58:39 +00:00
jtc 722c46e238 Rename _findenv() to __findenv(), as _findenv is in the user's namespace. 1993-10-15 01:26:42 +00:00
jtc 39ff8227a8 Makefile.inc, basically a place to put KMSRC definition 1993-10-15 01:24:47 +00:00
jtc c95309148f Copy machine dependant files (KMSRCS) to libkern. 1993-10-15 01:23:49 +00:00
jtc 77bf1ee93b Added copy-to-libkern and rm-from-libkern targets. 1993-10-15 01:06:47 +00:00
jtc a6c78ff19b Make sure all items in SEE ALSO list are comma separated.
Add cross references to isblank().
1993-10-15 00:58:52 +00:00
jtc 7675ee015a Change ``MAN3 = ...'' to ``MAN3 += ...'', so other manpages are built. 1993-10-15 00:39:23 +00:00
jtc 981beb6413 Use .Xr for SEE ALSO cross references. 1993-10-15 00:05:44 +00:00
jtc 721f0be3c4 Removed trailing comma from SEE ALSO section. 1993-10-14 23:30:41 +00:00
jtc d20a30ce29 Change SYNOPSIS section to use "unsigned" instead of "u_int". 1993-10-14 23:25:28 +00:00
jtc d2b1e8e4d3 Rename intenral _rand_foo variables to __rand_foo, as _rand_foo is in the
user's namespace.
1993-10-14 00:34:17 +00:00
jtc 4048c19048 Define errno. 1993-10-13 23:45:22 +00:00
jtc af384ef2d9 Remove "errno" definition.
Errno should be defined in the c start up code, crt0.c (It is in most
ports) otherwise the sys_errlst table will be linked into binaries
where it is not used.
1993-10-13 23:41:02 +00:00
jtc aa13ae606a Change _dorand48 to __dorand48, as _dorand48 is in the user's namespace. 1993-10-13 21:55:04 +00:00
jtc 98ada58186 Split cfree() out of calloc.c.
If a user compiling in a strict ANSI or strict POSIX environment uses his
own function named cfree (which is legal, since cfree is not in a restricted
namespace) and calloc, the link will fail due to the cfree in calloc.c.
1993-10-13 21:44:23 +00:00
jtc e4da5d66a6 Use __dead instead of volatile. 1993-10-13 18:42:31 +00:00
jtc 716e19806c Document (well, really just mention) external variable optopt.
Add trailing semicolons to the extern variables in the SYNOPSIS section
like all of the other manpages with extern variables.
1993-10-13 17:23:39 +00:00
mycroft ababab0671 Forgot to initialize `cp' in setsyserr(). 1993-10-13 15:49:55 +00:00
cgd 2918003a45 make make after depend finally work. have to do more work, but that's
OK...
1993-10-13 05:28:03 +00:00
jtc c5ff256532 POSIX.2 requires special behavior if the first character of the optstring
argument is a colon.
Updated the manpage to reflect the above change, and expanded the example to
the one used by the POSIX.2 rationale, as it more clearly explains how
the new behavior is to be used.
The manpage should be rewritten --- it is much more confusing than it
should be.
1993-10-12 21:52:45 +00:00