summaryrefslogtreecommitdiff
path: root/src/dircolors.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1998-06-29 15:59:39 +0000
committerJim Meyering <jim@meyering.net>1998-06-29 15:59:39 +0000
commit83d4b736d21720106b2d63858ecdf0a5ceb80b01 (patch)
tree04ebf3711803a178bd3adcb600b814ba65eb1403 /src/dircolors.c
parent257c5c4737ce0399316199903ae402ae9e794a84 (diff)
downloadcoreutils-83d4b736d21720106b2d63858ecdf0a5ceb80b01.tar.xz
revert back to using lower case _unlocked wrapper names
Diffstat (limited to 'src/dircolors.c')
-rw-r--r--src/dircolors.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/dircolors.c b/src/dircolors.c
index 49039a8b6..f1c0cbc6e 100644
--- a/src/dircolors.c
+++ b/src/dircolors.c
@@ -397,7 +397,7 @@ dc_parse_file (const char *filename)
err = dc_parse_stream (fp, filename);
- if (fp != stdin && FCLOSE (fp) == EOF)
+ if (fp != stdin && fclose (fp) == EOF)
{
error (0, errno, "%s", filename);
return 1;
@@ -472,8 +472,8 @@ dircolors' internal database"));
int i;
for (i = 0; i < G_N_LINES; i++)
{
- FWRITE (G_line[i], 1, G_line_length[i], stdout);
- FPUTC ('\n', stdout);
+ fwrite (G_line[i], 1, G_line_length[i], stdout);
+ fputc ('\n', stdout);
}
}
else
@@ -513,14 +513,14 @@ dircolors' internal database"));
suffix = "'\n";
}
fputs (prefix, stdout);
- FWRITE (s, 1, len, stdout);
+ fwrite (s, 1, len, stdout);
fputs (suffix, stdout);
}
}
close_stdout ();
- if (have_read_stdin && FCLOSE (stdin) == EOF)
+ if (have_read_stdin && fclose (stdin) == EOF)
error (EXIT_FAILURE, errno, _("standard input"));
exit (err == 0 ? EXIT_SUCCESS : EXIT_FAILURE);