Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

GNU Emacs 23.0.92 pretest (DJGPP) (Developers)

posted by Rugxulo Homepage, Usono, 04.04.2009, 20:38

> 2). newer "alpha" 23.0.92 (in testing, need to build it yourself) -> 43 MB
> download
>
> 2a). ftp://alpha.gnu.org/gnu/emacs/pretest/emacs-23.0.92.tar.gz
>
> Note that a lot of that size is .c and .el sources, .elc byte compiled,
> .tex and .eps, Info docs, eLisp tutorial + reference, as well as
> Changelogs etc. etc.

Here's what's GNU: :-P

>>> P.S. It still claims an error when I try building with SYSTEM_MALLOC:
>>>
>>> msdos.o w16select.o xmenu.o termcap.o tparam.o lastfile.o
>>> getloadavg.o
>>> -lg -lm
>>> dosfns.o:dosfns.c:(.text+0x663): undefined reference to
>>> `_ret_lim_data'
>>> collect2: ld returned 1 exit status
>>> make.exe[1]: *** [temacs.exe] Error 1
>>> make.exe[1]: Leaving directory `c:/Armslurp/emacs-23.0.92/src'
>>> make.exe: *** [src] Error 2
>>>
>>> Now this time you have to admit that it isn't my imagination. :-)
>
>> I will look into it. Please submit a bug report with
>>
>> M-x report-emacs-bug RET
>
> I've just fixed this in the Emacs CVS with the following change:
>
> 2009-04-04 Eli Zaretskii <eliz@nobody.nospam>
>
> * dosfns.c (system_process_attributes) [SYSTEM_MALLOC]:
> Don't call ret_lim_data. (Bug#2867)
>
> Index: src/dosfns.c
> ===================================================================
> RCS file: /cvsroot/emacs/emacs/src/dosfns.c,v
> retrieving revision 1.53
> retrieving revision 1.54

diff -u -r1.53 -r1.54
--- src/dosfns.c        3 Jan 2009 15:02:30 -0000       1.53
+++ src/dosfns.c        4 Apr 2009 09:42:12 -0000       1.54
@@ -571,7 +571,9 @@
       int i;
       Lisp_Object cmd_str, decoded_cmd, tem;
       double pmem;
+#ifndef SYSTEM_MALLOC
       extern unsigned long ret_lim_data ();
+#endif

       uid = getuid ();
       attrs = Fcons (Fcons (Qeuid, make_fixnum_or_float (uid)), attrs);
@@ -604,8 +606,12 @@
                            make_fixnum_or_float ((unsigned long)sbrk(0)/1024)),
                     attrs);
       attrs = Fcons (Fcons (Qetime, tem), attrs);
+#ifndef SYSTEM_MALLOC
+      /* ret_lim_data is on vm-limit.c, which is not compiled in under
+        SYSTEM_MALLOC.  */
       pmem = (double)((unsigned long) sbrk (0)) / ret_lim_data () * 100.0;
       if (pmem > 100)
+#endif
        pmem = 100;
       attrs = Fcons (Fcons (Qpmem, make_float (pmem)), attrs);
       /* Pass 1: Count how much storage we need.  */

 

Complete thread:

Back to the forum
Board view  Mix view
22049 Postings in 2034 Threads, 396 registered users, 212 users online (0 registered, 212 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum