1. 17 Sep, 2011 3 commits
  2. 16 Sep, 2011 3 commits
  3. 15 Sep, 2011 6 commits
  4. 14 Sep, 2011 3 commits
  5. 13 Sep, 2011 1 commit
  6. 12 Sep, 2011 2 commits
  7. 11 Sep, 2011 5 commits
  8. 10 Sep, 2011 4 commits
  9. 09 Sep, 2011 2 commits
  10. 08 Sep, 2011 2 commits
  11. 07 Sep, 2011 2 commits
  12. 06 Sep, 2011 1 commit
    • Paul Eggert's avatar
      isnan: Fix porting problem to Solaris 10 with bundled gcc. · c8199d0f
      Paul Eggert authored
      Without this fix, the command to link temacs failed due to an
      undefined symbol __builtin_isnan.  This is because
      /usr/include/iso/math_c99.h #defines isnan(x) to
      __builtin_isnan(x), but the bundled gcc, which identifies itself
      as gcc 3.4.3 (csl-sol210-3_4-branch+sol_rpath), does not have
      a __builtin_isnan.
      * configure.in (isnan): Remove now-unnecessary check.
      * src/floatfns.c (isnan): #undef, and then #define to a clone of
      what's in data.c.
      (Fisnan): Always define, since it's always available now.
      (syms_of_floatfns): Always define isnan at the Lisp level.
  13. 05 Sep, 2011 1 commit
  14. 04 Sep, 2011 5 commits
    • Paul Eggert's avatar
      * xdisp.c: Integer overflow fix. · 806add1d
      Paul Eggert authored
      (try_window_id): Check Emacs fixnum range before converting to 'int'.
    • Paul Eggert's avatar
      * window.c: Integer overflow fixes. · 71f02bc5
      Paul Eggert authored
      (window_scroll_line_based, Frecenter):
      Check that an Emacs fixnum is in range before assigning it to 'int'.
      (Frecenter, Fmove_to_window_line): Use EMACS_INT, not int, for
      values converted from Emacs fixnums.
      (Frecenter): Don't wrap around a line count if it is out of 'int'
      range; instead, treat it as an extreme value.
      (Fset_window_configuration, compare_window_configurations):
      Use ptrdiff_t, not int, for index that might exceed 2 GiB.
    • Paul Eggert's avatar
      * search.c: Integer overflow fixes · a0efffc8
      Paul Eggert authored
      (Freplace_match): Use ptrdiff_t, not int, for indexes that can
      exceed INT_MAX.  Check that EMACS_INT value is in range before
      assigning it to the (possibly-narrower) index.
      (match_limit): Don't assume that a fixnum can fit in 'int'.
    • Paul Eggert's avatar
      * print.c: Integer overflow fix. · 29ebea3b
      Paul Eggert authored
      (print_object): Use ptrdiff_t, not int, for index that can
      exceed INT_MAX.
    • Paul Eggert's avatar
      * indent.c: Integer overflow fixes. · 3f8236f4
      Paul Eggert authored
      (position_indentation): Now takes ptrdiff_t, not int.
      (Fvertical_motion): Don't wrap around LINES values that don't fit
      in 'int'.  Instead, treat them as extreme values.  This is good
      enough for windows, which can't have more than INT_MAX lines anyway.