summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Modules/config.c.in6
-rw-r--r--Objects/fileobject.c5
2 files changed, 6 insertions, 5 deletions
diff --git a/Modules/config.c.in b/Modules/config.c.in
index cfe82d731a..1d840202bd 100644
--- a/Modules/config.c.in
+++ b/Modules/config.c.in
@@ -1,6 +1,6 @@
/***********************************************************
-Copyright 1991, 1992 by Stichting Mathematisch Centrum, Amsterdam, The
-Netherlands.
+Copyright 1991, 1992, 1993 by Stichting Mathematisch Centrum,
+Amsterdam, The Netherlands.
All Rights Reserved
@@ -45,7 +45,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#ifdef __DATE__
#define DATE __DATE__
#else
-#define DATE ">= 1 Jan 1993"
+#define DATE ">= 8 Jan 1993"
#endif
#include <stdio.h>
diff --git a/Objects/fileobject.c b/Objects/fileobject.c
index 00020dcbb0..b84819e3fb 100644
--- a/Objects/fileobject.c
+++ b/Objects/fileobject.c
@@ -136,10 +136,11 @@ file_repr(f)
fileobject *f;
{
char buf[300];
- sprintf(buf, "<%s file '%.256s', mode '%.10s'>",
+ sprintf(buf, "<%s file '%.256s', mode '%.10s' at %lx>",
f->f_fp == NULL ? "closed" : "open",
getstringvalue(f->f_name),
- getstringvalue(f->f_mode));
+ getstringvalue(f->f_mode),
+ (long)f);
return newstringobject(buf);
}