1. 02 Oct, 2014 1 commit
  2. 21 Sep, 2014 1 commit
  3. 13 Sep, 2014 1 commit
  4. 22 Aug, 2014 1 commit
  5. 10 Aug, 2014 1 commit
    • Paul Eggert's avatar
      Don't prevent random file systems from being unmounted. · f22bc725
      Paul Eggert authored
      This fix relies on having the 'fchdir' function, and on having
      "." be searchable (or at least readable, on platforms lacking O_SEARCH),
      but that's good enough to handle the vast majority of cases and the
      remaining folks can just live with the annoyance of file systems
      that occasionally can't be unmounted.
      * configure.ac (fchdir): New function to check for.
      * lib/save-cwd.c: Copy from gnulib, except omit the part that
      allocates memory, since that can cause problems in Emacs.
      * lib/save-cwd.h: Copy from gnulib.
      
      Fixes: debbugs:18232
      f22bc725
  6. 11 Jul, 2014 1 commit
  7. 20 Jun, 2014 2 commits
  8. 14 Jun, 2014 1 commit
    • Paul Eggert's avatar
      Port part of the AIX fix to Solaris. · 50bee071
      Paul Eggert authored
      * configure.ac (_REENTRANT): Define on Solaris if HAVE_PTHREAD.
      This ports part of the recent AIX fix to Solaris.  It is needed
      for the same reason that _THREAD_SAFE is needed on AIX, e.g., to
      make sure that each thread has its own 'errno'.
      
      Fixes: debbugs:17598
      50bee071
  9. 11 Jun, 2014 1 commit
  10. 07 Jun, 2014 1 commit
    • Paul Eggert's avatar
      Port better to AIX. · a0e26ff0
      Paul Eggert authored
      * configure.ac (with_xpm_set): New shell var.
      (_THREAD_SAFE): Define on AIX if HAVE_PTHREAD.
      (with_xpm): Default to 'no' on AIX.
      (LIBXPM): Append -lXpm if -lXaw is also used, as the latter
      requires the former on AIX.
      
      Fixes: debbugs:17598
      a0e26ff0
  11. 30 May, 2014 1 commit
    • Paul Eggert's avatar
      Fix port to 32-bit AIX with xlc. · 1915d8d6
      Paul Eggert authored
      This doesn't fix Bug#17598, but it does fix a regression since Emacs
      built with xlc until recently, and perhaps it'll help us fix Bug#17598.
      * configure.ac (GC_SETJMP_WORKS): Define for AIX, too.
      Merge from gnulib, incorporating:
      2014-05-30 ftoastr: work around compiler bug in IBM xlc 12.1
      * lib/ftoastr.c: Update from gnulib.
      * src/alloc.c (gdb_make_enums_visible): Remove FLOAT_TO_STRING_BUFSIZE.
      * src/conf_post.h (FLEXIBLE_ARRAY_MEMBER) [__IBMC__]: Don't define to empty.
      * src/lisp.h (FLOAT_TO_STRING_BUFSIZE): Make it a macro, instead of an enum,
      to work around a compiler bug in IBM xlc 12.1.
      1915d8d6
  12. 22 May, 2014 1 commit
    • Paul Eggert's avatar
      Fix port to 32-bit AIX. · 4f4ec76f
      Paul Eggert authored
      * configure.ac (opsys): On Power Architecture, treat release 7 of
      AIX like releases 5 and 6.
      * src/unexaix.c (copy_text_and_data): Don't add text_scnptr to ptr
      twice.  _text already includes this offset.
      (unrelocate_symbols): Don't cast 64-bit integer to pointer.
      
      Fixes: debbugs:17540
      4f4ec76f
  13. 18 May, 2014 1 commit
  14. 17 May, 2014 1 commit
  15. 04 May, 2014 2 commits
    • Paul Eggert's avatar
      Revert recent libpng changes. · 61febcb6
      Paul Eggert authored
      They fix only bugs that aren't being reported, so it may be better
      to do them on the trunk.
      * configure.ac (PNG_CFLAGS): Remove.  All uses removed.
      (LIBPNG): Don't be consistent about -lpng16 versus -lpng.
      Ignore libpng-config's exit status.  Always append -lz -lm.
      * src/Makefile.in (PNG_CFLAGS): Remove; all uses removed.
      * src/image.c [HAVE_LIBPNG_PNG_H]: Include <libpng/png.h>, not <png.h>.
      
      Fixes: debbugs:17339
      61febcb6
    • Paul Eggert's avatar
      * configure.ac (LIBPNG): Add -lz -lm on platforms where they're needed · ec5f5b30
      Paul Eggert authored
      but libpng-config --libs omits them.  Problem reported by Glenn
      Morris.
      ec5f5b30
  16. 03 May, 2014 1 commit
  17. 02 May, 2014 1 commit
    • Paul Eggert's avatar
      Consult libpng-config more consistently. · 6f074205
      Paul Eggert authored
      * configure.ac (edit_cflags): Move this up and to the top level,
      so that PNG_CFLAGS can use it too.
      (PNG_CFLAGS): New var.
      (png_longjmp): Use PNG_CFLAGS when checking.
      (LIBPNG): Be consistent about -lpng16 etc; e.g., don't use -lpng16
      in some places and -lpng in others.  Test libpng-config's exit
      status.  If it succeeds, use its output rather than appending -lz -lm.
      * src/Makefile.in (PNG_CFLAGS): New var.
      (ALL_CFLAGS): Use it.
      * src/image.c [HAVE_PNG]: Don't worry about <libpng/png.h>, as
      CFLAGS now handles this.
      
      Fixes: debbugs:17339
      6f074205
  18. 01 May, 2014 1 commit
  19. 29 Apr, 2014 1 commit
  20. 16 Apr, 2014 1 commit
    • Eli Zaretskii's avatar
      Fix the MSDOS build. · bf6b4923
      Eli Zaretskii authored
       src/unexcoff.c [MSDOS]: Include libc/atexit.h.
       (copy_text_and_data): Zero out the atexit chain pointer before
       dumping Emacs.
       src/termhooks.h (encode_terminal_code): Update prototype.
       src/term.c (encode_terminal_code) [DOS_NT]: Make it externally
       visible for all DOS_NT ports, not just WINDOWSNT.
       (syms_of_term) [!MSDOS]: Don't define 'tty-menu-*' symbols on MSDOS.
       src/sysdep.c (emacs_sigaction_init, init_signals): Don't use SIGCHLD
       unless it is defined.
       (emacs_pipe) [MSDOS]: Redirect to 'pipe'.
       src/process.c (close_on_exec, accept4, process_socket): Move into
       the "ifdef subprocesses" part.
       (catch_child_signal): Condition by "ifdef subprocesses".
       (syms_of_process) <Qinternal_default_process_sentinel>
       <Qinternal_default_process_filter>: Condition by "ifdef subprocesses".
       src/msdos.h: Add prototypes for new functions.
       (EINPROGRESS): Define.
       (O_CLOEXEC): Define to zero.
       src/msdos.c (check_window_system): Remove unnecessary an
       incompatible duplicate function.
       (sys_opendir, readlinkat, faccessat, fstatat, unsetenv): New
       functions in support of new functionality.
       src/menu.c (single_menu_item): Add visual indication  of submenu
       also for menus on MSDOS frames.
       (Fx_popup_menu) [!MSDOS]: Do not call tty_menu_show on MSDOS.
       src/lisp.h (CHECK_PROCESS) [!subprocesses]: Do not define
       when async subprocesses aren't supported.
       src/font.h (FONT_WIDTH) [MSDOS]: MSDOS-specific definition.
       src/emacs.c (close_output_streams): Zero out errno before calling
       close_stream.
       src/dired.c [MSDOS]: Include msdos.h.
       src/conf_post.h (opendir) [MSDOS]: Redirect to sys_opendir.
       (DATA_START) [MSDOS]: Define.
       (SYSTEM_PURESIZE_EXTRA) [MSDOS]: Enlarge by 25K.
       src/callproc.c (block_child_signal, unblock_child_signal) [MSDOS]:
       Ifdef away for MSDOS.
       (record_kill_process) [MSDOS]: Ifdef away the entire body for MSDOS.
       (call_process_cleanup) [MSDOS]: Ifdef away portions not relevant
       for MSDOS.
       (call_process) [MSDOS]: Fix call sequence of dostounix_filename.
       Use temporary file template that is compatible with mkostemp.
       Move vfork-related portions under #ifndef MSDOS.
       (syms_of_callproc): Unify templates of MSDOS and WINDOWSNT.
      
       lisp/term/pc-win.el (x-list-fonts, x-get-selection-value): Provide
       doc strings, as required by snarf-documentation.
      
       msdos/sedlisp.inp:
       msdos/sedlibmk.inp:
       msdos/sedleim.inp:
       msdos/sed3v2.inp:
       msdos/sed2v2.inp:
       msdos/sed1v2.inp: Update Sed scripts for Emacs 24.4.
       msdos/inttypes.h: Add PRIdMAX.
       msdos/INSTALL: Update for Emacs 24.4.
       msdos/sedadmin.inp: New file.
      bf6b4923
  21. 13 Apr, 2014 2 commits
    • Paul Eggert's avatar
      Port to IRIX 6.5. · 13a5993b
      Paul Eggert authored
      This port requires IRIX cc, as I did not have time to get
      undump working with the old GCC on the system I had access to,
      but that's better than nothing.
      * configure.ac (gl_GCC_VERSION_IFELSE): Remove unused macro
      that wouldn't have worked anyway, with IRIX cc.
      (emacs_cv_clang, emacs_cv_sanitize_address)
      (ns_osx_have_104, ns_osx_have_105):
      Don't assume '#error' makes the compiler fail,
      as this doesn't work with IRIX cc.
      (CFLAGS, LIBS): Don't let the GnuTLS results infect later 'configure'
      checks.  This runs afoul of an IRIX configuration where GnuTLS is
      in an optional library that also contains getdelim, and causes
      a later 'configure' to incorrectly think getdelim is supported.
      * src/alloc.c (TAGGABLE_NULL): New constant,
      for porting to hosts with nontrivial DATA_SEG_BITS settings.
      (next_vector, set_next_vector): Use it.
      * src/conf_post.h (INET6) [IRIX6_5]: Define.
      (HAVE_GETADDRINFO) [IRIX6_5]: Undef.
      * src/data.c (BITS_PER_ULL): Don't assume ULLONG_MAX is defined.
      * src/lisp.h (lisp_h_XPNTR): Don't OR in bits that aren't masked out,
      for consistency with how TAGGABLE_NULL is computed.
      
      Fixes: debbugs:9684
      13a5993b
    • Eli Zaretskii's avatar
      Fix creation of emacs.exe hardlink at "make install" time on MS-Windows. · aa1f3497
      Eli Zaretskii authored
       configure.ac (LN_S_FILEONLY, LN_S): Use "/bin/ln" on MinGW, to
       ensure the MSYS ln.exe is invoked.
      aa1f3497
  22. 11 Apr, 2014 2 commits
  23. 09 Apr, 2014 1 commit
  24. 03 Apr, 2014 1 commit
    • Ken Brown's avatar
      Don't use manifest on Cygwin. (Bug#17176) · ebe8e076
      Ken Brown authored
      * nt/emacs.rc: Don't use manifest on Cygwin.
      * configure.ac (EMACS_MANIFEST, UPDATE_MANIFEST): Leave these
      variables empty on Cygwin. 
      * src/Makefile.in (EMACS_MANIFEST): Update comment.
      ebe8e076
  25. 31 Mar, 2014 2 commits
  26. 30 Mar, 2014 2 commits
  27. 26 Mar, 2014 1 commit
    • Paul Eggert's avatar
      Merge from gnulib. · cefcfbcc
      Paul Eggert authored
      This incorporates:
      2014-03-26 strftime: wrap macros in "do {...} while(0)"
      * lib/strftime.c, doc/misc/texinfo.tex: Update from gnulib.
      cefcfbcc
  28. 07 Mar, 2014 1 commit
    • Paul Eggert's avatar
      Merge from gnulib. · 0d181095
      Paul Eggert authored
      This incorporates:
      2014-03-04 stdint: fix missing SIZE_MAX on Android
      2013-03-02 sys_types: avoid autoconf warning about gl_SYS_TYPES_H
      * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
      * lib/stdint.in.h, lib/sys_types.in.h, m4/sys_types_h.m4:
      Update from gnulib.
      
      Fix oversight preventing lib/sys/types.h from being generated.
      * admin/merge-gnulib (GNULIB_TOOL_FLAGS): Don't avoid sys_types.
      0d181095
  29. 05 Mar, 2014 3 commits
  30. 03 Mar, 2014 1 commit
  31. 25 Feb, 2014 1 commit
    • Paul Eggert's avatar
      Merge from gnulib. · cc587404
      Paul Eggert authored
      2014-02-25 unistd: port readlink to Mac OS X 10.3.9
      
      Fixes: debbugs:16825
      cc587404
  32. 24 Feb, 2014 1 commit
    • Paul Eggert's avatar
      Merge from gnulib. · f1037d0b
      Paul Eggert authored
      2014-02-21 timer: fix uClibc detection of threading
      2014-02-21 maintainer-makefiles: provide AC_PROG_SED for older autoconf
      * texinfo.tex: Update from gnulib.
      f1037d0b