diff options
| author | Ken Brown | 2014-08-25 16:49:52 -0400 |
|---|---|---|
| committer | Ken Brown | 2014-08-25 16:49:52 -0400 |
| commit | 79404e16fb3d55a8d1b924766a781695e1bbf15a (patch) | |
| tree | 18894c1e5bf9d6c15c2c560a98b7a5254f30f063 | |
| parent | f330aa150e8647594f31bef80bd49a7383efaf32 (diff) | |
| download | emacs-79404e16fb3d55a8d1b924766a781695e1bbf15a.tar.gz emacs-79404e16fb3d55a8d1b924766a781695e1bbf15a.zip | |
* configure.ac (G_SLICE_ALWAYS_MALLOC): Remove obsolete macro.
* src/emacs.c (main): Remove use of obsolete macro
G_SLICE_ALWAYS_MALLOC.
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | configure.ac | 14 | ||||
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/emacs.c | 6 |
4 files changed, 9 insertions, 20 deletions
| @@ -1,3 +1,7 @@ | |||
| 1 | 2014-08-25 Ken Brown <kbrown@cornell.edu> | ||
| 2 | |||
| 3 | * configure.ac (G_SLICE_ALWAYS_MALLOC): Remove obsolete macro. | ||
| 4 | |||
| 1 | 2014-08-25 Christoph Scholtes <cschol2112@gmail.com> | 5 | 2014-08-25 Christoph Scholtes <cschol2112@gmail.com> |
| 2 | 6 | ||
| 3 | * INSTALL.REPO: Remove reference to obsolete configure scripts | 7 | * INSTALL.REPO: Remove reference to obsolete configure scripts |
diff --git a/configure.ac b/configure.ac index 30435d67508..4728ec51368 100644 --- a/configure.ac +++ b/configure.ac | |||
| @@ -4593,20 +4593,6 @@ if test $emacs_cv_usable_FIONREAD = yes; then | |||
| 4593 | fi | 4593 | fi |
| 4594 | fi | 4594 | fi |
| 4595 | 4595 | ||
| 4596 | |||
| 4597 | case $opsys in | ||
| 4598 | dnl Emacs supplies its own malloc, but glib calls posix_memalign, | ||
| 4599 | dnl and on Cygwin prior to version 1.7.24 that becomes the | ||
| 4600 | dnl Cygwin-supplied posix_memalign. As malloc is not the Cygwin | ||
| 4601 | dnl malloc, the Cygwin posix_memalign always returns ENOSYS. A | ||
| 4602 | dnl workaround is to set G_SLICE=always-malloc. This is no longer | ||
| 4603 | dnl needed starting with cygwin-1.7.24, and it is no longer | ||
| 4604 | dnl effective starting with glib-2.36. */ | ||
| 4605 | cygwin) | ||
| 4606 | AC_DEFINE(G_SLICE_ALWAYS_MALLOC, 1, [Define to set the | ||
| 4607 | G_SLICE environment variable to "always-malloc" at startup.]) | ||
| 4608 | ;; | ||
| 4609 | |||
| 4610 | hpux11) | 4596 | hpux11) |
| 4611 | dnl It works to open the pty's tty in the parent (Emacs), then | 4597 | dnl It works to open the pty's tty in the parent (Emacs), then |
| 4612 | dnl close and reopen it in the child. | 4598 | dnl close and reopen it in the child. |
diff --git a/src/ChangeLog b/src/ChangeLog index bb678dc4843..391d2e52100 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2014-08-25 Ken Brown <kbrown@cornell.edu> | ||
| 2 | |||
| 3 | * emacs.c (main): Remove use of obsolete macro | ||
| 4 | G_SLICE_ALWAYS_MALLOC. | ||
| 5 | |||
| 1 | 2014-08-25 Eli Zaretskii <eliz@gnu.org> | 6 | 2014-08-25 Eli Zaretskii <eliz@gnu.org> |
| 2 | 7 | ||
| 3 | Implement locale-sensitive string collation for MS-Windows. | 8 | Implement locale-sensitive string collation for MS-Windows. |
diff --git a/src/emacs.c b/src/emacs.c index a53b4cfd4ed..c381a771a68 100644 --- a/src/emacs.c +++ b/src/emacs.c | |||
| @@ -734,12 +734,6 @@ main (int argc, char **argv) | |||
| 734 | stack_base = &dummy; | 734 | stack_base = &dummy; |
| 735 | #endif | 735 | #endif |
| 736 | 736 | ||
| 737 | #ifdef G_SLICE_ALWAYS_MALLOC | ||
| 738 | /* This is used by the Cygwin build. It's not needed starting with | ||
| 739 | cygwin-1.7.24, but it doesn't do any harm. */ | ||
| 740 | xputenv ("G_SLICE=always-malloc"); | ||
| 741 | #endif | ||
| 742 | |||
| 743 | #ifndef CANNOT_DUMP | 737 | #ifndef CANNOT_DUMP |
| 744 | might_dump = !initialized; | 738 | might_dump = !initialized; |
| 745 | #endif | 739 | #endif |