dont use t! its not standard!

SVN revision: 9920
This commit is contained in:
Carsten Haitzler 2004-04-27 08:05:12 +00:00
parent fdff6d615c
commit ae778d5ef9
2 changed files with 3 additions and 3 deletions

View File

@ -173,7 +173,7 @@ sc_error(int number, char *message, char *filename, int firstline,
void *
sc_opensrc(char *filename)
{
return fopen(filename, "rt");
return fopen(filename, "rb");
}
void
@ -215,7 +215,7 @@ sc_eofsrc(void *handle)
void *
sc_openasm(char *filename)
{
return fopen(filename, "w+t");
return fopen(filename, "w+");
}
void

View File

@ -100,7 +100,7 @@ error(int number, ...)
{
FILE *fp;
fp = fopen(errfname, "at");
fp = fopen(errfname, "a+");
if (fp != NULL)
{
if (errstart >= 0 && errstart != fline)