From 03911ef780eae7d060963bf01ccaf594779b9420 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 12 Oct 2008 14:50:02 +0200 Subject: use xfreopen in place of unchecked freopen * bootstrap.conf (modules): Add xfreopen. * src/cat.c (main): Include "xfreopen.h". Use xfreopen. * src/cksum.c (cksum): Likewise. * src/head.c (head_file, main): Likewise. * src/md5sum.c (digest_file): Likewise. * src/od.c (open_next_file): Likewise. * src/split.c (type_undef): Likewise. * src/sum.c (bsd_sum_file, sysv_sum_file): Likewise. * src/tac.c (tac_file, main): Likewise. * src/tail.c (tail_file, main): Likewise. * src/tee.c (tee_files): Likewise. * src/tr.c (main): Likewise. * src/wc.c (wc_file): Likewise. * po/POTFILES.in: Add lib/xfreopen.c --- po/POTFILES.in | 1 + 1 file changed, 1 insertion(+) (limited to 'po') diff --git a/po/POTFILES.in b/po/POTFILES.in index c8e97d6df..8a6e541f4 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -24,6 +24,7 @@ lib/unicodeio.c lib/userspec.c lib/version-etc.c lib/xalloc-die.c +lib/xfreopen.c lib/xfts.c lib/xmemcoll.c lib/xmemxfrm.c -- cgit v1.2.3-70-g09d2