Kevin Ryde
d38934e945
New file.
2006-10-04 22:18:24 +00:00
Kevin Ryde
d4b71bbe14
*** empty log message ***
2006-10-04 22:17:57 +00:00
Kevin Ryde
3c1428ac3c
* tests/ftw.test: New file.
...
* Makefile.am (SCM_TESTS): Add it.
2006-10-04 22:17:38 +00:00
Kevin Ryde
0b051de863
(visited?-proc): Use hashv since we know we're getting
...
numbers. Incorporate stat:dev, since stat:ino is only unique within a
single device. This fixes a bug where if two files with the same
inode on different devices where seen only the first would be returned
by ftw (and nftw).
2006-10-04 22:12:34 +00:00
Kevin Ryde
22a7ee5876
note 2006 for the glibc 2.3.6, to know how old or new it is or will be
2006-10-04 22:01:25 +00:00
Neil Jerram
af8ea03c0a
Mention new make-completion-function procedure in (ice-9 readline).
2006-10-04 21:55:47 +00:00
Kevin Ryde
f9de6ebeca
*** empty log message ***
2006-10-04 21:41:01 +00:00
Kevin Ryde
840efb8549
(Buffered Input): New section, describing (ice-9 buffered-input).
2006-10-04 21:40:24 +00:00
Kevin Ryde
6bcaf7c437
(User Information): Clarify getpwent returns #f at end of file.
2006-10-04 21:39:33 +00:00
Kevin Ryde
3de4a96bbb
(File Tree Walk): Corrections to BASE parameter
...
and symlink vs stale-symlink types in nftw.
(Buffered Input): New section, describing (ice-9 buffered-input).
2006-10-04 21:37:53 +00:00
Neil Jerram
3fd041651b
Minor fixes for typos and informal language
2006-10-04 21:34:57 +00:00
Rob Browning
bc27192cd1
*** empty log message ***
2006-10-04 06:13:48 +00:00
Kevin Ryde
f91265a3ec
** apply arg count checking fix on "1 or 2 arg" functions such as make-vector
2006-10-02 20:47:03 +00:00
Kevin Ryde
b5f91eb57c
*** empty log message ***
2006-10-02 20:25:18 +00:00
Kevin Ryde
b724fe7797
*** empty log message ***
2006-10-02 20:13:37 +00:00
Kevin Ryde
580ca910b7
(apply): New tests, exercising scm_tc7_subr_2o which
...
had lacked some arg count checking.
2006-10-02 20:11:43 +00:00
Kevin Ryde
6f96fdfc89
(SCM_APPLY): For scm_tc7_subr_2o, throw wrong-num-args on 0
...
arguments or 3 or more arguments. Previously 0 called proc with
SCM_UNDEFINED, and 3 or more silently used just the first 2.
2006-10-02 20:10:04 +00:00
Neil Jerram
5ce6ee75df
(Slot Options): Added example from Ludovic Courtès
...
about difference between init-value, -form and -thunk.
2006-09-28 07:55:05 +00:00
Neil Jerram
f0de8d290b
(Symbol Props): Remove unnecessarily specific
...
parenthesis about Guile 1.6's use of extra symbol slots.
2006-09-28 07:39:45 +00:00
Kevin Ryde
de62474622
*** empty log message ***
2006-09-28 01:16:42 +00:00
Kevin Ryde
67227767f7
(truncate): Use "const char *" and "off_t" for parameters, per usual
...
definition of this function, rather than "char *" and "int". Use
ftruncate instead of chsize. Check for error on final close.
2006-09-28 01:15:35 +00:00
Kevin Ryde
f3dbe1aff3
(truncate): Conditionalize on "HAVE_FTRUNCATE && ! HAVE_TRUNCATE" so
...
as not to hard-code mingw.
2006-09-28 01:05:55 +00:00
Kevin Ryde
3527bdc71b
(ftruncate): Use "HAVE_CHSIZE && ! HAVE_FTRUNCATE"
...
for chsize fallback, instead of hard-coding mingw. Mingw in fact
supplies ftruncate itself these days.
2006-09-28 01:03:51 +00:00
Kevin Ryde
423b201902
(fcntl.h): Can include this unconditionally, no need for __MINGW32__.
2006-09-28 01:01:23 +00:00
Kevin Ryde
1701d8ed3f
(ftruncate): Use "HAVE_CHSIZE && ! HAVE_FTRUNCATE"
...
for chsize fallback, instead of hard-coding mingw. Mingw in fact
supplies ftruncate itself these days.
2006-09-28 00:58:19 +00:00
Kevin Ryde
d457b43f6c
*** empty log message ***
2006-09-28 00:37:27 +00:00
Kevin Ryde
79bebdbe2c
(chsize, ftruncate, truncate): New tests, for mingw.
2006-09-28 00:35:42 +00:00
Kevin Ryde
dd31387aa4
*** empty log message ***
2006-09-27 01:49:29 +00:00
Kevin Ryde
b43ba14192
(scm_execl, scm_execlp, scm_execle): Cast "const char *
...
const *" for mingw to suppress warnings from gcc (which are errors
under the configure default -Werror). Reported by Nils Durner.
2006-09-27 01:39:56 +00:00
Kevin Ryde
8e398567b6
*** empty log message ***
2006-09-27 01:35:53 +00:00
Kevin Ryde
14838b6b40
(scm_log10): Check HAVE_CLOG10, not available in mingw.
2006-09-27 01:34:44 +00:00
Kevin Ryde
c60152ad5b
(clog10): New test, not in mingw.
2006-09-27 01:33:10 +00:00
Kevin Ryde
21cde7ad3e
LFS for file access.
2006-09-26 01:55:04 +00:00
Kevin Ryde
6a60ae5e89
*** empty log message ***
2006-09-26 01:53:26 +00:00
Kevin Ryde
50be7e4306
(Ports): File access uses LFS.
2006-09-26 01:52:40 +00:00
Kevin Ryde
4d5399187f
(scm_truncate_file): Update docstring per manual.
2006-09-26 01:27:54 +00:00
Kevin Ryde
a135bc973d
(Random Access): In truncate-file, tweak wording for
...
clarity, note cannot always extend file this way.
2006-09-26 01:26:21 +00:00
Kevin Ryde
76557947d8
*** empty log message ***
2006-09-26 01:17:50 +00:00
Kevin Ryde
0a8320cfc1
(seek): New tests.
...
(truncate-file): More tests.
2006-09-26 01:17:29 +00:00
Kevin Ryde
3d4a5d36d3
(scm_seek, scm_truncate_file): Use scm_i_fport_seek and
...
scm_i_fport_truncate to allow 64-bit seeks and truncates on fports.
2006-09-26 01:15:20 +00:00
Kevin Ryde
1c4ccf8457
(scm_i_fport_seek, scm_i_fport_truncate): New functions.
2006-09-26 01:13:44 +00:00
Kevin Ryde
5ae0c155c0
(scm_open_file): Use open_or_open64.
...
(fport_seek_or_seek64): New function.
(scm_i_fport_seek, scm_i_fport_truncate): New functions.
2006-09-26 01:12:51 +00:00
Kevin Ryde
e8d9b45487
(scm_to_off64_t, scm_from_off64_t): New macros.
2006-09-26 01:11:05 +00:00
Ludovic Courtès
903762e5cf
Changes from arch/CVS synchronization
2006-09-25 08:23:24 +00:00
Kevin Ryde
10cbb08c51
*** empty log message ***
2006-09-25 00:54:59 +00:00
Kevin Ryde
49acac79a1
Crib not on dirfd.m4 if we need/want dirfd everywhere in the future.
2006-09-23 01:43:59 +00:00
Kevin Ryde
c82f332e1e
More of:
...
* numbers.c, numbers.h (scm_log, scm_log10, scm_exp, scm_sqrt): New
functions.
2006-09-23 01:16:50 +00:00
Kevin Ryde
10a7fe4c1a
And still more of
...
(exp, log, log10, sqrt): New tests.
2006-09-23 01:08:57 +00:00
Kevin Ryde
d9849f45cf
(gmtime, strptime): Remove the "unresolved" throws,
...
the error+thread tests seem ok now (previously were upset by something
leaking out of syntax.test).
2006-09-23 00:08:49 +00:00
Kevin Ryde
2651eca479
* tests/format.test, tests/srfi-1.test: Use define-module to prevent
...
redefined funcs in those modules extending on to subsequent tests.
2006-09-22 23:52:08 +00:00