Commit Graph

25 Commits

Author SHA1 Message Date
christos
13a5940614 use warn/err appropriately. 2010-01-27 18:34:02 +00:00
lukem
d4ab6626c0 fix sign-compare issue 2009-04-06 12:47:20 +00:00
dan
1fcee3db59 close fp in several error paths, closing Coverity CIDs 1690, 1692.
"go" by go.
2006-03-19 01:57:11 +00:00
xtraeme
f0121f1f1b Kill __P(), use ANSI function declarations; WARNS=3. 2005-02-09 14:21:37 +00:00
oster
42abd8f7a0 Cleanup a bit by nuking RF_Malloc macro, and add in some error
checking for the case where we can't allocate memory.  (Not like
anyone uses this part of the code anyway.)
2004-10-26 22:46:27 +00:00
oster
fa730392bc Strip off trailing \n's and spaces from configuration file lines.
Makes RAIDframe more forgiving if you accidentally add a space after
things like device names.  Fixed at long last after a reminder over
the weekend.
2004-10-26 19:52:21 +00:00
oster
2b7fd0220d How about we use the 'len' parameter to rf_get_next_nonblank_line()
instead of assuming all buffers are 256 bytes.
2004-10-26 19:23:19 +00:00
itojun
0b04aee3ea use bouded string ops 2003-07-13 07:37:02 +00:00
agc
c2a3b5ec84 Add NetBSD RCS Ids. 2003-06-23 11:53:35 +00:00
itojun
aa5672d8c5 sscanf overrun 2003-05-17 01:02:01 +00:00
oster
541d521a40 rf_configure.c
- remove dependence on stuff in sys/dev/raidframe
 - now rely on <dev/raidframe/*>
 - bring in some needed prototypes for local functions
 - nuke RF_ASSERT's.
 - drag in some needed RF_ERRORMSG's

raidctl.c
 - rely on <dev/raidframe/*>
 - welcome to the New Way of doing RAIDframe #includes.

(No functional changes.)
2001-10-04 16:02:08 +00:00
christos
e2571306fb remove redundant prototypes. 2001-02-04 21:05:42 +00:00
oster
705631a231 Move parts of a RAID type mapping table from rf_layout.c to rf_configure.c.
This means we don't need to compile or link with rf_layout.c here.
2001-01-27 19:32:47 +00:00
wiz
944d6ad333 Check return value of fgets. Approved by Greg Oster. 2000-12-31 01:58:03 +00:00
is
9979da6cbb Format string cleanups by Bill Sommerfeld. 2000-10-10 20:24:49 +00:00
thorpej
340761f659 Apply indent. 2000-05-23 01:03:05 +00:00
thorpej
a53c712bd6 Build with WARNS=2. 2000-05-23 00:46:53 +00:00
oster
67e8cf0262 No need to include rf_sys.h. 1999-08-13 03:37:42 +00:00
oster
180bbfd871 Move two functions from rf_strutils.c into rf_configure.c, removing
the need for rf_strutils.c.
1999-08-07 23:48:11 +00:00
oster
c2408285ae Nuke unused code. 1999-03-26 00:45:01 +00:00
oster
068fe3dab2 Add missing NetBSD RCS ID's! Thanks to SAITOH Masanobu (msaitoh@netbsd.org)
for pointing this out.
1999-02-04 14:50:31 +00:00
oster
543c143bd8 Take care of a few minor things due to the major RAIDframe cleanup.
Again, no functionality changes.
1999-01-26 02:40:02 +00:00
mjacob
93bf4aae36 recover from errno.h changes 1999-01-12 22:58:10 +00:00
mrg
da5f0873c9 fix compile errors on the alpha. 1998-11-23 00:18:40 +00:00
oster
f675e35d77 RAIDframe, version 1.1, from the Parallel Data Laboratory at
Carnegie Mellon University.  Full RAID implementation, including
levels 0, 1, 4, 5, 6, parity logging, and a few other goodies.
Ported to NetBSD by Greg Oster.

raidctl is our userland configuration tool for RAIDframe.
1998-11-13 04:34:02 +00:00