From wagner at elegosoft.com Mon Mar 5 14:29:45 2007 From: wagner at elegosoft.com (Olaf Wagner) Date: Mon, 5 Mar 2007 14:29:45 +0100 (CET) Subject: [M3devel] [Fwd: cm3-installation/2575: Compilation of cm3-stdlib fails because the layout of linux-headers has changed] Message-ID: <57531.194.138.127.36.1173101385.squirrel@mail.elegosoft.com> I remember there was some discussion about this on the list some weeks ago. What's the status? Has it already been fixed? Olaf ------------------------------ Original Message ------------------------------ Subject: cm3-installation/2575: Compilation of cm3-stdlib fails because the layout of linux-headers has changed From: mjrosenb at andrew.cmu.edu Date: Mon, March 5, 2007 2:43 am To: bugs at elego.de ------------------------------------------------------------------------------ >Number: 2575 >Category: cm3-installation >Synopsis: Compilation of cm3-stdlib fails because the layout of linux-headers has changed >Confidential: no >Severity: serious >Priority: medium >Responsible: wagner >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: customer >Arrival-Date: Mon Mar 05 11:37:00 CET 2007 >Closed-Date: >Last-Modified: >Originator: Marty Rosenberg >Release: CM3-5.4.0 >Organization: >Environment: /usr/lib/cm3/bin /home/mjrosenb /home/mjrosenb Critical Mass Modula-3 version 5.4.0 last updated: 2006-10-11 configuration: /usr/lib/cm3/bin/cm3.cfg Linux StarGate 2.6.18-gentoo-r6 #3 Thu Feb 15 16:11:19 EST 2007 i686 AMD Athlon(tm) XP 3000+ AuthenticAMD GNU/Linux USER=root LOGNAME=root SSH_CLIENT=192.168.0.7 35276 22 SSH_CONNECTION=192.168.0.7 35276 192.168.0.2 22 SSH_TTY=/dev/pts/9 TERM=rxvt SHLVL=2 PWD=/home/mjrosenb OLDPWD=/root ADA_INCLUDE_PATH=/usr/lib/gnat-gcc/i686-pc-linux-gnu/4.1/adainclude ADA_OBJECTS_PATH=/usr/lib/gnat-gcc/i686-pc-linux-gnu/4.1/adalib CLASSPATH=. CONFIG_PROTECT=/usr/share/X11/xkb /usr/kde/3.5/share/config /usr/kde/3.5/env /usr/kde/3.5/shutdown /usr/share/config CONFIG_PROTECT_MASK=/etc/java-config/vms/ /etc/env.d/java/ /etc/terminfo /etc/texmf/web2c /etc/revdep-rebuild CVS_RSH=ssh DCCC_PATH=/usr/lib/distcc/bin DISTCC_LOG= DISTCC_VERBOSE=0 GCC_SPECS= GDK_USE_XFT=1 G_BROKEN_FILENAMES=1 G_FILENAME_ENCODING=UTF-8 INFOPATH=/usr/share/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.17/info:/usr/share/gcc-data/alpha-unknown-linux-gnu/4.1.1/info:/usr/share/gcc-data/i686-pc-linux-gnu/3.4.6/info:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.1/info:/usr/share/gcc-data/i686-pc-linux-gnu/4.1.2/info:/usr/share/gnat-gcc-data/i686-pc-linux-gnu/4.1/info:/usr/share/info/emacs-21 KDEDIRS=/usr/kde/3.5:/usr:/usr/local LESS=-R -M --shift 5 LESSOPEN=|lesspipe.sh %s MANPATH=/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/i686-pc-linux-gnu/2.17/man:/usr/share/gcc-data/alpha-unknown-linux-gnu/4.1.1/man:/usr/share/gcc-data/i686-pc-linux-gnu/3.4.6/man:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.1/man:/usr/share/gcc-data/i686-pc-linux-gnu/4.1.2/man:/etc/java-config/system-vm/man/:/usr/qt/3/doc/man:/usr/share/gnat-gcc-data/i686-pc-linux-gnu/4.1/man OPENGL_PROFILE=xorg-x11 PAGER=/usr/bin/less PKG_CONFIG_PATH=/usr/qt/3/lib/pkgconfig PYTHONDOCS=/usr/share/doc/python-docs-2.4.4/html PYTHONPATH=/usr/lib/portage/pym QMAKESPEC=linux-g++ QTDIR=/usr/qt/3 SCSH_LIB_DIRS=\"/usr/share/scsh-/modules\" \"/usr/lib/scsh\" \".\" SMLNJ_HOME=/usr/lib/smlnj SmartEiffel=/usr/lib/SmartEiffel/sys/system.se SmartEiffelDirectory=/usr/lib/SmartEiffel EDITOR=/usr/bin/emacs LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.! doc=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36: MPD_HOST=192.168.0.3 _=/bin/env PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/local/sbin HOME=/root SHELL=/bin/zsh >Description: asm/ipc.h has moved. This may only be in gentoo-linux. >How-To-Repeat: cd fubar/scripts ./do-cm3-std.sh >Fix: in /m3-libs/m3gc-simple/src/runtime/LINUXLIBC6/sysdeps.c change #include to #include >Release-Note: >Audit-Trail: >Unformatted: -- Olaf Wagner -- elego Software Solutions GmbH, Ohmstr. 9, 10179 Berlin, Germany phone: +49 30 23 45 86 96 mobile: +49 177 2345 869 fax: +49 30 23 45 86 95 http://www.elegosoft.com | Gesch?ftsf?hrer: Olaf Wagner | Sitz: Berlin Handelregister: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194 From dabenavidesd at yahoo.es Mon Mar 5 15:40:59 2007 From: dabenavidesd at yahoo.es (Daniel Alejandro Benavides D.) Date: Mon, 5 Mar 2007 15:40:59 +0100 (CET) Subject: [M3devel] [Fwd: cm3-installation/2575: Compilation of cm3-stdlib fails because the layout of linux-headers has changed] Message-ID: <20070305144059.30445.qmail@web27110.mail.ukl.yahoo.com> Hi: yes It has been solved, there is not need of such file on Linux, the change can be retreived via cvs. Reported on: https://mail.elegosoft.com/pipermail/m3commit/2007-February/000132.html --- Olaf Wagner wrote: > I remember there was some discussion about this on > the list some weeks > ago. What's the status? Has it already been fixed? > > Olaf > ------------------------------ Original Message > ------------------------------ > Subject: cm3-installation/2575: Compilation of > cm3-stdlib fails because the > layout of linux-headers has changed > From: mjrosenb at andrew.cmu.edu > Date: Mon, March 5, 2007 2:43 am > To: bugs at elego.de > ------------------------------------------------------------------------------ > > > >Number: 2575 > >Category: cm3-installation > >Synopsis: Compilation of cm3-stdlib fails > because the layout of > linux-headers has changed > >Confidential: no > >Severity: serious > >Priority: medium > >Responsible: wagner > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: sw-bug > >Submitter-Id: customer > >Arrival-Date: Mon Mar 05 11:37:00 CET 2007 > >Closed-Date: > >Last-Modified: > >Originator: Marty Rosenberg > >Release: CM3-5.4.0 > >Organization: > >Environment: > /usr/lib/cm3/bin /home/mjrosenb > /home/mjrosenb > Critical Mass Modula-3 version 5.4.0 > last updated: 2006-10-11 > configuration: /usr/lib/cm3/bin/cm3.cfg > > Linux StarGate 2.6.18-gentoo-r6 #3 Thu Feb 15 > 16:11:19 EST 2007 i686 AMD > Athlon(tm) XP 3000+ AuthenticAMD GNU/Linux > > USER=root > LOGNAME=root > SSH_CLIENT=192.168.0.7 35276 22 > SSH_CONNECTION=192.168.0.7 35276 192.168.0.2 22 > SSH_TTY=/dev/pts/9 > TERM=rxvt > SHLVL=2 > PWD=/home/mjrosenb > OLDPWD=/root > ADA_INCLUDE_PATH=/usr/lib/gnat-gcc/i686-pc-linux-gnu/4.1/adainclude > ADA_OBJECTS_PATH=/usr/lib/gnat-gcc/i686-pc-linux-gnu/4.1/adalib > CLASSPATH=. > CONFIG_PROTECT=/usr/share/X11/xkb > /usr/kde/3.5/share/config /usr/kde/3.5/env > /usr/kde/3.5/shutdown /usr/share/config > CONFIG_PROTECT_MASK=/etc/java-config/vms/ > /etc/env.d/java/ /etc/terminfo > /etc/texmf/web2c /etc/revdep-rebuild > CVS_RSH=ssh > DCCC_PATH=/usr/lib/distcc/bin > DISTCC_LOG= > DISTCC_VERBOSE=0 > GCC_SPECS= > GDK_USE_XFT=1 > G_BROKEN_FILENAMES=1 > G_FILENAME_ENCODING=UTF-8 > INFOPATH=/usr/share/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.17/info:/usr/share/gcc-data/alpha-unknown-linux-gnu/4.1.1/info:/usr/share/gcc-data/i686-pc-linux-gnu/3.4.6/info:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.1/info:/usr/share/gcc-data/i686-pc-linux-gnu/4.1.2/info:/usr/share/gnat-gcc-data/i686-pc-linux-gnu/4.1/info:/usr/share/info/emacs-21 > KDEDIRS=/usr/kde/3.5:/usr:/usr/local > LESS=-R -M --shift 5 > LESSOPEN=|lesspipe.sh %s > MANPATH=/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/i686-pc-linux-gnu/2.17/man:/usr/share/gcc-data/alpha-unknown-linux-gnu/4.1.1/man:/usr/share/gcc-data/i686-pc-linux-gnu/3.4.6/man:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.1/man:/usr/share/gcc-data/i686-pc-linux-gnu/4.1.2/man:/etc/java-config/system-vm/man/:/usr/qt/3/doc/man:/usr/share/gnat-gcc-data/i686-pc-linux-gnu/4.1/man > OPENGL_PROFILE=xorg-x11 > PAGER=/usr/bin/less > PKG_CONFIG_PATH=/usr/qt/3/lib/pkgconfig > PYTHONDOCS=/usr/share/doc/python-docs-2.4.4/html > PYTHONPATH=/usr/lib/portage/pym > QMAKESPEC=linux-g++ > QTDIR=/usr/qt/3 > SCSH_LIB_DIRS=\"/usr/share/scsh-/modules\" > \"/usr/lib/scsh\" \".\" > SMLNJ_HOME=/usr/lib/smlnj > SmartEiffel=/usr/lib/SmartEiffel/sys/system.se > SmartEiffelDirectory=/usr/lib/SmartEiffel > EDITOR=/usr/bin/emacs > LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:* .! > doc=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36: > MPD_HOST=192.168.0.3 > _=/bin/env > PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/local/sbin > HOME=/root > SHELL=/bin/zsh > > > >Description: > asm/ipc.h has moved. This may only be in > gentoo-linux. > >How-To-Repeat: > cd fubar/scripts > ./do-cm3-std.sh > >Fix: > in > /m3-libs/m3gc-simple/src/runtime/LINUXLIBC6/sysdeps.c > change > #include > to > #include > > >Release-Note: > >Audit-Trail: > >Unformatted: > > > -- > Olaf Wagner -- elego Software Solutions GmbH, > Ohmstr. 9, 10179 Berlin, Germany > phone: +49 30 23 45 86 96 mobile: +49 177 2345 869 > fax: +49 30 23 45 86 95 > http://www.elegosoft.com | Gesch?ftsf?hrer: Olaf > Wagner | Sitz: Berlin > Handelregister: Amtsgericht Charlottenburg HRB 77719 > | USt-IdNr: DE163214194 > _______________________________________________ > M3devel mailing list > M3devel at elegosoft.com > --------------------------------- LLama Gratis a cualquier PC del Mundo. Llamadas a fijos y m?viles desde 1 c?ntimo por minuto. http://es.voice.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From dmuysers at hotmail.com Fri Mar 9 17:57:24 2007 From: dmuysers at hotmail.com (dirk muysers) Date: Fri, 09 Mar 2007 16:57:24 +0000 Subject: [M3devel] m3core: TextCat.m3: MultiCat Message-ID: .... result := NEW (T, a := x[i], b := result); .... What about the initialisation of a_len, b_len, and a_or_b_wide ?? Shouldn't it rather be: .... result := Concat (x [i], result) .... This is almost certainly a bug. _________________________________________________________________ Don't just search. Find. Check out the new MSN Search! http://search.msn.com/ From rodney.bates at wichita.edu Fri Mar 9 23:11:18 2007 From: rodney.bates at wichita.edu (Rodney M. Bates) Date: Fri, 09 Mar 2007 16:11:18 -0600 Subject: [M3devel] m3core: TextCat.m3: MultiCat In-Reply-To: References: Message-ID: <45F1DB86.6040800@wichita.edu> It looks wrong to me too. But once messing with it, how about treeing the concatenations, something like: ; PROCEDURE MultiCat ( READONLY x : ARRAY OF TEXT ) : TEXT = VAR Num := NUMBER ( x ) ; VAR Half : CARDINAL ; BEGIN (* MultiCat *) IF Num <= 0 THEN RETURN "" ELSIF Num = 1 THEN RETURN x [ 0 ] ELSE Half := Num DIV 2 ; RETURN Concat ( MultiCat ( SUBARRAY ( x , 0 , Half ) ) , MultiCat ( SUBARRAY ( x , Half , Num - Half ) ) ) END (* IF *) END MultiCat It would reduce heap space overhead, allocation time, Multicat execution time, and maybe collection time (if that has a nonzero constant factor) from linear to logarithmic. On the downside, stack space would increase from constant to logarithmic, which might hurt in case stack was very tight and heap was not. dirk muysers wrote: > .... > result := NEW (T, a := x[i], b := result); > .... > What about the initialisation of a_len, b_len, and a_or_b_wide ?? > Shouldn't it rather be: > .... > result := Concat (x [i], result) > .... > This is almost certainly a bug. > > _________________________________________________________________ > Don't just search. Find. Check out the new MSN Search! > http://search.msn.com/ > > _______________________________________________ > M3devel mailing list > M3devel at elegosoft.com > https://mail.elegosoft.com/cgi-bin/mailman/listinfo/m3devel > -- ------------------------------------------------------------- Rodney M. Bates, retired assistant professor Dept. of Computer Science, Wichita State University Wichita, KS 67260-0083 316-978-3922 rodney.bates at wichita.edu From wagner at elegosoft.com Mon Mar 5 14:29:45 2007 From: wagner at elegosoft.com (Olaf Wagner) Date: Mon, 5 Mar 2007 14:29:45 +0100 (CET) Subject: [M3devel] [Fwd: cm3-installation/2575: Compilation of cm3-stdlib fails because the layout of linux-headers has changed] Message-ID: <57531.194.138.127.36.1173101385.squirrel@mail.elegosoft.com> I remember there was some discussion about this on the list some weeks ago. What's the status? Has it already been fixed? Olaf ------------------------------ Original Message ------------------------------ Subject: cm3-installation/2575: Compilation of cm3-stdlib fails because the layout of linux-headers has changed From: mjrosenb at andrew.cmu.edu Date: Mon, March 5, 2007 2:43 am To: bugs at elego.de ------------------------------------------------------------------------------ >Number: 2575 >Category: cm3-installation >Synopsis: Compilation of cm3-stdlib fails because the layout of linux-headers has changed >Confidential: no >Severity: serious >Priority: medium >Responsible: wagner >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: customer >Arrival-Date: Mon Mar 05 11:37:00 CET 2007 >Closed-Date: >Last-Modified: >Originator: Marty Rosenberg >Release: CM3-5.4.0 >Organization: >Environment: /usr/lib/cm3/bin /home/mjrosenb /home/mjrosenb Critical Mass Modula-3 version 5.4.0 last updated: 2006-10-11 configuration: /usr/lib/cm3/bin/cm3.cfg Linux StarGate 2.6.18-gentoo-r6 #3 Thu Feb 15 16:11:19 EST 2007 i686 AMD Athlon(tm) XP 3000+ AuthenticAMD GNU/Linux USER=root LOGNAME=root SSH_CLIENT=192.168.0.7 35276 22 SSH_CONNECTION=192.168.0.7 35276 192.168.0.2 22 SSH_TTY=/dev/pts/9 TERM=rxvt SHLVL=2 PWD=/home/mjrosenb OLDPWD=/root ADA_INCLUDE_PATH=/usr/lib/gnat-gcc/i686-pc-linux-gnu/4.1/adainclude ADA_OBJECTS_PATH=/usr/lib/gnat-gcc/i686-pc-linux-gnu/4.1/adalib CLASSPATH=. CONFIG_PROTECT=/usr/share/X11/xkb /usr/kde/3.5/share/config /usr/kde/3.5/env /usr/kde/3.5/shutdown /usr/share/config CONFIG_PROTECT_MASK=/etc/java-config/vms/ /etc/env.d/java/ /etc/terminfo /etc/texmf/web2c /etc/revdep-rebuild CVS_RSH=ssh DCCC_PATH=/usr/lib/distcc/bin DISTCC_LOG= DISTCC_VERBOSE=0 GCC_SPECS= GDK_USE_XFT=1 G_BROKEN_FILENAMES=1 G_FILENAME_ENCODING=UTF-8 INFOPATH=/usr/share/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.17/info:/usr/share/gcc-data/alpha-unknown-linux-gnu/4.1.1/info:/usr/share/gcc-data/i686-pc-linux-gnu/3.4.6/info:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.1/info:/usr/share/gcc-data/i686-pc-linux-gnu/4.1.2/info:/usr/share/gnat-gcc-data/i686-pc-linux-gnu/4.1/info:/usr/share/info/emacs-21 KDEDIRS=/usr/kde/3.5:/usr:/usr/local LESS=-R -M --shift 5 LESSOPEN=|lesspipe.sh %s MANPATH=/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/i686-pc-linux-gnu/2.17/man:/usr/share/gcc-data/alpha-unknown-linux-gnu/4.1.1/man:/usr/share/gcc-data/i686-pc-linux-gnu/3.4.6/man:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.1/man:/usr/share/gcc-data/i686-pc-linux-gnu/4.1.2/man:/etc/java-config/system-vm/man/:/usr/qt/3/doc/man:/usr/share/gnat-gcc-data/i686-pc-linux-gnu/4.1/man OPENGL_PROFILE=xorg-x11 PAGER=/usr/bin/less PKG_CONFIG_PATH=/usr/qt/3/lib/pkgconfig PYTHONDOCS=/usr/share/doc/python-docs-2.4.4/html PYTHONPATH=/usr/lib/portage/pym QMAKESPEC=linux-g++ QTDIR=/usr/qt/3 SCSH_LIB_DIRS=\"/usr/share/scsh-/modules\" \"/usr/lib/scsh\" \".\" SMLNJ_HOME=/usr/lib/smlnj SmartEiffel=/usr/lib/SmartEiffel/sys/system.se SmartEiffelDirectory=/usr/lib/SmartEiffel EDITOR=/usr/bin/emacs LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.! doc=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36: MPD_HOST=192.168.0.3 _=/bin/env PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/local/sbin HOME=/root SHELL=/bin/zsh >Description: asm/ipc.h has moved. This may only be in gentoo-linux. >How-To-Repeat: cd fubar/scripts ./do-cm3-std.sh >Fix: in /m3-libs/m3gc-simple/src/runtime/LINUXLIBC6/sysdeps.c change #include to #include >Release-Note: >Audit-Trail: >Unformatted: -- Olaf Wagner -- elego Software Solutions GmbH, Ohmstr. 9, 10179 Berlin, Germany phone: +49 30 23 45 86 96 mobile: +49 177 2345 869 fax: +49 30 23 45 86 95 http://www.elegosoft.com | Gesch?ftsf?hrer: Olaf Wagner | Sitz: Berlin Handelregister: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194 From dabenavidesd at yahoo.es Mon Mar 5 15:40:59 2007 From: dabenavidesd at yahoo.es (Daniel Alejandro Benavides D.) Date: Mon, 5 Mar 2007 15:40:59 +0100 (CET) Subject: [M3devel] [Fwd: cm3-installation/2575: Compilation of cm3-stdlib fails because the layout of linux-headers has changed] Message-ID: <20070305144059.30445.qmail@web27110.mail.ukl.yahoo.com> Hi: yes It has been solved, there is not need of such file on Linux, the change can be retreived via cvs. Reported on: https://mail.elegosoft.com/pipermail/m3commit/2007-February/000132.html --- Olaf Wagner wrote: > I remember there was some discussion about this on > the list some weeks > ago. What's the status? Has it already been fixed? > > Olaf > ------------------------------ Original Message > ------------------------------ > Subject: cm3-installation/2575: Compilation of > cm3-stdlib fails because the > layout of linux-headers has changed > From: mjrosenb at andrew.cmu.edu > Date: Mon, March 5, 2007 2:43 am > To: bugs at elego.de > ------------------------------------------------------------------------------ > > > >Number: 2575 > >Category: cm3-installation > >Synopsis: Compilation of cm3-stdlib fails > because the layout of > linux-headers has changed > >Confidential: no > >Severity: serious > >Priority: medium > >Responsible: wagner > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: sw-bug > >Submitter-Id: customer > >Arrival-Date: Mon Mar 05 11:37:00 CET 2007 > >Closed-Date: > >Last-Modified: > >Originator: Marty Rosenberg > >Release: CM3-5.4.0 > >Organization: > >Environment: > /usr/lib/cm3/bin /home/mjrosenb > /home/mjrosenb > Critical Mass Modula-3 version 5.4.0 > last updated: 2006-10-11 > configuration: /usr/lib/cm3/bin/cm3.cfg > > Linux StarGate 2.6.18-gentoo-r6 #3 Thu Feb 15 > 16:11:19 EST 2007 i686 AMD > Athlon(tm) XP 3000+ AuthenticAMD GNU/Linux > > USER=root > LOGNAME=root > SSH_CLIENT=192.168.0.7 35276 22 > SSH_CONNECTION=192.168.0.7 35276 192.168.0.2 22 > SSH_TTY=/dev/pts/9 > TERM=rxvt > SHLVL=2 > PWD=/home/mjrosenb > OLDPWD=/root > ADA_INCLUDE_PATH=/usr/lib/gnat-gcc/i686-pc-linux-gnu/4.1/adainclude > ADA_OBJECTS_PATH=/usr/lib/gnat-gcc/i686-pc-linux-gnu/4.1/adalib > CLASSPATH=. > CONFIG_PROTECT=/usr/share/X11/xkb > /usr/kde/3.5/share/config /usr/kde/3.5/env > /usr/kde/3.5/shutdown /usr/share/config > CONFIG_PROTECT_MASK=/etc/java-config/vms/ > /etc/env.d/java/ /etc/terminfo > /etc/texmf/web2c /etc/revdep-rebuild > CVS_RSH=ssh > DCCC_PATH=/usr/lib/distcc/bin > DISTCC_LOG= > DISTCC_VERBOSE=0 > GCC_SPECS= > GDK_USE_XFT=1 > G_BROKEN_FILENAMES=1 > G_FILENAME_ENCODING=UTF-8 > INFOPATH=/usr/share/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.17/info:/usr/share/gcc-data/alpha-unknown-linux-gnu/4.1.1/info:/usr/share/gcc-data/i686-pc-linux-gnu/3.4.6/info:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.1/info:/usr/share/gcc-data/i686-pc-linux-gnu/4.1.2/info:/usr/share/gnat-gcc-data/i686-pc-linux-gnu/4.1/info:/usr/share/info/emacs-21 > KDEDIRS=/usr/kde/3.5:/usr:/usr/local > LESS=-R -M --shift 5 > LESSOPEN=|lesspipe.sh %s > MANPATH=/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/i686-pc-linux-gnu/2.17/man:/usr/share/gcc-data/alpha-unknown-linux-gnu/4.1.1/man:/usr/share/gcc-data/i686-pc-linux-gnu/3.4.6/man:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.1/man:/usr/share/gcc-data/i686-pc-linux-gnu/4.1.2/man:/etc/java-config/system-vm/man/:/usr/qt/3/doc/man:/usr/share/gnat-gcc-data/i686-pc-linux-gnu/4.1/man > OPENGL_PROFILE=xorg-x11 > PAGER=/usr/bin/less > PKG_CONFIG_PATH=/usr/qt/3/lib/pkgconfig > PYTHONDOCS=/usr/share/doc/python-docs-2.4.4/html > PYTHONPATH=/usr/lib/portage/pym > QMAKESPEC=linux-g++ > QTDIR=/usr/qt/3 > SCSH_LIB_DIRS=\"/usr/share/scsh-/modules\" > \"/usr/lib/scsh\" \".\" > SMLNJ_HOME=/usr/lib/smlnj > SmartEiffel=/usr/lib/SmartEiffel/sys/system.se > SmartEiffelDirectory=/usr/lib/SmartEiffel > EDITOR=/usr/bin/emacs > LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:* .! > doc=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36: > MPD_HOST=192.168.0.3 > _=/bin/env > PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/local/sbin > HOME=/root > SHELL=/bin/zsh > > > >Description: > asm/ipc.h has moved. This may only be in > gentoo-linux. > >How-To-Repeat: > cd fubar/scripts > ./do-cm3-std.sh > >Fix: > in > /m3-libs/m3gc-simple/src/runtime/LINUXLIBC6/sysdeps.c > change > #include > to > #include > > >Release-Note: > >Audit-Trail: > >Unformatted: > > > -- > Olaf Wagner -- elego Software Solutions GmbH, > Ohmstr. 9, 10179 Berlin, Germany > phone: +49 30 23 45 86 96 mobile: +49 177 2345 869 > fax: +49 30 23 45 86 95 > http://www.elegosoft.com | Gesch?ftsf?hrer: Olaf > Wagner | Sitz: Berlin > Handelregister: Amtsgericht Charlottenburg HRB 77719 > | USt-IdNr: DE163214194 > _______________________________________________ > M3devel mailing list > M3devel at elegosoft.com > --------------------------------- LLama Gratis a cualquier PC del Mundo. Llamadas a fijos y m?viles desde 1 c?ntimo por minuto. http://es.voice.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From dmuysers at hotmail.com Fri Mar 9 17:57:24 2007 From: dmuysers at hotmail.com (dirk muysers) Date: Fri, 09 Mar 2007 16:57:24 +0000 Subject: [M3devel] m3core: TextCat.m3: MultiCat Message-ID: .... result := NEW (T, a := x[i], b := result); .... What about the initialisation of a_len, b_len, and a_or_b_wide ?? Shouldn't it rather be: .... result := Concat (x [i], result) .... This is almost certainly a bug. _________________________________________________________________ Don't just search. Find. Check out the new MSN Search! http://search.msn.com/ From rodney.bates at wichita.edu Fri Mar 9 23:11:18 2007 From: rodney.bates at wichita.edu (Rodney M. Bates) Date: Fri, 09 Mar 2007 16:11:18 -0600 Subject: [M3devel] m3core: TextCat.m3: MultiCat In-Reply-To: References: Message-ID: <45F1DB86.6040800@wichita.edu> It looks wrong to me too. But once messing with it, how about treeing the concatenations, something like: ; PROCEDURE MultiCat ( READONLY x : ARRAY OF TEXT ) : TEXT = VAR Num := NUMBER ( x ) ; VAR Half : CARDINAL ; BEGIN (* MultiCat *) IF Num <= 0 THEN RETURN "" ELSIF Num = 1 THEN RETURN x [ 0 ] ELSE Half := Num DIV 2 ; RETURN Concat ( MultiCat ( SUBARRAY ( x , 0 , Half ) ) , MultiCat ( SUBARRAY ( x , Half , Num - Half ) ) ) END (* IF *) END MultiCat It would reduce heap space overhead, allocation time, Multicat execution time, and maybe collection time (if that has a nonzero constant factor) from linear to logarithmic. On the downside, stack space would increase from constant to logarithmic, which might hurt in case stack was very tight and heap was not. dirk muysers wrote: > .... > result := NEW (T, a := x[i], b := result); > .... > What about the initialisation of a_len, b_len, and a_or_b_wide ?? > Shouldn't it rather be: > .... > result := Concat (x [i], result) > .... > This is almost certainly a bug. > > _________________________________________________________________ > Don't just search. Find. Check out the new MSN Search! > http://search.msn.com/ > > _______________________________________________ > M3devel mailing list > M3devel at elegosoft.com > https://mail.elegosoft.com/cgi-bin/mailman/listinfo/m3devel > -- ------------------------------------------------------------- Rodney M. Bates, retired assistant professor Dept. of Computer Science, Wichita State University Wichita, KS 67260-0083 316-978-3922 rodney.bates at wichita.edu From wagner at elegosoft.com Mon Mar 5 14:29:45 2007 From: wagner at elegosoft.com (Olaf Wagner) Date: Mon, 5 Mar 2007 14:29:45 +0100 (CET) Subject: [M3devel] [Fwd: cm3-installation/2575: Compilation of cm3-stdlib fails because the layout of linux-headers has changed] Message-ID: <57531.194.138.127.36.1173101385.squirrel@mail.elegosoft.com> I remember there was some discussion about this on the list some weeks ago. What's the status? Has it already been fixed? Olaf ------------------------------ Original Message ------------------------------ Subject: cm3-installation/2575: Compilation of cm3-stdlib fails because the layout of linux-headers has changed From: mjrosenb at andrew.cmu.edu Date: Mon, March 5, 2007 2:43 am To: bugs at elego.de ------------------------------------------------------------------------------ >Number: 2575 >Category: cm3-installation >Synopsis: Compilation of cm3-stdlib fails because the layout of linux-headers has changed >Confidential: no >Severity: serious >Priority: medium >Responsible: wagner >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: customer >Arrival-Date: Mon Mar 05 11:37:00 CET 2007 >Closed-Date: >Last-Modified: >Originator: Marty Rosenberg >Release: CM3-5.4.0 >Organization: >Environment: /usr/lib/cm3/bin /home/mjrosenb /home/mjrosenb Critical Mass Modula-3 version 5.4.0 last updated: 2006-10-11 configuration: /usr/lib/cm3/bin/cm3.cfg Linux StarGate 2.6.18-gentoo-r6 #3 Thu Feb 15 16:11:19 EST 2007 i686 AMD Athlon(tm) XP 3000+ AuthenticAMD GNU/Linux USER=root LOGNAME=root SSH_CLIENT=192.168.0.7 35276 22 SSH_CONNECTION=192.168.0.7 35276 192.168.0.2 22 SSH_TTY=/dev/pts/9 TERM=rxvt SHLVL=2 PWD=/home/mjrosenb OLDPWD=/root ADA_INCLUDE_PATH=/usr/lib/gnat-gcc/i686-pc-linux-gnu/4.1/adainclude ADA_OBJECTS_PATH=/usr/lib/gnat-gcc/i686-pc-linux-gnu/4.1/adalib CLASSPATH=. CONFIG_PROTECT=/usr/share/X11/xkb /usr/kde/3.5/share/config /usr/kde/3.5/env /usr/kde/3.5/shutdown /usr/share/config CONFIG_PROTECT_MASK=/etc/java-config/vms/ /etc/env.d/java/ /etc/terminfo /etc/texmf/web2c /etc/revdep-rebuild CVS_RSH=ssh DCCC_PATH=/usr/lib/distcc/bin DISTCC_LOG= DISTCC_VERBOSE=0 GCC_SPECS= GDK_USE_XFT=1 G_BROKEN_FILENAMES=1 G_FILENAME_ENCODING=UTF-8 INFOPATH=/usr/share/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.17/info:/usr/share/gcc-data/alpha-unknown-linux-gnu/4.1.1/info:/usr/share/gcc-data/i686-pc-linux-gnu/3.4.6/info:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.1/info:/usr/share/gcc-data/i686-pc-linux-gnu/4.1.2/info:/usr/share/gnat-gcc-data/i686-pc-linux-gnu/4.1/info:/usr/share/info/emacs-21 KDEDIRS=/usr/kde/3.5:/usr:/usr/local LESS=-R -M --shift 5 LESSOPEN=|lesspipe.sh %s MANPATH=/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/i686-pc-linux-gnu/2.17/man:/usr/share/gcc-data/alpha-unknown-linux-gnu/4.1.1/man:/usr/share/gcc-data/i686-pc-linux-gnu/3.4.6/man:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.1/man:/usr/share/gcc-data/i686-pc-linux-gnu/4.1.2/man:/etc/java-config/system-vm/man/:/usr/qt/3/doc/man:/usr/share/gnat-gcc-data/i686-pc-linux-gnu/4.1/man OPENGL_PROFILE=xorg-x11 PAGER=/usr/bin/less PKG_CONFIG_PATH=/usr/qt/3/lib/pkgconfig PYTHONDOCS=/usr/share/doc/python-docs-2.4.4/html PYTHONPATH=/usr/lib/portage/pym QMAKESPEC=linux-g++ QTDIR=/usr/qt/3 SCSH_LIB_DIRS=\"/usr/share/scsh-/modules\" \"/usr/lib/scsh\" \".\" SMLNJ_HOME=/usr/lib/smlnj SmartEiffel=/usr/lib/SmartEiffel/sys/system.se SmartEiffelDirectory=/usr/lib/SmartEiffel EDITOR=/usr/bin/emacs LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.! doc=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36: MPD_HOST=192.168.0.3 _=/bin/env PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/local/sbin HOME=/root SHELL=/bin/zsh >Description: asm/ipc.h has moved. This may only be in gentoo-linux. >How-To-Repeat: cd fubar/scripts ./do-cm3-std.sh >Fix: in /m3-libs/m3gc-simple/src/runtime/LINUXLIBC6/sysdeps.c change #include to #include >Release-Note: >Audit-Trail: >Unformatted: -- Olaf Wagner -- elego Software Solutions GmbH, Ohmstr. 9, 10179 Berlin, Germany phone: +49 30 23 45 86 96 mobile: +49 177 2345 869 fax: +49 30 23 45 86 95 http://www.elegosoft.com | Gesch?ftsf?hrer: Olaf Wagner | Sitz: Berlin Handelregister: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194 From dabenavidesd at yahoo.es Mon Mar 5 15:40:59 2007 From: dabenavidesd at yahoo.es (Daniel Alejandro Benavides D.) Date: Mon, 5 Mar 2007 15:40:59 +0100 (CET) Subject: [M3devel] [Fwd: cm3-installation/2575: Compilation of cm3-stdlib fails because the layout of linux-headers has changed] Message-ID: <20070305144059.30445.qmail@web27110.mail.ukl.yahoo.com> Hi: yes It has been solved, there is not need of such file on Linux, the change can be retreived via cvs. Reported on: https://mail.elegosoft.com/pipermail/m3commit/2007-February/000132.html --- Olaf Wagner wrote: > I remember there was some discussion about this on > the list some weeks > ago. What's the status? Has it already been fixed? > > Olaf > ------------------------------ Original Message > ------------------------------ > Subject: cm3-installation/2575: Compilation of > cm3-stdlib fails because the > layout of linux-headers has changed > From: mjrosenb at andrew.cmu.edu > Date: Mon, March 5, 2007 2:43 am > To: bugs at elego.de > ------------------------------------------------------------------------------ > > > >Number: 2575 > >Category: cm3-installation > >Synopsis: Compilation of cm3-stdlib fails > because the layout of > linux-headers has changed > >Confidential: no > >Severity: serious > >Priority: medium > >Responsible: wagner > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: sw-bug > >Submitter-Id: customer > >Arrival-Date: Mon Mar 05 11:37:00 CET 2007 > >Closed-Date: > >Last-Modified: > >Originator: Marty Rosenberg > >Release: CM3-5.4.0 > >Organization: > >Environment: > /usr/lib/cm3/bin /home/mjrosenb > /home/mjrosenb > Critical Mass Modula-3 version 5.4.0 > last updated: 2006-10-11 > configuration: /usr/lib/cm3/bin/cm3.cfg > > Linux StarGate 2.6.18-gentoo-r6 #3 Thu Feb 15 > 16:11:19 EST 2007 i686 AMD > Athlon(tm) XP 3000+ AuthenticAMD GNU/Linux > > USER=root > LOGNAME=root > SSH_CLIENT=192.168.0.7 35276 22 > SSH_CONNECTION=192.168.0.7 35276 192.168.0.2 22 > SSH_TTY=/dev/pts/9 > TERM=rxvt > SHLVL=2 > PWD=/home/mjrosenb > OLDPWD=/root > ADA_INCLUDE_PATH=/usr/lib/gnat-gcc/i686-pc-linux-gnu/4.1/adainclude > ADA_OBJECTS_PATH=/usr/lib/gnat-gcc/i686-pc-linux-gnu/4.1/adalib > CLASSPATH=. > CONFIG_PROTECT=/usr/share/X11/xkb > /usr/kde/3.5/share/config /usr/kde/3.5/env > /usr/kde/3.5/shutdown /usr/share/config > CONFIG_PROTECT_MASK=/etc/java-config/vms/ > /etc/env.d/java/ /etc/terminfo > /etc/texmf/web2c /etc/revdep-rebuild > CVS_RSH=ssh > DCCC_PATH=/usr/lib/distcc/bin > DISTCC_LOG= > DISTCC_VERBOSE=0 > GCC_SPECS= > GDK_USE_XFT=1 > G_BROKEN_FILENAMES=1 > G_FILENAME_ENCODING=UTF-8 > INFOPATH=/usr/share/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.17/info:/usr/share/gcc-data/alpha-unknown-linux-gnu/4.1.1/info:/usr/share/gcc-data/i686-pc-linux-gnu/3.4.6/info:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.1/info:/usr/share/gcc-data/i686-pc-linux-gnu/4.1.2/info:/usr/share/gnat-gcc-data/i686-pc-linux-gnu/4.1/info:/usr/share/info/emacs-21 > KDEDIRS=/usr/kde/3.5:/usr:/usr/local > LESS=-R -M --shift 5 > LESSOPEN=|lesspipe.sh %s > MANPATH=/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/i686-pc-linux-gnu/2.17/man:/usr/share/gcc-data/alpha-unknown-linux-gnu/4.1.1/man:/usr/share/gcc-data/i686-pc-linux-gnu/3.4.6/man:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.1/man:/usr/share/gcc-data/i686-pc-linux-gnu/4.1.2/man:/etc/java-config/system-vm/man/:/usr/qt/3/doc/man:/usr/share/gnat-gcc-data/i686-pc-linux-gnu/4.1/man > OPENGL_PROFILE=xorg-x11 > PAGER=/usr/bin/less > PKG_CONFIG_PATH=/usr/qt/3/lib/pkgconfig > PYTHONDOCS=/usr/share/doc/python-docs-2.4.4/html > PYTHONPATH=/usr/lib/portage/pym > QMAKESPEC=linux-g++ > QTDIR=/usr/qt/3 > SCSH_LIB_DIRS=\"/usr/share/scsh-/modules\" > \"/usr/lib/scsh\" \".\" > SMLNJ_HOME=/usr/lib/smlnj > SmartEiffel=/usr/lib/SmartEiffel/sys/system.se > SmartEiffelDirectory=/usr/lib/SmartEiffel > EDITOR=/usr/bin/emacs > LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:* .! > doc=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36: > MPD_HOST=192.168.0.3 > _=/bin/env > PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/local/sbin > HOME=/root > SHELL=/bin/zsh > > > >Description: > asm/ipc.h has moved. This may only be in > gentoo-linux. > >How-To-Repeat: > cd fubar/scripts > ./do-cm3-std.sh > >Fix: > in > /m3-libs/m3gc-simple/src/runtime/LINUXLIBC6/sysdeps.c > change > #include > to > #include > > >Release-Note: > >Audit-Trail: > >Unformatted: > > > -- > Olaf Wagner -- elego Software Solutions GmbH, > Ohmstr. 9, 10179 Berlin, Germany > phone: +49 30 23 45 86 96 mobile: +49 177 2345 869 > fax: +49 30 23 45 86 95 > http://www.elegosoft.com | Gesch?ftsf?hrer: Olaf > Wagner | Sitz: Berlin > Handelregister: Amtsgericht Charlottenburg HRB 77719 > | USt-IdNr: DE163214194 > _______________________________________________ > M3devel mailing list > M3devel at elegosoft.com > --------------------------------- LLama Gratis a cualquier PC del Mundo. Llamadas a fijos y m?viles desde 1 c?ntimo por minuto. http://es.voice.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From dmuysers at hotmail.com Fri Mar 9 17:57:24 2007 From: dmuysers at hotmail.com (dirk muysers) Date: Fri, 09 Mar 2007 16:57:24 +0000 Subject: [M3devel] m3core: TextCat.m3: MultiCat Message-ID: .... result := NEW (T, a := x[i], b := result); .... What about the initialisation of a_len, b_len, and a_or_b_wide ?? Shouldn't it rather be: .... result := Concat (x [i], result) .... This is almost certainly a bug. _________________________________________________________________ Don't just search. Find. Check out the new MSN Search! http://search.msn.com/ From rodney.bates at wichita.edu Fri Mar 9 23:11:18 2007 From: rodney.bates at wichita.edu (Rodney M. Bates) Date: Fri, 09 Mar 2007 16:11:18 -0600 Subject: [M3devel] m3core: TextCat.m3: MultiCat In-Reply-To: References: Message-ID: <45F1DB86.6040800@wichita.edu> It looks wrong to me too. But once messing with it, how about treeing the concatenations, something like: ; PROCEDURE MultiCat ( READONLY x : ARRAY OF TEXT ) : TEXT = VAR Num := NUMBER ( x ) ; VAR Half : CARDINAL ; BEGIN (* MultiCat *) IF Num <= 0 THEN RETURN "" ELSIF Num = 1 THEN RETURN x [ 0 ] ELSE Half := Num DIV 2 ; RETURN Concat ( MultiCat ( SUBARRAY ( x , 0 , Half ) ) , MultiCat ( SUBARRAY ( x , Half , Num - Half ) ) ) END (* IF *) END MultiCat It would reduce heap space overhead, allocation time, Multicat execution time, and maybe collection time (if that has a nonzero constant factor) from linear to logarithmic. On the downside, stack space would increase from constant to logarithmic, which might hurt in case stack was very tight and heap was not. dirk muysers wrote: > .... > result := NEW (T, a := x[i], b := result); > .... > What about the initialisation of a_len, b_len, and a_or_b_wide ?? > Shouldn't it rather be: > .... > result := Concat (x [i], result) > .... > This is almost certainly a bug. > > _________________________________________________________________ > Don't just search. Find. Check out the new MSN Search! > http://search.msn.com/ > > _______________________________________________ > M3devel mailing list > M3devel at elegosoft.com > https://mail.elegosoft.com/cgi-bin/mailman/listinfo/m3devel > -- ------------------------------------------------------------- Rodney M. Bates, retired assistant professor Dept. of Computer Science, Wichita State University Wichita, KS 67260-0083 316-978-3922 rodney.bates at wichita.edu