sam
4ad539fda8
* Added volatile keyword to prevent gcc from optimising away.
...
git-svn-id: svn://svn.zoy.org/elk/trunk@264 55e467fa-43c5-0310-a8a2-de718669efc6
2006-06-14 14:11:36 +00:00
sam
c6193d0b53
* src/cont.c: marked as volatile variables that we don't want optimised
...
away.
git-svn-id: svn://svn.zoy.org/elk/trunk@262 55e467fa-43c5-0310-a8a2-de718669efc6
2006-03-02 21:17:23 +00:00
sam
2d0bfa1171
* src/proc.c: store function pointers in typed variables before calling them.
...
git-svn-id: svn://svn.zoy.org/elk/trunk@261 55e467fa-43c5-0310-a8a2-de718669efc6
2006-03-02 21:07:01 +00:00
sam
f6644fbe65
* src/type.c: Replaced useless ++p with p+1.
...
git-svn-id: svn://svn.zoy.org/elk/trunk@260 55e467fa-43c5-0310-a8a2-de718669efc6
2006-03-02 21:04:10 +00:00
sam
29930448d4
* src/cont.c: workaround for an amd64 gcc bug.
...
git-svn-id: svn://svn.zoy.org/elk/trunk@256 55e467fa-43c5-0310-a8a2-de718669efc6
2005-11-01 18:58:14 +00:00
sam
7bbd3cda52
* src/heap-gen.c:
...
+ Fixed shadowed global declarations.
git-svn-id: svn://svn.zoy.org/elk/trunk@255 55e467fa-43c5-0310-a8a2-de718669efc6
2004-08-09 20:21:00 +00:00
sam
da3485795e
* Got rid of P_() and ELLIPSIS macros.
...
* Adapted all prototypes to no longer use P_().
git-svn-id: svn://svn.zoy.org/elk/trunk@252 55e467fa-43c5-0310-a8a2-de718669efc6
2004-08-09 20:05:25 +00:00
sam
3de0d32a54
* src/loadlib.c:
...
+ Use the internal Get_String() function to allocate a C string from
library objects, since Elk strings are not null-terminated.
git-svn-id: svn://svn.zoy.org/elk/trunk@250 55e467fa-43c5-0310-a8a2-de718669efc6
2004-03-11 18:21:55 +00:00
sam
ca7c9ff157
* src/math.c:
...
+ If one of the factors is the exact zero, the result yields exact zero.
git-svn-id: svn://svn.zoy.org/elk/trunk@249 55e467fa-43c5-0310-a8a2-de718669efc6
2004-01-29 13:55:42 +00:00
sam
dc2d4e6819
* include/extern.h:
...
+ Export P_Pow to applications.
git-svn-id: svn://svn.zoy.org/elk/trunk@248 55e467fa-43c5-0310-a8a2-de718669efc6
2004-01-19 19:29:59 +00:00
sam
41913af48d
* src/libelk.c:
...
+ Test for HAVE_STRUCT_RLIMIT, not HAVE_GETRLIMIT.
* src/loadlib.c:
+ Style fixes.
git-svn-id: svn://svn.zoy.org/elk/trunk@227 55e467fa-43c5-0310-a8a2-de718669efc6
2003-10-05 22:52:37 +00:00
sam
a632cd1797
* Support for the BeOS dynamic loader.
...
git-svn-id: svn://svn.zoy.org/elk/trunk@225 55e467fa-43c5-0310-a8a2-de718669efc6
2003-10-05 13:11:41 +00:00
sam
68d95d0a0b
* Fixed a stupid bug in the HP-UX dynamic code loading.
...
git-svn-id: svn://svn.zoy.org/elk/trunk@224 55e467fa-43c5-0310-a8a2-de718669efc6
2003-10-04 22:28:49 +00:00
sam
c72bef9733
* Renamed ALIGN into ELK_ALIGN because OS X's <ppc/param.h> defines it.
...
git-svn-id: svn://svn.zoy.org/elk/trunk@197 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-26 15:02:53 +00:00
sam
5b1cb65202
* Removed compile-time checks for _SC_OPEN_MAX, _PC_PATH_MAX and _SC_PAGESIZE
...
and used simple build-time #ifdefs.
git-svn-id: svn://svn.zoy.org/elk/trunk@196 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-26 12:28:31 +00:00
sam
95803f0eec
* Fixed the bignum/double comparisons.
...
git-svn-id: svn://svn.zoy.org/elk/trunk@192 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-26 09:11:20 +00:00
sam
3099835542
* Fixed a minor compilation warning.
...
git-svn-id: svn://svn.zoy.org/elk/trunk@191 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-26 09:10:53 +00:00
sam
2460afd80e
* According to r4rs section 6.2, (eqv? 1 1.0) returns #f.
...
git-svn-id: svn://svn.zoy.org/elk/trunk@187 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-24 18:49:46 +00:00
sam
8717cc8a81
* Fixed scope of named let variables, fixing the bug described here:
...
http://groups.google.com/groups?selm=871zemtmd4.fsf%40app.dial.idiom.com
git-svn-id: svn://svn.zoy.org/elk/trunk@185 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-24 16:32:46 +00:00
sam
b4d94a2c5a
* Case-insensitive symbols by default.
...
git-svn-id: svn://svn.zoy.org/elk/trunk@180 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-23 12:16:43 +00:00
sam
957e491bba
* Use DBL_MAX instead of HUGE_VAL for float precision when available.
...
git-svn-id: svn://svn.zoy.org/elk/trunk@179 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-23 12:16:22 +00:00
sam
ab40058bed
* Promoted precision in Float->String transformations.
...
git-svn-id: svn://svn.zoy.org/elk/trunk@178 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-23 12:15:36 +00:00
sam
c4fbd1b8f2
* Empty (begin), (begin1) and (cond) return #<unspecified>.
...
git-svn-id: svn://svn.zoy.org/elk/trunk@177 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-22 22:54:22 +00:00
sam
2383e0247c
* Display #<foo> instead of #[foo], to mimic Guile's output.
...
git-svn-id: svn://svn.zoy.org/elk/trunk@176 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-22 22:47:03 +00:00
sam
d2b7366679
* Added the "unspecified" type.
...
git-svn-id: svn://svn.zoy.org/elk/trunk@175 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-22 22:46:24 +00:00
sam
8108c9c270
* Fixed an invalid declaration that prevented compilation on HP-UX.
...
git-svn-id: svn://svn.zoy.org/elk/trunk@166 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-19 11:46:13 +00:00
sam
7d3267a72c
* Fixed the / and \ issues in path separators.
...
* Use strchr/strrchr instead of index/rindex.
git-svn-id: svn://svn.zoy.org/elk/trunk@163 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-17 13:29:39 +00:00
sam
5f31f6ae27
* Proper DLL symbol exporting under Win32.
...
git-svn-id: svn://svn.zoy.org/elk/trunk@162 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-17 13:18:59 +00:00
sam
809443fb06
* Do not open .so files, but look for the libtool .la library instead and
...
get the shared object's filename from it.
git-svn-id: svn://svn.zoy.org/elk/trunk@161 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-17 12:01:49 +00:00
sam
d640876b57
* Typos and coding style.
...
git-svn-id: svn://svn.zoy.org/elk/trunk@160 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-17 02:26:57 +00:00
sam
4cb155e3f6
* Fixed all signed/unsigned and undeclared function warnings.
...
git-svn-id: svn://svn.zoy.org/elk/trunk@158 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-15 12:53:36 +00:00
sam
544dbc2618
* Use install-{exec,data}-hook instead of -local so that target directories
...
already exist when the rule is called.
git-svn-id: svn://svn.zoy.org/elk/trunk@154 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-15 08:59:33 +00:00
sam
9234eef52b
* src/Makefile.am, doc/man/Makefile.am:
...
+ Create symlinks at install time.
* debian/rules:
+ Moved manpages to /usr/share/man (Closes : #210894 ).
+ Ignore plugins in the dh_makeshlibs call.
+ Removed the elk->scheme-elk link, it is done at make install time.
git-svn-id: svn://svn.zoy.org/elk/trunk@152 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-15 08:46:36 +00:00
sam
d4dc463b3d
* Plugin support for Win32.
...
git-svn-id: svn://svn.zoy.org/elk/trunk@150 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-13 06:31:24 +00:00
sam
b12222213e
* Removed references to NOMAIN.
...
* Replaced / with \ under Win32.
* The Win32 version looks for .scm files in the scm subdirectory of the
executable's current directory.
git-svn-id: svn://svn.zoy.org/elk/trunk@148 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-13 00:34:58 +00:00
sam
be26c4f8fd
* Allocate a console under Win32, and wait for user input before closing it.
...
git-svn-id: svn://svn.zoy.org/elk/trunk@145 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-11 10:09:27 +00:00
sam
d55ca1b9bf
* Renamed OBJ_DIR into LIB_DIR.
...
* Fixed SCM_DIR and LIB_DIR so that they take ${prefix} into account.
* Added -I $(top_builddir)/include to INCLUDES.
git-svn-id: svn://svn.zoy.org/elk/trunk@142 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-11 06:57:26 +00:00
sam
f663715179
* Allocate a DOS command window under Win32.
...
git-svn-id: svn://svn.zoy.org/elk/trunk@141 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-10 23:26:02 +00:00
sam
2879388fa2
* Fixed a bug in the garbage collector.
...
git-svn-id: svn://svn.zoy.org/elk/trunk@138 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-10 15:08:00 +00:00
sam
335719f3a1
* Replaced bcopy/bzero/bcmp with memcpu/memeset/memcmp.
...
git-svn-id: svn://svn.zoy.org/elk/trunk@137 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-09 23:13:50 +00:00
sam
ea7b42320d
* Do not declare random(), in case the prototype changes.
...
git-svn-id: svn://svn.zoy.org/elk/trunk@132 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-09 18:35:16 +00:00
sam
137cb525d9
* Fixed a typo preventing the inclusion of sys/resource.h.
...
git-svn-id: svn://svn.zoy.org/elk/trunk@131 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-09 16:52:37 +00:00
sam
7a028b1c77
* Added more system checks.
...
* Now builds on Win32.
git-svn-id: svn://svn.zoy.org/elk/trunk@130 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-09 15:18:55 +00:00
sam
dcf74a9c38
* Enhanced the dlopen() checks, especially for platforms that do not
...
need -ldl.
* Ported the plugin loading code to the HP-UX shl_load() system.
git-svn-id: svn://svn.zoy.org/elk/trunk@129 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-09 13:30:23 +00:00
sam
3d1b7d069f
* Implemented the dyld plugin loader for OS X.
...
git-svn-id: svn://svn.zoy.org/elk/trunk@125 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-07 22:07:33 +00:00
sam
d5784c9b41
* Fixed many tests for termio.h, termios.h, TIOCFLUSH, etc.
...
git-svn-id: svn://svn.zoy.org/elk/trunk@122 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-07 14:28:01 +00:00
sam
b92e332741
* Renamed stab-unix.c to stab-vanilla.c.
...
* Implemented string parsing in stab-vanilla.c, so that libelf is no
longer required.
git-svn-id: svn://svn.zoy.org/elk/trunk@121 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-07 13:13:18 +00:00
sam
71bbf51abf
* Fixed a crash for symbols found in the list but that dlopen() could not
...
properly load.
git-svn-id: svn://svn.zoy.org/elk/trunk@120 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-07 13:12:27 +00:00
sam
53725cc25f
* Disabled non-libelf stab files.
...
* Added a stab-unix.c file which is a placeholder for future nm|objdump
implementations.
git-svn-id: svn://svn.zoy.org/elk/trunk@119 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-07 11:25:04 +00:00
sam
9f4dc9b28f
* Oops, fixed a misplaced #ifdef.
...
git-svn-id: svn://svn.zoy.org/elk/trunk@117 55e467fa-43c5-0310-a8a2-de718669efc6
2003-09-07 09:56:55 +00:00