added fixme comment
svn-id: r7791
This commit is contained in:
parent
1a6d646754
commit
ffac2da5aa
1 changed files with 3 additions and 0 deletions
|
@ -273,6 +273,9 @@ uint32 File::write(void *ptr, uint32 len) {
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
if (_encbyte != 0) {
|
if (_encbyte != 0) {
|
||||||
|
// Maybe FIXME: while it's efficient to do the encoding here,
|
||||||
|
// it not really nice for a write function to modify its input.
|
||||||
|
// Maybe we should work on a copy here...
|
||||||
uint32 t_size = len;
|
uint32 t_size = len;
|
||||||
do {
|
do {
|
||||||
*ptr2++ ^= _encbyte;
|
*ptr2++ ^= _encbyte;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue