]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r357572: wc(1): account for possibility of file == NULL
authorKyle Evans <kevans@FreeBSD.org>
Sun, 9 Feb 2020 19:20:20 +0000 (19:20 +0000)
committerKyle Evans <kevans@FreeBSD.org>
Sun, 9 Feb 2020 19:20:20 +0000 (19:20 +0000)
commitf1c3417c1030dc274bb2f7e8062d63ff90508390
tree5d9cdb7210da0f037f0e2f96e6b7b809d5a5067c
parentb5957d8d3c65da10685e40ba9c421535b7138774
MFC r357572: wc(1): account for possibility of file == NULL

file could reasonably be NULL here if we we're using stdin. Albeit less
likely in normal usage, one could actually hit either of these warnings on
stdin.
usr.bin/wc/wc.c