ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/expandarg.c
(Generate patch)

Comparing ray/src/common/expandarg.c (file contents):
Revision 2.1 by greg, Sat Oct 17 08:41:37 1992 UTC vs.
Revision 2.2 by greg, Sun Nov 8 16:23:17 1992 UTC

# Line 26 | Line 26 | int    n;
26          char    *ave[MAXARGEXP];
27          char    **newav;
28                                          /* check argument */
29 +        if (n >= *acp)
30 +                return(0);
31          errno = 0;      
32          if ((*avp)[n][0] == filexpchr) {                /* file name */
33                  ace = wordfile(ave, (*avp)[n]+1);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines