diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/fns.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 18fdeb633f5..252a7591d20 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2004-07-06 Luc Teirlinck <teirllm@auburn.edu> | ||
| 2 | |||
| 3 | * fns.c (Fclear_string): Put call to CHECK_STRING in correct place. | ||
| 4 | |||
| 1 | 2004-07-06 John Paul Wallington <jpw@gnu.org> | 5 | 2004-07-06 John Paul Wallington <jpw@gnu.org> |
| 2 | 6 | ||
| 3 | * eval.c (Fdefmacro): Signal an error if NAME is not a symbol. | 7 | * eval.c (Fdefmacro): Signal an error if NAME is not a symbol. |
| @@ -2370,8 +2370,8 @@ This makes STRING unibyte and may change its length. */) | |||
| 2370 | (string) | 2370 | (string) |
| 2371 | Lisp_Object string; | 2371 | Lisp_Object string; |
| 2372 | { | 2372 | { |
| 2373 | CHECK_STRING (string); | ||
| 2374 | int len = SBYTES (string); | 2373 | int len = SBYTES (string); |
| 2374 | CHECK_STRING (string); | ||
| 2375 | bzero (SDATA (string), len); | 2375 | bzero (SDATA (string), len); |
| 2376 | STRING_SET_CHARS (string, len); | 2376 | STRING_SET_CHARS (string, len); |
| 2377 | STRING_SET_UNIBYTE (string); | 2377 | STRING_SET_UNIBYTE (string); |