Commit Graph

749 Commits

Author SHA1 Message Date
Bill Paul
abc60cd9fc Amend my fix a bit. My way failed to take leap years into account. The
simplest thing is to just calculate the days using curtime - boottime / 86400.
The modification for this is less obtrusive anyway.

Suggested by: Bill Fenner <fenner@parc.xerox.com>
1995-11-21 05:43:27 +00:00
Mark Murray
ec07fbef21 Correct the man pages, USD doc and online help to refer to /var/mail
instead of {usr|var}/spool/mail
1995-11-20 20:51:42 +00:00
Andrey A. Chernov
8b761b33c1 Default file creation mask was 666 (allow othres write anything
to msgs directory), change it to 644
1995-11-19 16:55:50 +00:00
Bill Paul
f7e522bcd5 Rup uses tm_yday in its uptime printout, but ignores tm_year. This means
that if you do an rup on a machine that's been running longer than a year,
you get the wrong day count. Now we factor in 365 * (curtime.tm_year -
boottime.tm_year) to get the correct value. (I noticed this while running
rup on a SunOS machine I have that's been up 525 days. My FreeBSD
machines all said it had only been up for 160 (525-365) days. :)
1995-11-19 05:33:30 +00:00
Bruce Evans
24f7e33dfd Fixed afterinstall rule:
- apply chmod to the targets, not to the sources.
- apply chown to the targets.

It is still bogus to install by building in the target directory.  See
mklocale/data/Makefile for a better method.
1995-11-18 11:21:37 +00:00
Joerg Wunsch
e6c267f18c Dynamically allocate line buffers, instead of assuming that all the
world would fit into BUFSIZ.
1995-11-15 15:01:01 +00:00
Peter Wemm
f3117d66d3 Fix the bug that caused the AF_UNIX domain sockets to not be shown..
(it was nlist()ing a wrong symbol name).  Only problem is that I'd grown
quite partial to the inet-only version.. :-)
1995-11-15 14:56:34 +00:00
Julian Elischer
35701152cc Obtained from: pope gregory and julius caesar
27c27
< 11/29 Thanksgiving Day (Last Thursday in November)
---
> 11/23 Thanksgiving Day (4th Thursday in November)

it's not that the date was wrong for this year (it was the wrong year..
it was that the ALGORYTHM was wrong..
very confusing for non americans wondering why americans were going to be
on holiday on the 23rd..
1995-11-11 00:12:47 +00:00
Nate Williams
b534b75d22 Re-wrote the locate.updatedb script in /bin/sh for speed and portability.
Obtained from: Partially my work in 1.
1995-11-09 00:48:41 +00:00
Andrey A. Chernov
ded77c4e00 Author's cosmetic fixes 1995-11-08 09:55:12 +00:00
Andrey A. Chernov
b27f46351e Author's fixes of backspace problem, slightly different then mine was 1995-11-08 09:54:19 +00:00
Joerg Wunsch
6b024ad2a8 Well, Jochen adopted most of my submissions. So only the different
style of error reporting (i prefer gcc style to be consistent with the
compiler) is left, plus a minor nit he's most likely been overlooking.

There are still problems with bootstrapping, and you should expect
troubles when linting libc...
1995-11-06 21:54:02 +00:00
Joerg Wunsch
f2959bfd1f This commit was generated by cvs2svn to compensate for changes in r12099,
which included commits to RCS files with non-trunk default branches.
1995-11-05 15:56:42 +00:00
Joerg Wunsch
96a322df43 Jochen Pohl's lint(1) from NetBSD. Yet another import.
This is just a vendor import by now.  I'll wait until i'll get the
imported files back via CTM before applying the FreeBSD patches.
Don't use it yet.

Submitted by:	Jochen Pohl <jpo.drs@sni.de>
Obtained from:	(NetBSD -- this version is directly from Jochen)
1995-11-05 15:56:42 +00:00
Andrey A. Chernov
dbc57b8da7 Do unctrl in right way
Handle '\377' properly
1995-11-05 09:02:10 +00:00
Peter Wemm
0b5e4d48b3 Repair the detection of undefined symbols that my last "quick fix" commit
broke.  It's much easier to debug the symbol export lists in lkm makefiles
if you know what your errors are during the build process. :-)

Bleah.. symorder.c is *horrible*. :-(
1995-11-03 18:27:18 +00:00
Andrey A. Chernov
3861c86a42 Cleanup make process per Bruce suggestions 1995-11-03 14:53:53 +00:00
Andrey A. Chernov
1b31f20e14 Add $id$ and ${COPY} 1995-11-03 14:51:45 +00:00
Andrey A. Chernov
40e33105d2 Cleanup make process per Bruce suggestions 1995-11-03 14:39:11 +00:00
Adam David
56c78cb71a Fix the :S modifier to substitute in each word of the variable, according
to the description in the manpage. g flag means "replace every occurence
in each word", and its absence means "replace first occurence in each word".
Previously, absence of the g flag was implemented to mean "replace first
occurence found in all words, and then stop replacing", which was incorrect.
1995-11-01 12:18:32 +00:00
Andrey A. Chernov
74e1c9782c Fix ranlib to work with odd-length extended names.
Submitted by: Jim Leppek <jleppek@harris.com>
1995-11-01 08:06:01 +00:00
Peter Wemm
9f65f104f5 Merge in changes from ppp-2.2's chat onto the mainline... 1995-10-31 23:28:29 +00:00
Peter Wemm
698ac68e11 This commit was generated by cvs2svn to compensate for changes in r11987,
which included commits to RCS files with non-trunk default branches.
1995-10-31 23:07:20 +00:00
Peter Wemm
2253b28816 Vendor branch import of chat from ppp-2.2 package.. 1995-10-31 23:07:20 +00:00
Poul-Henning Kamp
5a4838fc5e <sys/user.h> -> <sys/time.h>
Spotted by:	bde
1995-10-30 15:44:44 +00:00
Andrey A. Chernov
b6c671c7ba Remove char->int promotion.
Fix uncontrol function for 8bit chars.
1995-10-29 10:33:26 +00:00
Poul-Henning Kamp
52a28d7027 #include <sys/user.h> 1995-10-29 09:56:53 +00:00
Andrey A. Chernov
ac7154f578 Make it works with 8bit charsets
Add setlocale LC_CTYPE
1995-10-29 00:20:05 +00:00
Andrey A. Chernov
ee15822acd Now works with 8bit chars... 1995-10-28 22:48:27 +00:00
Andrey A. Chernov
199482ead7 Fix broken charclass handling
Add setlocale LC_CTYPE
1995-10-28 22:27:03 +00:00
Paul Traina
9e5fd22b08 Close out PR#723: time -l dumps core 1995-10-28 16:05:32 +00:00
Andrey A. Chernov
31463f38ef Add strict 7bit ASCII locale 1995-10-28 13:32:30 +00:00
Peter Wemm
62c10d2dcb symorder appears to have been designed to run on executable files
only, as it payes no attention to the relocation table (which
references the symbols).

As a result, running "symorder -c" to clean up the visibility of a LKM
".o" file (as is done in the new bsd.kmod.mk) totally screws up the
relocation table, making the LKM file unloadable. (ld: bogus
relocation record)

This is a pretty crude fix - I've changed symorder so that when
running in "cleanup" mode, it disables the reordering which was
screwing up the relocation table.  I'm sure there is a better fix, but
I didn't have the energy.  Feel free to fix this hack, probably by
renumbering the symbol indexes in the relocation table.
1995-10-28 12:27:20 +00:00
Paul Traina
7700fd358f Close docs/43 manpage for keysu is missing 1995-10-28 08:07:38 +00:00
Julian Elischer
661e19c924 Submitted by: Mike Mitchell
oops.
forgot this file then went to bed..

sorry
1995-10-27 20:18:22 +00:00
Adam David
513822dddc - #if defined(TF_NEEDSYN) && defined(TF_NEEDSYN)
+ #if defined(TF_NEEDSYN) && defined(TF_NEEDFIN)
1995-10-27 12:32:07 +00:00
Julian Elischer
09fa32d305 Submitted by: john hay
patches to merge the two IPX packages to work with each other and to
not break make-world :)

IPXrouted should be working now, (or at least compiling) :)
1995-10-27 10:48:31 +00:00
Andrey A. Chernov
3fb8ee222b Add setlocale LC_TIME 1995-10-26 22:58:56 +00:00
Andrey A. Chernov
f1e4dd10de Add setlocale LC_CTYPE 1995-10-26 22:26:15 +00:00
Andrey A. Chernov
5ccbfb26fb Add setlocale LC_CTYPE 1995-10-26 22:16:45 +00:00
Julian Elischer
cc6a66f20e Reviewed by: julian and jhay@mikom.csir.co.za
Submitted by:	Mike Mitchell, supervisor@alb.asctmd.com

This is a bulk mport of Mike's IPX/SPX protocol stacks and all the
related gunf that goes with it..
it is not guaranteed to work 100% correctly at this time
but as we had several people trying to work on it
I figured it would be better to get it checked in so
they could all get teh same thing to work on..

Mikes been using it for a year or so
but on 2.0

more changes and stuff will be merged in from other developers now that this is in.

Mike Mitchell, Network Engineer
AMTECH Systems Corporation, Technology and Manufacturing
8600 Jefferson Street, Albuquerque, New Mexico 87113 (505) 856-8000
supervisor@alb.asctmd.com
1995-10-26 20:31:59 +00:00
Andrey A. Chernov
d1b2ad1a54 Change locale to LC_ALL, there is no bitmask 1995-10-26 11:03:08 +00:00
Andrey A. Chernov
8bbd907273 Add setlocale LC_CTYPE 1995-10-24 06:15:05 +00:00
Andrey A. Chernov
628b3a7935 Add setlocale LC_CTYPE 1995-10-24 06:02:24 +00:00
Andrey A. Chernov
f34b5369b7 Remove wrong LC_TIME env. usage 1995-10-24 05:56:45 +00:00
Andrey A. Chernov
6e9804553e Add setlocale LC_TIME 1995-10-24 05:37:15 +00:00
Andrey A. Chernov
eb1d32b9a3 Add setlocale LC_CTYPE 1995-10-24 05:18:36 +00:00
Andrey A. Chernov
238d3ffda9 Add setlocale LC_TIME 1995-10-24 05:09:54 +00:00
Andrey A. Chernov
dc675fc2e7 Add setlocale LC_TIME|LC_CTYPE 1995-10-24 04:18:45 +00:00
Andrey A. Chernov
f6d3b9ac8f Add setlocale LT_TIME 1995-10-24 04:09:49 +00:00