Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/bin/pax Pullup 1.13 [kleink]:



details:   https://anonhg.NetBSD.org/src/rev/a316f0771a0a
branches:  netbsd-1-5
changeset: 489983:a316f0771a0a
user:      tv <tv%NetBSD.org@localhost>
date:      Wed Oct 25 16:19:23 2000 +0000

description:
Pullup 1.13 [kleink]:
Don't abuse LC_TIME for strftime(3) format strings.

diffstat:

 bin/pax/pax.c |  12 ++----------
 1 files changed, 2 insertions(+), 10 deletions(-)

diffs (40 lines):

diff -r 8fa388840a26 -r a316f0771a0a bin/pax/pax.c
--- a/bin/pax/pax.c     Wed Oct 25 16:19:07 2000 +0000
+++ b/bin/pax/pax.c     Wed Oct 25 16:19:23 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pax.c,v 1.12 2000/02/17 03:12:25 itohy Exp $   */
+/*     $NetBSD: pax.c,v 1.12.4.1 2000/10/25 16:19:23 tv Exp $  */
 
 /*-
  * Copyright (c) 1992 Keith Muller.
@@ -47,7 +47,7 @@
 #if 0
 static char sccsid[] = "@(#)pax.c      8.2 (Berkeley) 4/18/94";
 #else
-__RCSID("$NetBSD: pax.c,v 1.12 2000/02/17 03:12:25 itohy Exp $");
+__RCSID("$NetBSD: pax.c,v 1.12.4.1 2000/10/25 16:19:23 tv Exp $");
 #endif
 #endif /* not lint */
 
@@ -100,7 +100,6 @@
 int    exit_val;               /* exit value */
 int    docrc;                  /* check/create file crc */
 char   *dirptr;                /* destination dir in a copy */
-const  char *ltmfrmt;          /* -v locale time format (if any) */
 char   *argv0;                 /* root of argv[0] */
 sigset_t s_mask;               /* signal mask for cleanup critical sect */
 
@@ -359,13 +358,6 @@
        }
 
        /*
-        * Handle posix locale
-        *
-        * set user defines time printing format for -v option
-        */
-       ltmfrmt = getenv("LC_TIME");
-
-       /*
         * signal handling to reset stored directory times and modes. Since
         * we deal with broken pipes via failed writes we ignore it. We also
         * deal with any file size limit thorugh failed writes. Cpu time



Home | Main Index | Thread Index | Old Index