/[make]/make/function.c
ViewVC logotype

Diff of /make/function.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.85 by psmith, Mon Feb 28 07:48:22 2005 UTC revision 1.86 by psmith, Mon Feb 28 09:41:25 2005 UTC
# Line 771  func_wordlist (char *o, char **argv, con Line 771  func_wordlist (char *o, char **argv, con
771                   _("non-numeric second argument to `wordlist' function"));                   _("non-numeric second argument to `wordlist' function"));
772    
773    start = atoi (argv[0]);    start = atoi (argv[0]);
774      if (start < 1)
775        fatal (reading_file, "invalid first argument to `wordlist' function: '%d'",
776               message, start);
777    
778    count = atoi (argv[1]) - start + 1;    count = atoi (argv[1]) - start + 1;
779    
780    if (count > 0)    if (count > 0)

Legend:
Removed from v.1.85  
changed lines
  Added in v.1.86

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26