Skip to content
Snippets Groups Projects
Commit e35399ea authored by Guido van Rossum's avatar Guido van Rossum
Browse files

Checking in last-minute changes that are already part of release 0.9.8

parent 775f4dac
No related branches found
No related tags found
No related merge requests found
/***********************************************************
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>
......
......@@ -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);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment