OSDN Git Service

Factor out strnstr() since posix hasn't got it, and add a config option for
authorRob Landley <rob@landley.net>
Thu, 11 Feb 2016 03:05:22 +0000 (21:05 -0600)
committerRob Landley <rob@landley.net>
Thu, 11 Feb 2016 03:05:22 +0000 (21:05 -0600)
commitf435f0412aa4ca631aa178d10ed33008e34f37cb
tree6174226167b101bda2ad4557b6e5b42987e64ad2
parent3684510034450f5f50d1ad9b5acca327a5c484dd
Factor out strnstr() since posix hasn't got it, and add a config option for
the deeply sad passwd heuristics that don't even check numbers and punctuation.
lib/lib.c
lib/lib.h
toys/lsb/passwd.c
toys/posix/grep.c