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

Diff of /make/main.c

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

revision 1.193 by psmith, Tue Nov 30 20:58:55 2004 UTC revision 1.194 by psmith, Sun Dec 5 18:09:31 2004 UTC
# Line 266  int rebuilding_makefiles = 0; Line 266  int rebuilding_makefiles = 0;
266    
267  /* Remember the original value of the SHELL variable, from the environment.  */  /* Remember the original value of the SHELL variable, from the environment.  */
268    
269  const char *env_shell = 0;  struct variable shell_var;
270    
271    
272  /* The usage output.  We write it this way to make life easier for the  /* The usage output.  We write it this way to make life easier for the
# Line 1084  main (int argc, char **argv, char **envp Line 1084  main (int argc, char **argv, char **envp
1084            if (strncmp (envp[i], "SHELL=", 6) == 0)            if (strncmp (envp[i], "SHELL=", 6) == 0)
1085              {              {
1086                v->export = v_noexport;                v->export = v_noexport;
1087                env_shell = xstrdup (ep + 1);                shell_var.name = "SHELL";
1088                  shell_var.value = xstrdup (ep + 1);
1089              }              }
1090          }          }
1091      }      }

Legend:
Removed from v.1.193  
changed lines
  Added in v.1.194

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