John Dyson
c8318ed6c3
Correct a "spelling" error in a comment.
1996-10-31 17:50:45 +00:00
Peter Wemm
836a60691b
Regenerate. This backs out my previous change to TCL_SHLIB_SUFFIX, since
...
it has side effects elsewhere.
1996-10-31 16:09:04 +00:00
Andrey A. Chernov
7a15396329
Replace collate_range_cmp call with its code
1996-10-31 04:55:47 +00:00
Andrey A. Chernov
c61cea7272
collate_range_cmp -> __collate_range_cmp
1996-10-31 04:38:21 +00:00
Andrey A. Chernov
edcfa07284
collate_range_cmp -> __collate_range_cmp
1996-10-31 04:32:27 +00:00
Andrey A. Chernov
38aa46cdf0
Rename collate_range_cmp to __collate_range_cmp for internal usage
...
inside libc. Add collate_range_cmp as alias to __collate_range_cmp
for temp. backward compatibility.
collate_range_cmp will be replaced with direct code for each
external program for compatibility with the rest of world
1996-10-31 04:25:14 +00:00
Peter Wemm
e6f0209e40
Regenerate.
...
No changes other than "instructions" for what other tools that use this
.. "interesting" .. system should name their shared libraries. This was
broken for some tools (eg: expect-5.21) even for the native tcl build (ie,
it would end up using libexpect521.so, not libexpect521.so.1.0)
1996-10-30 08:49:33 +00:00
Poul-Henning Kamp
f3f639a106
If you run with option Z and malloc fails, memset gets called
...
with a NULL pointer (archie)
Explain that minsize is also the smallest alignment.
Submitted by: Archie Cobbs <archie@whistle.com>
1996-10-29 20:35:39 +00:00
Peter Wemm
62875fe88b
Regenerated.. Use new minor number for both installed names, not just
...
one of them.
1996-10-29 04:36:25 +00:00
Wolfram Schneider
9c91ce9853
Do not make symbolic links from obj directory into source tree,
...
it may break `make reinstall'. Use cp(1).
simplify makefile
1996-10-26 23:38:07 +00:00
Joerg Wunsch
55e0d3b7cf
Fix an off-by-one error in getvfsent().
...
Detected by: phkmalloc :)
1996-10-26 21:53:21 +00:00
Alexander Langer
90a720bc0d
Note that streams are now flushed on abort.
...
Change standards section to reflect POSIX 1003.1-1990 conformance.
1996-10-26 18:14:44 +00:00
Poul-Henning Kamp
7bd7818f1c
Various cosmetics
...
Improve chances of troublefree 64bit operation. [imp]
Noticed by: Warner Losh <imp@village.org>
1996-10-26 08:19:07 +00:00
Alexander Langer
a3f90e9bd5
POSIX requires stdio buffers be flushed on abort.
...
Obtained from: OpenBSD, Thorsten Lockert <tholo@OpenBSD.ORG>
1996-10-26 01:42:33 +00:00
Bruce Evans
1ab6205ce1
Moved #include of <sys/types.h> earlier so that this compiles when
...
<stdio.h> doesn't (bogusly) include <sys/types.h>.
Cleaned up #includes.
1996-10-25 06:48:29 +00:00
Andrey A. Chernov
3deeb59da9
GNU-style changes:
...
1) Rename FNM_ICASE to FNM_CASEFOLD
2) Add FNM_LEADING_DIR
Add proper (unsigned char) casts to tolower().
Use 'char' function argument for proper sign extension
1996-10-23 16:40:20 +00:00
Andrey A. Chernov
967a5cb181
Simplify debug output
...
Simplify collate_range_cmp for ASCII-compatible collate we have now
1996-10-23 15:35:46 +00:00
Poul-Henning Kamp
52377df350
Add #include <sys/types>
1996-10-22 16:28:56 +00:00
Poul-Henning Kamp
40060a90b9
close bin/1648 libmd not 64bit safe.
...
if something fails to compile now, you need to add #include <sys/types.h>
Partially Submitted by: Jason Thorpe <thorpej@nas.nasa.gov>
1996-10-22 16:27:47 +00:00
Joerg Wunsch
a098bfd775
Fix a potential memory leak i've introduced with my recent patch.
...
Reviewed by: bde
1996-10-21 23:56:23 +00:00
Wolfram Schneider
95e4966c47
add flag FNM_ICASE for case insensitve search
...
Reviewed by: ache
1996-10-20 15:15:59 +00:00
Poul-Henning Kamp
2e7c91ff16
malloc_pages should be static.
...
Add progname to warning/error message layout. (joerg)
Remove inline assembler, no speed impact, not need for the obfuscation (bde)
Remove on the fly calculation of parameters, no longer critical.
Make D & U flags valid even if we don't support them.
Don't call imalloc until we're done initializing.
Zap contents on free() if we have "Junk" set. [*]
Various nitpicking.
[*] As a sideeffect of this change, if you are worried about
sensitive data lingering in memory, you can use the 'Junk' option
now to make sure phkmalloc zaps memory when it is returned. add
char * malloc_options = "J";
to your source. Obviously there is a performance impact.
1996-10-20 13:20:57 +00:00
Joerg Wunsch
5fae0297db
Remove the arbitrary limit for the line length in /etc/ttys, and make
...
the buffer dynamic.
Closes PR # misc/1838: getttyent() arbitrary 100...
1996-10-19 16:29:10 +00:00
Peter Wemm
ba8f828b88
Back out most of the last backout. :-) Guido removed the 1.1.1.1->1.1.1.2
...
changes from the vendor branch as well, backing the db-1.82 changes.
This file should now be the same as it was in rev 1.1.1.2.
1996-10-19 01:34:25 +00:00
Guido van Rooij
c3449f0d2b
Backout bzero patch.
...
Somehow, I also managed to get quite some other changes in this file at
the same time. All I did was checkout the file and made a single change.
If someone has an explanation how these PURIFFY defines got in...
1996-10-18 19:56:51 +00:00
Andrey A. Chernov
9fe1a5aaab
After some thinking implement alternative way:if it is impossible
...
to confirm password, don't tell that s/key required, but
ask for password in anycase. It looks like non-s/key system
from outside.
1996-10-18 16:52:33 +00:00
Andrey A. Chernov
4737abd588
Make PERMIT_CONSOLE to work not only from
...
/dev/console, but from syscons vty's too
1996-10-17 21:49:34 +00:00
Guido van Rooij
102b3fa4c8
When freeing buffers in the db routines, also zeroize them
...
This should solve the bug where a coredumping ftpd reveals
encrypted passwords.
Obtained from: OpenBSD
1996-10-17 18:27:58 +00:00
Andrey A. Chernov
6903b42cd8
Change "nope" to ":"
...
Previous variant not work well, if you have a user with name nope
1996-10-17 16:47:22 +00:00
Andrey A. Chernov
811a3c8d54
Prevent namespace pollution cause by this library by splitting to
...
API and non-API functions and giving _sk_ prefix for all non-API
functions. Old names will be available by _SKEY_INTERNAL define
it allows not change anything in keyinit & key, only -D_SKEY_INTERNAL required.
Staticise some things.
1996-10-17 15:22:46 +00:00
Andrey A. Chernov
590b04e005
If 1) regular Unix passwords not permitted and 2) skey database
...
for this user not activated, there no correct password exist,
so don't bother ask for it and return "" immediately
1996-10-17 13:43:58 +00:00
Andrey A. Chernov
96b74d637f
Make it work in localized environment, replace strftime's %b which can be
...
in national form with months names table
1996-10-17 12:45:39 +00:00
Peter Wemm
0d4453d303
Corrently null-terminate the path being passed to the opendir() calls,
...
malloc() does is not defined to return a zeroed buffer leading to
"strange" problems.
Submitted by: Karl Denninger <karl@mcs.com>, PR#1826
1996-10-17 00:40:04 +00:00
Jordan K. Hubbard
a0735deb48
Bring back ns_* routines; we need them for ifconfig and route.
1996-10-16 19:38:51 +00:00
Andrey A. Chernov
1642f84deb
Save half of space in LC_COLLATE and remove unneded code.
...
This change is not compatible with previous variant, however proper
error code returned in both cases.
Colldef changes will follows.
1996-10-15 21:53:23 +00:00
Poul-Henning Kamp
139107f0ff
A couple of minor nits.
...
Submitted by: Craig Leres <leres@ee.lbl.gov>
Submitted by: Theo Deraadt <deraadt@theos.com>
1996-10-14 08:34:02 +00:00
Jordan K. Hubbard
3643c5565c
Send PASV instead of PASSIVE.
...
Submitted-By: Archie Cobbs <archie@whistle.com>
1996-10-10 08:34:27 +00:00
Garrett Wollman
04422105e3
Use -mdoc macros properly.
...
Translate from Danglish into English.
Refer to the alogrithms as ``RSA Data Security MDX message digest'' as
required by the license.
1996-10-09 21:00:48 +00:00
Garrett Wollman
318a4f9fc3
Require that a timezone specified via the TZ envariable be a regular
...
file (and not a directory or a device which might also be readable).
Closes PR#1740.
1996-10-09 17:39:37 +00:00
Andrey A. Chernov
7c99d4740c
Add orandom(), osrandom(), etc.
1996-10-09 16:12:38 +00:00
Andrey A. Chernov
40f8b70da6
Improve seeding, the random sequence did not vary match
...
with the seed. Old variant will be available via libcompat soon.
1996-10-09 15:59:04 +00:00
John Polstra
d3281e16c2
Fix an error in the description of "h_errno". Add "const" to a few
...
declarations to make them agree with the actual prototypes in <netdb.h>.
1996-10-08 22:30:08 +00:00
Bruce Evans
2ee3f0c3fe
Yet another attempt to remove the old libraries correctly. libfoo.*
...
was misnamed foo.*.
1996-10-08 20:06:41 +00:00
Paul Traina
3943f47714
Link shared libraries with -x
1996-10-08 04:37:00 +00:00
Marc G. Fournier
d453b6a53d
Fixed prototyping of dlopen/dlsym in dlfcn.h, to match how crt0.c defines
...
it and link.h prototypes it
Error of my ways pointed out by Peter
1996-10-08 01:41:51 +00:00
Peter Wemm
2f85bf6e8e
Implement virtual-to-physical address mapping for the kvm library on
...
dead kernel debugging. The previous code was a "do nothing".
The most obvious side effect of this is that you can now do things like
this and reasonably expect them to work:
dmesg -M /var/crash/vmcore.3 -N /var/crash/kernel.3
ps -axl -M /var/crash/vmcore.3 -N /var/crash/kernel.3
A good deal of this was lifted from the gdb code to do this, as well as
from NetBSD's libkvm (which has completely different VM macros)
1996-10-07 20:17:50 +00:00
Steve Price
3d78e32756
Remove garbage initcode reference so that 'gcc -Dlint ...'
...
will compile without error.
1996-10-06 03:19:26 +00:00
Wolfram Schneider
e83201b43a
delete doubled words, e.g.: "the the" -> "the"
1996-10-05 22:27:30 +00:00
Paul Traina
beddb20c7a
Skip results that have unexpected lengths
1996-10-01 03:45:06 +00:00
Peter Wemm
4e89f352f0
Support crt0 <-> ld.so interface version 4. This should be both backwards
...
and forwards compatable with version 3. This is needed to enable storing
a run-time library path in the dynamic linking headers. The crt startup
tries version 4 first, and falls back to version 3, so an executable that
is linked on -current will work with the ld.so on 2.1.x and less.
Reviewed by: nate, jdp
Obtained from: NetBSD
1996-10-01 00:54:48 +00:00