Update comment to match ipfw/ipfw.c,v 1.95.

This commit is contained in:
Ruslan Ermilov 2001-04-13 06:49:47 +00:00
parent 7bbd138e2f
commit 506c373bc0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=75459
2 changed files with 4 additions and 6 deletions

View File

@ -1273,9 +1273,8 @@ main(ac, av)
setbuf(stdout,0);
/*
* this is a nasty check on the last argument!!!
* If there happens to be a filename matching a keyword in the current
* directory, things will fail miserably.
* Only interpret the last command line argument as a file to
* be preprocessed if it is specified as an absolute pathname.
*/
if (ac > 1 && av[ac - 1][0] == '/' && access(av[ac - 1], R_OK) == 0) {

View File

@ -2378,9 +2378,8 @@ main(ac, av)
setbuf(stdout,0);
/*
* this is a nasty check on the last argument!!!
* If there happens to be a filename matching a keyword in the current
* directory, things will fail miserably.
* Only interpret the last command line argument as a file to
* be preprocessed if it is specified as an absolute pathname.
*/
if (ac > 1 && av[ac - 1][0] == '/' && access(av[ac - 1], R_OK) == 0) {