]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
fileobject.c: fix nasty bug; Makefile; turn on STROP and change lint flags.
authorGuido van Rossum <guido@python.org>
Tue, 22 Dec 1992 14:24:04 +0000 (14:24 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 22 Dec 1992 14:24:04 +0000 (14:24 +0000)
Objects/fileobject.c

index 52dd668bfe81a4b310b1cc49fc7d34233043c6f7..00020dcbb037d85c23c51bb79c160bf6806d8a25 100644 (file)
@@ -440,7 +440,7 @@ filegetline(f, n)
                                        resizestring(&result, len-1);
                                else {
                                        object *v;
-                                       v == newsizedstringobject(s, len-1);
+                                       v = newsizedstringobject(s, len-1);
                                        DECREF(result);
                                        result = v;
                                }