Commit | Line | Data |
---|---|---|
8ab3d8a0 KR |
1 | 2006-10-03 Kevin Ryde <user42@zip.com.au> |
2 | ||
3 | * eval.c (SCM_APPLY): For scm_tc7_subr_2o, throw wrong-num-args on 0 | |
4 | arguments or 3 or more arguments. Previously 0 called proc with | |
5 | SCM_UNDEFINED, and 3 or more silently used just the first 2. | |
6 | ||
7 | 2006-09-28 Kevin Ryde <user42@zip.com.au> | |
8 | ||
9 | * fports.c, ports.c (ftruncate): Use "HAVE_CHSIZE && ! HAVE_FTRUNCATE" | |
10 | for chsize fallback, instead of hard-coding mingw. Mingw in fact | |
11 | supplies ftruncate itself these days. | |
12 | ||
13 | * ports.c (fcntl.h): Can include this unconditionally, no need for | |
14 | __MINGW32__. | |
15 | ||
16 | * ports.c (truncate): Conditionalize on "HAVE_FTRUNCATE && ! | |
17 | HAVE_TRUNCATE" so as not to hard-code mingw. Use "const char *" and | |
18 | "off_t" for parameters, per usual definition of this function, rather | |
19 | than "char *" and "int". Use ftruncate instead of chsize. Check for | |
20 | error on final close. | |
21 | ||
22 | 2006-09-27 Kevin Ryde <user42@zip.com.au> | |
23 | ||
24 | * numbers.c (scm_log10): Check HAVE_CLOG10, clog10() is not available | |
25 | in mingw. | |
26 | ||
27 | * posix.c (scm_execl, scm_execlp, scm_execle): Cast "const char * | |
28 | const *" for mingw to suppress warnings from gcc (which are errors | |
29 | under the configure default -Werror). Reported by Nils Durner. | |
30 | ||
31 | 2006-09-26 Kevin Ryde <user42@zip.com.au> | |
32 | ||
33 | * _scm.h (scm_to_off64_t, scm_from_off64_t): New macros. | |
34 | * fports.c (scm_open_file): Use open_or_open64. | |
35 | (fport_seek_or_seek64): New function, adapting fport_seek. | |
36 | * fports.c, fports.h (scm_i_fport_seek, scm_i_fport_truncate): New | |
37 | functions. | |
38 | * ports.c (scm_seek, scm_truncate_file): Use scm_i_fport_seek and | |
39 | scm_i_fport_truncate to allow 64-bit seeks and truncates on fports. | |
40 | ||
41 | * ports.c (scm_truncate_file): Update docstring per manual. | |
42 | ||
43 | 2006-09-23 Kevin Ryde <user42@zip.com.au> | |
44 | ||
45 | * numbers.c, numbers.h (scm_log, scm_log10, scm_exp, scm_sqrt): New | |
46 | functions. | |
47 | ||
a17d2654 LC |
48 |