summaryrefslogtreecommitdiffstats
path: root/bin/pax/pax.c
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1995-10-23 21:23:27 +0000
committerache <ache@FreeBSD.org>1995-10-23 21:23:27 +0000
commit73ab20d2fc1071aff9034045be14d44674237217 (patch)
treeebe7c0754cf87fed027b73aefc15f1e0d29e7c03 /bin/pax/pax.c
parent76a4f2bbdd467a55e19748db102bd78f846f6ddf (diff)
downloadFreeBSD-src-73ab20d2fc1071aff9034045be14d44674237217.zip
FreeBSD-src-73ab20d2fc1071aff9034045be14d44674237217.tar.gz
Remove unneded ctype.h everywhere
Add setlocale LC_TIME
Diffstat (limited to 'bin/pax/pax.c')
-rw-r--r--bin/pax/pax.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/pax/pax.c b/bin/pax/pax.c
index 2bdf6bd..5d5e31f 100644
--- a/bin/pax/pax.c
+++ b/bin/pax/pax.c
@@ -34,7 +34,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: pax.c,v 1.2 1994/09/24 02:56:27 davidg Exp $
+ * $Id: pax.c,v 1.3 1995/05/30 00:07:00 rgrimes Exp $
*/
#ifndef lint
@@ -57,6 +57,7 @@ static char sccsid[] = "@(#)pax.c 8.2 (Berkeley) 4/18/94";
#include <unistd.h>
#include <stdlib.h>
#include <errno.h>
+#include <locale.h>
#include "pax.h"
#include "extern.h"
static int gen_init __P((void));
@@ -227,6 +228,7 @@ main(argc, argv)
char **argv;
#endif
{
+ (void) setlocale(LC_TIME, "");
/*
* parse options, determine operational mode, general init
*/
OpenPOWER on IntegriCloud