diff options
| author | Luc Teirlinck | 2004-07-06 17:55:00 +0000 |
|---|---|---|
| committer | Luc Teirlinck | 2004-07-06 17:55:00 +0000 |
| commit | a085bf9dd6bc5a1e3cf80e8e23b83ef6786c8911 (patch) | |
| tree | 375d28ea7dac683d38f46b79c561b763ce069a72 /src | |
| parent | cc0aea1a20e2afff0524de88f4e708f4e0fc0bae (diff) | |
| download | emacs-a085bf9dd6bc5a1e3cf80e8e23b83ef6786c8911.tar.gz emacs-a085bf9dd6bc5a1e3cf80e8e23b83ef6786c8911.zip | |
(Fclear_string): Put call to CHECK_STRING in correct place.
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); |