Staging
v0.8.1
v0.8.1
https://github.com/python/cpython
Revision b636dc67ed3c351d9631a7900ea05c3394a99518 authored by Guido van Rossum on 12 October 2000, 16:45:37 UTC, committed by Guido van Rossum on 12 October 2000, 16:45:37 UTC
http://sourceforge.net/bugs/?func=detailbug&bug_id=116636&group_id=5470 bobalex@rsv.ricoh.com Bug report: If the file position is less than the end of the "file", and a write is performed extending past then end of the file, the data string is corrupted. Solution: in write(), when writing past the end, properly set self.len when newpos is > self.len.
1 parent 2e2a70a
Tip revision: b636dc67ed3c351d9631a7900ea05c3394a99518 authored by Guido van Rossum on 12 October 2000, 16:45:37 UTC
[ Bug #116636 ] Bug in StringIO.write()
[ Bug #116636 ] Bug in StringIO.write()
Tip revision: b636dc6
File | Mode | Size |
---|---|---|
.cvsignore | -rw-r--r-- | 17 bytes |
Makefile.in | -rw-r--r-- | 2.6 KB |
abstract.c | -rw-r--r-- | 42.3 KB |
bufferobject.c | -rw-r--r-- | 11.1 KB |
classobject.c | -rw-r--r-- | 40.7 KB |
cobject.c | -rw-r--r-- | 3.6 KB |
complexobject.c | -rw-r--r-- | 10.8 KB |
dictobject.c | -rw-r--r-- | 27.6 KB |
fileobject.c | -rw-r--r-- | 27.3 KB |
floatobject.c | -rw-r--r-- | 16.7 KB |
frameobject.c | -rw-r--r-- | 8.4 KB |
funcobject.c | -rw-r--r-- | 5.6 KB |
intobject.c | -rw-r--r-- | 18.0 KB |
listobject.c | -rw-r--r-- | 38.3 KB |
longobject.c | -rw-r--r-- | 35.7 KB |
methodobject.c | -rw-r--r-- | 5.0 KB |
moduleobject.c | -rw-r--r-- | 4.7 KB |
object.c | -rw-r--r-- | 27.4 KB |
rangeobject.c | -rw-r--r-- | 4.6 KB |
sliceobject.c | -rw-r--r-- | 3.6 KB |
stringobject.c | -rw-r--r-- | 73.8 KB |
tupleobject.c | -rw-r--r-- | 10.9 KB |
typeobject.c | -rw-r--r-- | 1.3 KB |
unicodectype.c | -rw-r--r-- | 8.5 KB |
unicodeobject.c | -rw-r--r-- | 124.4 KB |
unicodetype_db.h | -rw-r--r-- | 37.1 KB |
xxobject.c | -rw-r--r-- | 2.4 KB |
Computing file changes ...