mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-17 01:00:20 +02:00
Changes from arch/CVS synchronization
This commit is contained in:
parent
24e59a9257
commit
d41668faec
6 changed files with 31 additions and 5 deletions
|
@ -1,3 +1,9 @@
|
|||
2007-10-17 Ludovic Courtès <ludo@gnu.org>
|
||||
|
||||
* read.c (CHAR_IS_BLANK_): Add `\r' (ASCII 0x0d). This fixes a
|
||||
regression compared to 1.8.2. Reported by Puneet
|
||||
<schemer@gmail.com>.
|
||||
|
||||
2007-10-10 Ludovic Courtès <ludo@gnu.org>
|
||||
|
||||
* pthread-threads.h (SCM_I_PTHREAD_MUTEX_INITIALIZER): Check
|
||||
|
|
|
@ -150,7 +150,7 @@ static SCM *scm_read_hash_procedures;
|
|||
/* `isblank' is only in C99. */
|
||||
#define CHAR_IS_BLANK_(_chr) \
|
||||
(((_chr) == ' ') || ((_chr) == '\t') || ((_chr) == '\n') \
|
||||
|| ((_chr) == '\f'))
|
||||
|| ((_chr) == '\f') || ((_chr) == '\r'))
|
||||
|
||||
#ifdef MSDOS
|
||||
# define CHAR_IS_BLANK(_chr) \
|
||||
|
@ -182,9 +182,8 @@ static SCM *scm_read_hash_procedures;
|
|||
/* Read an SCSH block comment. */
|
||||
static inline SCM scm_read_scsh_block_comment (int chr, SCM port);
|
||||
|
||||
/* Helper function similar to `scm_read_token ()'. Read from PORT until a
|
||||
whitespace is read. Return zero if the whole token could fit in BUF,
|
||||
non-zero otherwise. */
|
||||
/* Read from PORT until a delimiter (e.g., a whitespace) is read. Return
|
||||
zero if the whole token fits in BUF, non-zero otherwise. */
|
||||
static inline int
|
||||
read_token (SCM port, char *buf, size_t buf_size, size_t *read)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue