summaryrefslogtreecommitdiff
path: root/src/dircolors.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1998-06-29 02:10:24 +0000
committerJim Meyering <jim@meyering.net>1998-06-29 02:10:24 +0000
commit02fc5fa0d0a68fa070dcb93983ad20590e051164 (patch)
tree6e1a0c837ad0724d823599cde25fad9e3f9d61ad /src/dircolors.c
parentb62793b100c35efe44f66184e7f60ebc8ab890e5 (diff)
downloadcoreutils-02fc5fa0d0a68fa070dcb93983ad20590e051164.tar.xz
Change all uses of unlocked-wrapped functions to their upper case 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 f1c0cbc6e..49039a8b6 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);