forked from enlightenment/efl
* src/lib/evil_stdio.c:
* src/lib/evil_stdio.h: overload rewind for Windows CE * src/lib/evil_unistd.c: remove debug SVN revision: 37477
This commit is contained in:
parent
d250e5501b
commit
6a7aefef08
|
@ -1,3 +1,12 @@
|
||||||
|
2008-11-05 Vincent Torri <doursse at users dot sf dot net>
|
||||||
|
|
||||||
|
* src/lib/evil_stdio.c:
|
||||||
|
* src/lib/evil_stdio.h:
|
||||||
|
overload rewind for Windows CE
|
||||||
|
|
||||||
|
* src/lib/evil_unistd.c:
|
||||||
|
remove debug
|
||||||
|
|
||||||
2008-11-04 Vincent Torri <doursse at users dot sf dot net>
|
2008-11-04 Vincent Torri <doursse at users dot sf dot net>
|
||||||
|
|
||||||
* src/lib/Evil.h:
|
* src/lib/Evil.h:
|
||||||
|
|
|
@ -56,9 +56,9 @@ FILE *evil_fopen(const char *path, const char *mode)
|
||||||
return f;
|
return f;
|
||||||
}
|
}
|
||||||
|
|
||||||
void rewind(FILE *stream)
|
void evil_rewind(FILE *stream)
|
||||||
{
|
{
|
||||||
fseek(stream, 0, SEEK_SET);
|
fseek(stream, 0, SEEK_SET);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,9 @@ EAPI FILE *evil_fopen(const char *path, const char *mode);
|
||||||
|
|
||||||
# define fopen(path, mode) evil_fopen(path, mode)
|
# define fopen(path, mode) evil_fopen(path, mode)
|
||||||
|
|
||||||
EAPI void rewind(FILE *stream);
|
EAPI void evil_rewind(FILE *stream);
|
||||||
|
|
||||||
|
#define rewind(f) evil_rewind(f)
|
||||||
|
|
||||||
#endif /* _WIN32_WCE && ! __CEGCC__ */
|
#endif /* _WIN32_WCE && ! __CEGCC__ */
|
||||||
|
|
||||||
|
|
|
@ -178,7 +178,6 @@ evil_stat(const char *file_name, struct stat *st)
|
||||||
|
|
||||||
{
|
{
|
||||||
char *tmp = evil_wchar_to_char(file);
|
char *tmp = evil_wchar_to_char(file);
|
||||||
printf ("Evil stat : 3 %s\n", tmp);
|
|
||||||
free(tmp);
|
free(tmp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -239,7 +238,6 @@ evil_stat(const char *file_name, struct stat *st)
|
||||||
st->st_ino = 0;
|
st->st_ino = 0;
|
||||||
|
|
||||||
FindClose(handle);
|
FindClose(handle);
|
||||||
printf ("Evil stat : 3\n");
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue