mrg
630723670f
memcpy->strncpy, and avoid copying beyond the static string length
...
into potentially unmapped regions.
2019-10-05 23:30:22 +00:00
joerg
ca1a6f97cd
Finish ANSIfication. Drop extra spaces from __P removal. Add more
...
static. Add more const. Use __dead for usage().
2013-07-02 11:59:46 +00:00
nakayama
61db04d3c6
Use explicitly defined macros in Makefile to determine to use
...
eeprom and/or openprom handlers, instead of predefined compiler
macros (__sun__, __sparc__ ...).
2013-03-15 20:22:44 +00:00
christos
6c8acf010b
PR/47528: Izumi Tsutsui: eeprom(8) dumps core after 64 bit time_t changes
2013-02-03 15:30:04 +00:00
nakayama
4ff5774174
WARNS=4 fixes.
2009-04-30 07:45:28 +00:00
martin
ce099b4099
Remove clause 3 and 4 from TNF licenses
2008-04-28 20:22:51 +00:00
hubertf
889da1779b
* Don't include headers twice
...
* Remove a few trailing whitespaces
* Rearrange and join to one #if for some headers
Patch contributed by Slava Semushin <slava.semushin@gmail.com>
in private mail.
2007-01-16 17:32:04 +00:00
christos
ab56b9a702
getdate -> parsedate
2006-11-20 20:33:33 +00:00
christos
c8226bf504
getdate is in libutil.
2006-11-17 22:11:28 +00:00
dsl
9d34a2e458
More fallout from removing the (int) casts from ctype.h
...
Should fix PR/28082
2004-11-08 08:05:20 +00:00
mrg
6ce96c999f
several clean ups:
...
- don't include eeprom support on sparc64.
- work out if we are eeprom or openprom from the results of open()
and/or ioctl(), rather than grovelling the kernel.
- move all eeprom specific code to eehandlers.c
- update manpage for sparc64 usage, remove delete -N switch
with these changes, eeprom(8) no longer needs to be setgid.
2000-11-28 22:31:37 +00:00
mrg
7996c8de3a
de-__P-ify.
2000-11-19 11:15:01 +00:00
itojun
bbef2fbaac
errx?/warnx? audit. do not pass variable alone, use %s. idea from openbsd
2000-07-07 15:10:32 +00:00
lukem
c9fcc32882
deprecate register, use memset/memmove instead of bzero/bcopy
1997-10-18 08:40:40 +00:00
jtc
87f4ccd45f
Fix files using old TNF copyright notice
1997-07-30 22:53:50 +00:00
thorpej
2434f06806
- __RCSID/__COPYRIGHT/prototype police.
...
- Fix compiler warnings.
1997-07-23 20:58:36 +00:00
mrg
a9437d1189
be safe with buffers.
1997-04-13 13:36:46 +00:00
thorpej
c479d69ad9
Copyright assigned to The NetBSD Foundation.
1996-02-28 01:13:20 +00:00
thorpej
da9b1f7603
Program to display for modify contents of the EEPROM or OpenProm on
...
Sun 3 and SPARC systems, similar to the SunOS command of the same name.
1995-07-13 18:07:19 +00:00