svn commit: r228342 - head/contrib/tzcode/zic

Eitan Adler eadler at FreeBSD.org
Thu Dec 8 02:40:46 UTC 2011


Author: eadler (ports committer)
Date: Thu Dec  8 02:40:46 2011
New Revision: 228342
URL: http://svn.freebsd.org/changeset/base/228342

Log:
  - set progname for use in usage()
  
  PR:		bin/162908
  Submitted by:	Oleg Ginzburg <olevole at olevole.ru>
  Approved by:	sbruno@
  MFC after:	3 days

Modified:
  head/contrib/tzcode/zic/zdump.c

Modified: head/contrib/tzcode/zic/zdump.c
==============================================================================
--- head/contrib/tzcode/zic/zdump.c	Thu Dec  8 00:56:23 2011	(r228341)
+++ head/contrib/tzcode/zic/zdump.c	Thu Dec  8 02:40:46 2011	(r228342)
@@ -260,6 +260,7 @@ char *	argv[];
 	register struct tm *	tmp;
 	register struct tm *	newtmp;
 
+	progname=argv[0];
 	INITIALIZE(cutlotime);
 	INITIALIZE(cuthitime);
 #if HAVE_GETTEXT


More information about the svn-src-all mailing list