diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2012-02-27 18:43:24 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-02-27 18:43:24 -0800 |
commit | fdfa5c06028d3473f57cea497a6682a8e550352f (patch) | |
tree | f822ccc211dd331c2b0d99949d0e4288fded0eef /builtin.cpp | |
parent | 50ee5d28cdc5b521f2d2feda264ec798e8f3ab8e (diff) |
Some initial work towards resolving nasty fork/pthread issues, and to having a per-parser job list
Diffstat (limited to 'builtin.cpp')
-rw-r--r-- | builtin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin.cpp b/builtin.cpp index f9eee831..bdbf270f 100644 --- a/builtin.cpp +++ b/builtin.cpp @@ -1133,7 +1133,7 @@ static void functions_def( const wcstring &name, wcstring &out ) case EVENT_JOB_ID: { - job_t *j = job_get( next->param1.job_id ); + const job_t *j = job_get( next->param1.job_id ); if( j ) append_format( out, L" --on-job-exit %d", j->pgid ); break; |