1. 14 Mar, 2011 25 commits
  2. 13 Mar, 2011 11 commits
  3. 12 Mar, 2011 4 commits
    • Eli Zaretskii's avatar
      src/ChangeLog: Fix last entry for deps.mk. · ecb0f94d
      Eli Zaretskii authored
    • Eli Zaretskii's avatar
      Make termcap.c implementations consistent with tparam.h prototypes. · 058e5dad
      Eli Zaretskii authored
       src/termcap.c [MSDOS]: Include "msdos.h.
       (find_capability, tgetnum, tgetflag, tgetstr, tputs, tgetent):
       Constify `char *' arguments and their references according to
       prototypes in tparam.h.
       src/deps.mk (termcap.o): Depend on tparam.h and msdos.h.
    • Eli Zaretskii's avatar
      Fix compilation warnings on MS-DOS due to constifying of pointers in xmenu.c. · 7ac80be9
      Eli Zaretskii authored
       src/msdos.c (XMenuAddPane): 3rd argument is `const char *' now.
       Adapt all references accordingly.
       src/msdos.h (XMenuAddPane): 3rd argument is `const char *' now.
    • Paul Eggert's avatar
      Improve quality of tests for time stamp overflow. For example, · b8d9bd41
      Paul Eggert authored
      without this patch (encode-time 0 0 0 1 1 1152921504606846976)
      returns the obviously-bogus value (-948597 62170) on my RHEL 5.5
      x86-64 host.  With it, it reports time overflow.
      * deps.mk (editfns.o): Depend on ../lib/intprops.h.
      * editfns.c: Include limits.h and intprops.h.
      (TIME_T_MIN, TIME_T_MAX): New macros.
      (time_overflow): Move earlier, to before first use.
      (hi_time, lo_time): New functions, for an accurate test for
      out-of-range times.
      (Fcurrent_time, Fget_internal_run_time, make_time): Use them.
      (Fget_internal_run_time): Don't assume time_t fits in int.
      (make_time): Use list2 instead of Fcons twice.
      (Fdecode_time): More accurate test for out-of-range times.
      (check_tm_member): New function.
      (Fencode_time): Use it, to test for out-of-range times.