emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] trunk r117739: * configure.ac (G_SLICE_ALWAYS_MALLOC): Rem


From: Ken Brown
Subject: [Emacs-diffs] trunk r117739: * configure.ac (G_SLICE_ALWAYS_MALLOC): Remove obsolete macro.
Date: Mon, 25 Aug 2014 20:49:59 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 117739
revision-id: address@hidden
parent: address@hidden
committer: Ken Brown <address@hidden>
branch nick: trunk
timestamp: Mon 2014-08-25 16:49:52 -0400
message:
  * configure.ac (G_SLICE_ALWAYS_MALLOC): Remove obsolete macro.
  
  * src/emacs.c (main): Remove use of obsolete macro
  G_SLICE_ALWAYS_MALLOC.
modified:
  ChangeLog                      changelog-20091113204419-o5vbwnq5f7feedwu-1538
  configure.ac                   
configure.in-20091113204419-o5vbwnq5f7feedwu-783
  src/ChangeLog                  changelog-20091113204419-o5vbwnq5f7feedwu-1438
  src/emacs.c                    emacs.c-20091113204419-o5vbwnq5f7feedwu-241
=== modified file 'ChangeLog'
--- a/ChangeLog 2014-08-25 02:29:58 +0000
+++ b/ChangeLog 2014-08-25 20:49:52 +0000
@@ -1,3 +1,7 @@
+2014-08-25  Ken Brown  <address@hidden>
+
+       * configure.ac (G_SLICE_ALWAYS_MALLOC): Remove obsolete macro.
+
 2014-08-25  Christoph Scholtes  <address@hidden>
 
        * INSTALL.REPO: Remove reference to obsolete configure scripts

=== modified file 'configure.ac'
--- a/configure.ac      2014-08-24 15:40:07 +0000
+++ b/configure.ac      2014-08-25 20:49:52 +0000
@@ -4593,20 +4593,6 @@
   fi
 fi
 
-
-case $opsys in
-  dnl Emacs supplies its own malloc, but glib calls posix_memalign,
-  dnl and on Cygwin prior to version 1.7.24 that becomes the
-  dnl Cygwin-supplied posix_memalign.  As malloc is not the Cygwin
-  dnl malloc, the Cygwin posix_memalign always returns ENOSYS.  A
-  dnl workaround is to set G_SLICE=always-malloc.  This is no longer
-  dnl needed starting with cygwin-1.7.24, and it is no longer
-  dnl effective starting with glib-2.36. */
-  cygwin)
-    AC_DEFINE(G_SLICE_ALWAYS_MALLOC, 1, [Define to set the
-      G_SLICE environment variable to "always-malloc" at startup.])
-    ;;
-
   hpux11)
     dnl It works to open the pty's tty in the parent (Emacs), then
     dnl close and reopen it in the child.

=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2014-08-25 15:55:46 +0000
+++ b/src/ChangeLog     2014-08-25 20:49:52 +0000
@@ -1,3 +1,8 @@
+2014-08-25  Ken Brown  <address@hidden>
+
+       * emacs.c (main): Remove use of obsolete macro
+       G_SLICE_ALWAYS_MALLOC.
+
 2014-08-25  Eli Zaretskii  <address@hidden>
 
        Implement locale-sensitive string collation for MS-Windows.

=== modified file 'src/emacs.c'
--- a/src/emacs.c       2014-07-14 19:23:18 +0000
+++ b/src/emacs.c       2014-08-25 20:49:52 +0000
@@ -734,12 +734,6 @@
   stack_base = &dummy;
 #endif
 
-#ifdef G_SLICE_ALWAYS_MALLOC
-  /* This is used by the Cygwin build.  It's not needed starting with
-     cygwin-1.7.24, but it doesn't do any harm.  */
-  xputenv ("G_SLICE=always-malloc");
-#endif
-
 #ifndef CANNOT_DUMP
   might_dump = !initialized;
 #endif


reply via email to

[Prev in Thread] Current Thread [Next in Thread]