Overview
| Artifact ID: | b84a1e722edbf7ffe20ccba9c9dc2af602766c92 |
|---|---|
| Ticket: | 3496014fffffffffffffffffffffffffffffffff
Unecessary memset() in Tcl_SetByteArrayObj() |
| User & Date: | nijtmans on 2012-07-17 03:34:31 |
Changes
- icomment:
The documentation contains (ByteArrObj.3): > If \fIbytes\fR is NULL then the new byte array contains > arbitrary values. I would say, null bytes are not arbibrary values ;-) Suggestion committed to branch bug-3496014, for anyone interested to try. I tried it and all tests pass. So, either adapt the implementation, as suggested by stwo, or adapt the documentation. I would prefer to keep the documentation as is.
- login: "nijtmans"
- mimetype: "text/plain"
- username: "nijtmans"