Commit Graph

791 Commits

Author SHA1 Message Date
jtc ec22bca1e7 Since V8 regex routines have been moved to libcompat(), the BSD regex
routines must again be defined as wrappers around them.
1994-02-01 17:45:53 +00:00
mycroft 22eaa1f29e Always read CLBYTES chunks, and cache the last one read. Don't allocate two
large arrays statically.
1994-02-01 02:17:21 +00:00
jtc df8e9f0bbd More spelling errors 1994-01-31 18:36:17 +00:00
jtc a5ee0f03c4 ENOPSUPP -> EOPNOPSUPP 1994-01-31 18:33:21 +00:00
ws 07181c7ca6 Don't try to change user's variables.
They might be static or even readonly.
1994-01-31 17:37:05 +00:00
mycroft 48ae66e2eb Use machine/asm.h for ENTRY() macros. 1994-01-30 21:55:52 +00:00
mycroft f5fbffc1f4 Just use definitions from machine/asm.h. 1994-01-29 09:56:54 +00:00
mycroft baa1c94cb8 Change silly cast to avoid a compiler warning. 1994-01-29 02:34:21 +00:00
mycroft 868e255f15 Sync with i386 code. 1994-01-29 02:20:16 +00:00
jtc fc1d8f3bac Fix spelling error in Copyright notice 1994-01-29 01:54:01 +00:00
jtc 62345776d3 Fix spelling error in Copyright notice 1994-01-28 22:48:31 +00:00
pk db1f5577e7 dl*() stubs 1994-01-28 21:51:52 +00:00
jtc b9db1b67a7 Fix spelling error in Copyright notice 1994-01-28 20:40:54 +00:00
jtc c56a353509 Fix printf formatting directive %02.2d -> %02d 1994-01-28 20:40:07 +00:00
jtc e2c220f94b Fix spelling error in Copyright notice 1994-01-28 20:34:33 +00:00
jtc 5150659b0c More spelling errors 1994-01-28 20:14:54 +00:00
cgd e69f2c20c7 add libkvm 1994-01-28 05:55:29 +00:00
cgd 9d0477578c get rid of bogus comment 1994-01-28 05:43:35 +00:00
cgd f770281201 better way to get the load average 1994-01-28 04:49:23 +00:00
deraadt 7b729d55a0 support for lookup keyword in resolv.conf 1994-01-28 03:10:35 +00:00
deraadt cac819eb3b support for lookup keyword in resolv.conf 1994-01-28 03:00:25 +00:00
cgd 22d6d0d419 patch from sms@WLV.IIPO.GTEGSC.COM (Steven M. Schultz) to kill mem leak 1994-01-28 01:19:11 +00:00
cgd 919f4adecb note requirement of linking with -lkvm if you use this routine. 1994-01-28 00:19:40 +00:00
cgd 227ad953f9 add two man pages 1994-01-27 23:58:34 +00:00
cgd 73eee0505b stuff moved into libc 1994-01-27 23:51:33 +00:00
cgd 9692bffa3e bump major, for changes theo and i are making. 1994-01-27 23:45:26 +00:00
mycroft 025a03852f Clean up deleted files. 1994-01-27 23:31:23 +00:00
cgd 7999e08c50 get rid of stuff that doesn't belong here 1994-01-27 23:31:19 +00:00
cgd 86b9f0e123 create this in preparation for later. 1994-01-27 23:31:08 +00:00
mycroft f0e6f8605f Clean up deleted files. 1994-01-27 19:22:54 +00:00
pk dd26876b99 Remove dlopen() et. al., they don't work from libc. 1994-01-27 19:21:55 +00:00
mycroft 1fe07f186d Separate curbrk and mincrk. 1994-01-27 15:08:03 +00:00
mycroft 3463cb4eef Trivial speedup inspired by SPARC code. 1994-01-27 15:00:49 +00:00
mycroft c25c219087 Random cleanup. 1994-01-27 14:45:52 +00:00
mycroft ef980f76fe One last tweak. 1994-01-27 06:53:25 +00:00
mycroft c48a79fee8 Stylistic change. 1994-01-27 06:50:06 +00:00
mycroft 22e614ce10 Random cleanup. 1994-01-27 06:34:59 +00:00
mycroft 9c8862a970 Pedanticism. 1994-01-27 06:34:02 +00:00
mycroft 3cf1bd9939 SYS_brk --> SYS_break. Where's my axe? 1994-01-27 04:30:34 +00:00
mycroft 17b2a501cd Stylistic changes. 1994-01-27 04:16:50 +00:00
mycroft 0496df7164 More stylistic changes. 1994-01-27 04:14:50 +00:00
mycroft e84d8b28f3 Stylistic changes. 1994-01-27 04:10:20 +00:00
mycroft b6b0ec3424 Fix bug jtc introduced. 1994-01-27 04:07:13 +00:00
deraadt e49d599168 note resolver(5) -> resolv.conf(5) move
(any more of these needed?)
1994-01-26 10:59:58 +00:00
cgd b7a2e44720 kill force. 1994-01-25 21:03:26 +00:00
cgd 985686cfed kill the 'prog' arg to getbsize(); it's unneeded. minor rev bump. 1994-01-25 20:06:03 +00:00
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