aboutsummaryrefslogtreecommitdiff
path: root/job.c
AgeCommit message (Collapse)AuthorFilesLines
1995-01-15(start_job_command): Save and restore environ around vfork call.Roland McGrath1-58/+48
(search_path): Function #if 0'd out. (exec_command): Use execvp instead of search_path.
1995-01-15(construct_command_argv_internal): Handle " quoting too, when noRoland McGrath1-14/+21
backslash, $ or ` characters appear inside the quotes.
1994-11-29(start_waiting_job): Use set_command_state.Roland McGrath1-1/+1
1994-11-01(start_job_command): When ARGV is nil, only set update_state and callRoland McGrath1-2/+6
notice_finished_file if job_next_command returns zero.
1994-11-01(start_job_command): Call notice_finished_file for empty command line.Roland McGrath1-0/+1
1994-10-24(start_job_command): In FLAGS initialization, OR inRoland McGrath1-1/+6
CHILD->file->command_flags.
1994-09-29(reap_children): Call delete_child_targets for non-signal error ifRoland McGrath1-1/+7
.DELETE_ON_ERROR is a target.
1994-09-26(reap_children): Don't change C->file->command_state when dying.Roland McGrath1-24/+29
Test it only after calling start_job_command for a new command line. When no more cmds, just set C->file->update_status. (start_job_command): When the last line is empty or under -n, set C->file->update_status. (start_waiting_job): Grok cs_not_started after start_job_command as success. (new_job): Set C->file->update_status when there are no cmds. (job_next_command): When out of lines, don't set CHILD->file->update_status or CHILD->file->command_state.
1994-09-07(start_job_command): Whenever we set CHILD->file->update_status, callRoland McGrath1-4/+6
notice_finished_file instead of just set_command_state.
1994-09-07Changed all assignments of command_state members to calls toRoland McGrath1-4/+4
set_command_state.
1994-07-25(PATH_SEPARATOR_CHAR): Macro removed (now in make.h).Roland McGrath1-3/+0
1994-07-25[__MSDOS__]: Include <process.h>.Roland McGrath1-2/+99
(PATH_SEPARATOR_CHAR): New macro; differing defns for [__MSDOS__] and not. [__MSDOS__] (dos_pid, dos_status, dos_bname, dos_bename, dos_batch_file): New variables. (reap_children) [__MSDOS__]: Don't call wait; just examine those vars. (unblock_sigs) [__MSDOS__]: Do nothing. (start_job_command) [__MSDOS__]: Use spawnvpe instead of vfork and exec. (load_too_high) [__MSDOS__]: Always return true. (search_path) [__MSDOS__]: Check for : or / in FILE to punt. Use PATH_SEPARATOR_CHAR instead of ':'. (construct_command_argv_internal) [__MSDOS__]: Wholly different values for sh_chars and sh_cmds. Wholly new code to handle shell scripts. Part of MSDOS/GO32 port from DJ Delorie <dj@ctron.com>.
1994-07-04(search_path): Use safe_stat in place of stat.Roland McGrath1-1/+1
1994-06-24(construct_command_argv_internal): After swallowing a backslash-newlineRoland McGrath1-1/+2
combination, if INSTRING is set goto string_char (new label) for normal INSTRING handling code.
1994-05-10(construct_command_argv_internal): Swallow backslash-newline combinationsRoland McGrath1-7/+17
inside '' strings too.
1994-04-25(construct_command_argv_internal): Notice newline inside '' string whenRoland McGrath1-0/+6
RESTP is non-null.
1994-04-21(reap_children): Die with 2 for error.Roland McGrath1-6/+12
(start_job_command): Set update_status to 2 for error. Set it to 1 when we would run a command and question_flag is set.
1993-10-14entered into RCSRoland McGrath1-0/+4
1993-09-28Formerly job.c.~110~Roland McGrath1-1/+1
1993-09-20Formerly job.c.~109~Roland McGrath1-3/+24
1993-09-17Formerly job.c.~108~Roland McGrath1-0/+2
1993-08-11Formerly job.c.~107~Roland McGrath1-1/+1
1993-08-11Formerly job.c.~106~Roland McGrath1-5/+12
1993-08-09Formerly job.c.~105~Roland McGrath1-9/+42
1993-06-25Formerly job.c.~104~Roland McGrath1-2/+12
1993-05-12Formerly job.c.~103~Roland McGrath1-3/+3
1993-05-06Formerly job.c.~102~Roland McGrath1-9/+23
1993-04-29Formerly job.c.~101~Roland McGrath1-1/+8
1993-04-14Formerly job.c.~100~Roland McGrath1-4/+0
1993-04-08Formerly job.c.~99~Roland McGrath1-2/+2
1993-04-07Formerly job.c.~98~Roland McGrath1-12/+23
1993-04-06Formerly job.c.~97~Roland McGrath1-0/+4
1993-02-05Formerly job.c.~96~Roland McGrath1-9/+7
1993-02-04Formerly job.c.~95~Roland McGrath1-2/+97
1993-02-01Formerly job.c.~94~Roland McGrath1-8/+1
1993-01-31Formerly job.c.~93~Roland McGrath1-8/+9
1993-01-22Formerly job.c.~92~Roland McGrath1-14/+18
1993-01-21Formerly job.c.~91~Roland McGrath1-0/+5
1993-01-19Formerly job.c.~90~Roland McGrath1-1/+2
1993-01-08Formerly job.c.~89~Roland McGrath1-3/+9
1993-01-07Formerly job.c.~88~Roland McGrath1-1/+1
1993-01-05Formerly job.c.~87~Roland McGrath1-4/+2
1992-11-23Formerly job.c.~86~Roland McGrath1-165/+0
1992-11-12Formerly job.c.~85~Roland McGrath1-0/+5
1992-11-09Formerly job.c.~84~Roland McGrath1-0/+3
1992-10-12Formerly job.c.~83~Roland McGrath1-0/+2
1992-09-09Formerly job.c.~82~Roland McGrath1-3/+1
1992-08-20Formerly job.c.~81~Roland McGrath1-2/+11
1992-07-26Formerly job.c.~80~Roland McGrath1-0/+1
1992-07-07Formerly job.c.~79~Roland McGrath1-1/+1