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

Diff of /make/variable.c

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

revision 1.78 by psmith, Mon Feb 28 07:48:23 2005 UTC revision 1.79 by psmith, Fri Apr 8 12:51:20 2005 UTC
# Line 1430  print_file_variables (struct file *file) Line 1430  print_file_variables (struct file *file)
1430  void  void
1431  sync_Path_environment (void)  sync_Path_environment (void)
1432  {  {
1433    char *path = allocated_variable_expand ("$(Path)");    char *path = allocated_variable_expand ("$(PATH)");
1434    static char *environ_path = NULL;    static char *environ_path = NULL;
1435    
1436    if (!path)    if (!path)
# Line 1447  sync_Path_environment (void) Line 1447  sync_Path_environment (void)
1447     * Create something WINDOWS32 world can grok     * Create something WINDOWS32 world can grok
1448     */     */
1449    convert_Path_to_windows32 (path, ';');    convert_Path_to_windows32 (path, ';');
1450    environ_path = concat ("Path", "=", path);    environ_path = concat ("PATH", "=", path);
1451    putenv (environ_path);    putenv (environ_path);
1452    free (path);    free (path);
1453  }  }

Legend:
Removed from v.1.78  
changed lines
  Added in v.1.79

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