diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2012-03-19 11:52:18 -0700 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-03-19 11:52:18 -0700 |
commit | 1a87f44325327aff426118da1d9fdf8ac01f67a9 (patch) | |
tree | 309b3e63d6baef111ebab8493b793ac54e7b2720 /common.cpp | |
parent | c8bc535f22d04f12b34e9722839764dcc9198871 (diff) |
Re-implement $history variable
Added -L option to set to mean "don't abbreviate"
Diffstat (limited to 'common.cpp')
-rw-r--r-- | common.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1969,7 +1969,6 @@ void set_main_thread() { main_thread_id = pthread_self(); } - /* Notice when we've forked */ static pid_t initial_pid; @@ -1987,7 +1986,7 @@ void setup_fork_guards(void) { initial_pid = getpid(); } -static bool is_main_thread() { +bool is_main_thread() { assert (main_thread_id != 0); return main_thread_id == pthread_self(); } |