jb
7300b9a59c
Bruce says that %p is intended to format void pointers only. So use a void *
...
cast. There are pointers and then there are _pointers_. One day I'll
figure out which are which. 8-)
1998-08-18 02:10:05 +00:00
jb
ed2af19ea4
Add #include string.h to get prototypes.
1998-08-18 01:47:44 +00:00
jb
35cbb372af
Add #include string.h to get prototypes.
...
Cast a pointer to u_long instead of u_int32_t to avoid a warning. This
is cosmetic because the code is just looking for the remainder.
1998-08-18 01:46:58 +00:00
brian
31ebefe816
Destroy any existing chat timeouts in datalink_ComeDown()
...
If we're told to close/down while in DIAL or LOGIN state,
we don't want to keep our timeout running :-/
1998-08-18 00:53:48 +00:00
jb
c7a862e7a3
Add default OBJFORMAT so that the build process can test for this
...
without having to run objformat to determine it.
1998-08-18 00:50:36 +00:00
bde
09bd4b9603
Fixed printf format errors.
1998-08-18 00:32:50 +00:00
bde
744645c034
Fixed style bugs in previous commit.
...
Added some comments on #endifs.
1998-08-17 21:13:57 +00:00
bde
7268de7a17
Made this actually work when there's an object directory:
...
- replaced bogus dependencies of distribution sources on generated
sources by the same ones that bsd.lib.mk would generate if it knew
all the sources. We shoot ourself in the foot by not naming the
generated (included) sources *.h, so we can just put the generated
sources in SRCS.
- replaced -I${.CURDIR} by `-I.'. Here `.' is an alias for ${.OBJDIR}.
-I${.CURDIR} didn't do anything, since ${.CURDIR} is the default in
all cases here (it would be necessary for ""-style includes made from
sources in ${.OBJDIR}.
Don't use `+=' for setting CLEANFILES for the first time.
Added $Id$.
1998-08-17 20:39:09 +00:00
bde
66a3cf565d
Converted rcsid to $Id$ again. There shouldn't be any rcsids in the kernel.
1998-08-17 19:26:37 +00:00
bde
4e2d834c27
Removed unused includes.
1998-08-17 19:09:36 +00:00
bde
4b4c2fa24a
Fixed printf format errors (none detected in GENERIC again).
1998-08-17 19:06:47 +00:00
wosch
0ab7b3047c
Removing -batch option from adduser. Adduser was written as
...
an *interactive* command for newbies. The pw(8) does now a much better
job for adding users from command line. Also, the -batch option is
not well tested, buggy and unsupported.
1998-08-17 18:50:29 +00:00
bde
89e8939de7
Fixed a type mismatch.
...
Fixed a missing extern declaration (bug for bug compatibly including
style bugs. Should probably be static).
1998-08-17 18:47:36 +00:00
bde
7fa6031415
Removed unused includes. Fixed disordering of includes.
1998-08-17 18:12:52 +00:00
bde
a8d8e4f36a
Backed out previous commit. The seconds part of microtime() is
...
not the necessarily the same as the seconds part of getmicrotime()
yet, and anyway, we should have used `time_second' if we only wanted
a sloppy value for the seconds part. There is no point in making
ibcs2's time(2) more efficient than FreeBSD's time(3).
1998-08-17 17:53:12 +00:00
bde
faebf197e2
Fixed nonsense overflow checking (checking that a long variable is less
...
than INT_MAX after it has possibly overflowed).
Removed an unused variable and its associated 2 style bugs.
Removed unused includes.
1998-08-17 17:28:10 +00:00
bde
5b84dcbd90
Oops, the previous commit was of a local version.
1998-08-17 16:58:02 +00:00
bde
d42d660cf9
FIxed typo (syntax error) in previous commit.
1998-08-17 16:46:33 +00:00
bde
68b8a37e61
Fixed order and formatting.
1998-08-17 16:39:07 +00:00
bde
ddd7feae5c
Added zh_TW.BIG5 locale. Material for 5 big pointy hats found nearby.
1998-08-17 16:17:08 +00:00
jb
bdd99ad743
Make this internal build tool static to avoid trying to use shared
...
libraries before the shared loader has been installed.
1998-08-17 11:56:22 +00:00
jb
efa82e7822
Remove the PATH setting.
1998-08-17 11:43:25 +00:00
des
c08f5296c3
Cross my fingers and enable libfetch.
1998-08-17 09:32:07 +00:00
des
b315880890
Commit a bunch of patches that have been accumulating:
...
- Fix the README to reflect the new status of the ftp code.
- Change tons of 'if (xxx < 0)' to 'if (xxx == -1)'
- Add two new interface functions
- Fix the Makefile so it actually works (yay!)
Now the manpage is lagging even further behind... :( Next on the todo
list is to clean up the http code.
1998-08-17 09:30:19 +00:00
dfr
277f8e55a3
Don't use unaligned accesses when printing extended sense codes.
1998-08-17 09:24:31 +00:00
dfr
c4be7fbe0d
Add macros for accessing device memory.
1998-08-17 08:57:05 +00:00
dfr
2cfb34146c
Update to use the new elf headers.
1998-08-17 08:47:19 +00:00
dfr
571e764758
Add Miata system type and pull in the LOCATE_PCS macro from NetBSD.
1998-08-17 08:26:12 +00:00
dfr
9892f6ef43
Add breakpoint() for BREAK_TO_DEBUGGER.
1998-08-17 08:21:31 +00:00
kato
752b7f7829
Sync with sys/i386/isa/lpt.c revision 1.70.
1998-08-17 08:21:09 +00:00
dfr
988c605cbc
Update to work with the new elf headers.
1998-08-17 08:06:31 +00:00
dfr
e6912eb9df
Update to use elf_generic.h.
1998-08-17 08:05:55 +00:00
dfr
c6e0f3c5a9
Disable some unnecessary debugging code.
1998-08-17 08:04:42 +00:00
dfr
72c760c68b
Teach disklabel how to install a bootstrap on an alpha with SRM console.
1998-08-17 07:43:54 +00:00
gpalmer
8f925ed929
lorder is needed on the alpha too
1998-08-17 07:37:55 +00:00
brian
ab64c29a02
Don't lose an allocated pointer if realloc() fails.
...
Free it instead.
Pointed out by: Theo de Raadt
1998-08-17 06:42:40 +00:00
jb
49f35df526
Remove a cast and print the pointer value with %p instead of %x.
1998-08-17 06:16:59 +00:00
jb
e68854cf15
Ad #include stdlib.h to get the prototype for malloc().
1998-08-17 06:05:55 +00:00
gpalmer
f4add9d96c
We need config to build on the alpha also ... kinda difficult to build
...
kernels without it :)
1998-08-17 05:48:22 +00:00
jdp
0d5b915ae3
Add "-C" to INSTALLFLAGS to install atomically. An elf->elf
...
installworld dies at this point otherwise, leaving the system
without a dynamic linker.
1998-08-17 04:59:15 +00:00
jb
542d7ab6fb
Remove support for NetBSD syscalls.
1998-08-17 03:46:10 +00:00
jb
87c7d8300d
Remove the comment about how to get NetBSD syscalls since there are
...
now programs built on alpha that _must_ use FreeBSD syscalls to work.
1998-08-17 03:35:09 +00:00
jkoshy
14da528054
Remove hardcoded constant in favour of login.conf value.
...
PR: 6529
Submitted by: Dan Lukes <dan@obluda.cz>
1998-08-17 03:25:07 +00:00
bde
08a3400100
Fixed printf format errors.
1998-08-17 01:05:25 +00:00
bde
e36ab6ee5e
Fixed printf format errors. sppp_dotted_quad() was yet another private,
...
broken, version of inet_ntoa(). It should go away.
1998-08-17 00:29:34 +00:00
bde
962153c89f
FIxed printf format errors. Most of them were exposed by our ntohl()
...
returning long. There would be many more if int_32_t were not int.
1998-08-17 00:08:07 +00:00
bde
62f78df80f
Fixed printf format and spelling errors. Didn't fix related
...
description of DPT_SHUTDOWN_SLEEP in LINT. Didn't add timestamps
so that the (combined?) sleep interval can be printed as intended
in the original printf.
1998-08-16 23:37:54 +00:00
jb
2a0559f121
Alpha is now native and bootstrapping from NetBSD is no longer supported.
1998-08-16 23:35:49 +00:00
wpaul
7d27aa48db
Ack! I edited the MLINKS entry but forgot to add xl.4 to the MAN$=
...
line. *hangs head in shame*
1998-08-16 19:54:20 +00:00
wpaul
ec2970db84
Whoops... really add the man page and update the Makefile this
...
time.
1998-08-16 17:19:58 +00:00