Skip to content
Snippets Groups Projects
Commit 1ad371d3 authored by Olivier Fourdan's avatar Olivier Fourdan
Browse files

Fix fgetc() not returning EOF on architectures where char isn't signed (Patch...

Fix fgetc() not returning EOF on architectures where char isn't signed (Patch from Michel Danzer <michel@tungstengraphics.com>)

(Old svn revision: 22069)
parent c01fe454
No related branches found
Tags xfce-4.4.0
No related merge requests found
......@@ -181,7 +181,7 @@ ensure_basedir_spec (void)
if (w && r)
{
char c;
int c;
while ((c = getc (r)) != EOF)
{
......@@ -230,7 +230,7 @@ ensure_basedir_spec (void)
if (w && r)
{
char c;
int c;
while ((c = getc (r)) != EOF)
putc (c, w);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment