/* basename -- strip directory and suffix from filenames
- Copyright (C) 1990-1997, 1999-2002 Free Software Foundation, Inc.
+ Copyright (C) 1990-1997, 1999-2003 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
++argv;
}
- if (argc == 1 || argc > 3)
+ if (argc <= 1 || argc > 3)
{
- error (0, 0, (argc == 1 ? _("too few arguments")
+ error (0, 0, (argc <= 1 ? _("too few arguments")
: _("too many arguments")));
usage (EXIT_FAILURE);
}