-
-
usr/src/lib/libbe/common/be_utils.c (Diff revision 2) Why not simply MAXNAMELEN * 2? MAX_INPUT looks like something totally unrelated.
-
-
-
usr/src/lib/libbe/common/be_utils.c (Diff revision 2) here and below - these error messages are really unhelpful
-
-
-
-
-
usr/src/lib/libbe/common/be_utils.c (Diff revision 2) Could use buf = strsep(&buf, " "); here instead, I think.
-
-
-
usr/src/lib/libbe/common/be_utils.c (Diff revision 4) I would add a comment saying this is done intentionally, add an explicit
return;
to make that even more clear, and change the name to something that makes clear it does nothing as well (so people who see the use withbf_init
know what's happening) -
usr/src/lib/libbe/common/be_utils.c (Diff revision 4) cstyle says these all need to be explict
!= NULL
checks