1. 04 Oct, 2012 12 commits
  2. 03 Oct, 2012 4 commits
  3. 02 Oct, 2012 21 commits
  4. 01 Oct, 2012 3 commits
    • Paul Eggert's avatar
      Fix a malloc race condition involving strsignal. · aa1ba90e
      Paul Eggert authored
      A signal can arrive in the middle of a malloc, and Emacs's signal
      handler can invoke strsignal, which can invoke malloc, which is
      not portable.  This race condition bug makes Emacs hang on GNU/Linux.
      Fix it by altering the signal handler so that it does not invoke
      strsignal.
      * emacs.c (shut_down_emacs): Use safe_strsignal, not strsignal.
      * process.c (status_message): Use const pointer, in case strsignal
      is #defined to safe_strsignal.
      * sysdep.c (sys_siglist, init_signals): Always define and
      initialize a substitute sys_siglist if the system does not define
      one, even if HAVE_STRSIGNAL.
      (safe_strsignal): Rename from strsignal.  Always define,
      using sys_siglist.  Return a const pointer.
      * syssignal.h (safe_strsignal): New decl.
      (strsignal) [!HAVE_STRSIGNAL]: Define in terms of safe_strsignal.
      aa1ba90e
    • Eli Zaretskii's avatar
      Fix high CPU usage in profiling on MS-Windows. · ace917bd
      Eli Zaretskii authored
       src/w32proc.c (timer_loop): Fix code that waits for timer
       expiration, to avoid high CPU usage.
      ace917bd
    • Stefan Monnier's avatar
      * src/fns.c (check_hash_table, get_key_arg, maybe_resize_hash_table) · 9eb71b9c
      Stefan Monnier authored
      (sweep_weak_table): Remove redundant prototypes.
      9eb71b9c