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

This commit is contained in:
Guido van Rossum 1993-01-10 18:33:56 +00:00
parent 775f4dacbc
commit e35399ea7b
2 changed files with 6 additions and 5 deletions

View File

@ -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>

View File

@ -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);
}