1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-04 12:52:15 +00:00
freebsd/usr.sbin/config
Ed Schouten 0732dbfff5 Improve portability of config(8).
- Use strlen(dp->d_name) instead of the unportable dp->d_namlen. Rename
  i to len to make it slightly more descriptive and prevent negative
  indexing of the array.
- Replace index() by strchr().

This supposedly fixes compilation on GNU systems.

Submitted by:	Robert Millan <rmh debian org> (original patch)
MFC after:	3 weeks
2011-07-03 20:59:57 +00:00
..
config.5
config.8
config.h - Merge changes to the base system to support OFED. These include 2011-03-21 09:40:01 +00:00
config.y
configvers.h
kernconf.tmpl
lang.l
main.c Improve portability of config(8). 2011-07-03 20:59:57 +00:00
Makefile
mkheaders.c
mkmakefile.c - Merge changes to the base system to support OFED. These include 2011-03-21 09:40:01 +00:00
mkoptions.c