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

Diff of /make/read.c

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

revision 1.137 by bosk, Sun Feb 27 22:24:31 2005 UTC revision 1.138 by psmith, Mon Feb 28 07:48:23 2005 UTC
# Line 1822  record_files (struct nameseq *filenames, Line 1822  record_files (struct nameseq *filenames,
1822    char **targets = 0, **target_percents = 0;    char **targets = 0, **target_percents = 0;
1823    struct commands *cmds;    struct commands *cmds;
1824    
1825      /* If we've already snapped deps, that means we're in an eval being
1826         resolved after the makefiles have been read in.  We can't add more rules
1827         at this time, since they won't get snapped and we'll get core dumps.
1828         See Savannah bug # 12124.  */
1829      if (snapped_deps)
1830        fatal (flocp, _("prerequisites cannot be defined in command scripts"));
1831    
1832    if (commands_idx > 0)    if (commands_idx > 0)
1833      {      {
1834        cmds = (struct commands *) xmalloc (sizeof (struct commands));        cmds = (struct commands *) xmalloc (sizeof (struct commands));
# Line 1910  record_files (struct nameseq *filenames, Line 1917  record_files (struct nameseq *filenames,
1917    
1918                if (find_percent (this->name) != 0)                if (find_percent (this->name) != 0)
1919                  {                  {
1920                    char stem[PATH_MAX];                    PATH_VAR (stem);
1921                    char *o;                    char *o;
1922                    char *buffer = variable_expand ("");                    char *buffer = variable_expand ("");
1923    

Legend:
Removed from v.1.137  
changed lines
  Added in v.1.138

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