Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Aug 2019 16:14:46 +0000 (UTC)
From:      Cy Schubert <cy@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r508392 - in branches/2019Q3/shells/ksh93: . files
Message-ID:  <201908081614.x78GEkSJ032052@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cy
Date: Thu Aug  8 16:14:46 2019
New Revision: 508392
URL: https://svnweb.freebsd.org/changeset/ports/508392

Log:
  MFH: r508344
  
  Fix:
  
  $ ksh93
  $ time
  ../src/cmd/ksh93/sh/xec.c:2171: failed assertion 'tb.tv_sec'
  Abort trap (core dumped)
  $ ksh93
  $ times
  ../src/cmd/ksh93/sh/xec.c:2171: failed assertion 'tb.tv_sec'
  Abort trap (core dumped)
  
  PR:		239701
  Suggested by:	w.schwarzenfeld@utanet.at
  Approved by:	portmgr (delphij@)

Added:
  branches/2019Q3/shells/ksh93/files/patch-src_cmd_ksh93_sh_xec.c
     - copied unchanged from r508344, head/shells/ksh93/files/patch-src_cmd_ksh93_sh_xec.c
Modified:
  branches/2019Q3/shells/ksh93/Makefile
Directory Properties:
  branches/2019Q3/   (props changed)

Modified: branches/2019Q3/shells/ksh93/Makefile
==============================================================================
--- branches/2019Q3/shells/ksh93/Makefile	Thu Aug  8 15:33:54 2019	(r508391)
+++ branches/2019Q3/shells/ksh93/Makefile	Thu Aug  8 16:14:46 2019	(r508392)
@@ -3,7 +3,7 @@
 PORTNAME=	ksh93
 DISTVERSION=2020.0.0-alpha1
 PORTEPOCH=	1
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	shells
 
 MAINTAINER=	cy@freebsd.org

Copied: branches/2019Q3/shells/ksh93/files/patch-src_cmd_ksh93_sh_xec.c (from r508344, head/shells/ksh93/files/patch-src_cmd_ksh93_sh_xec.c)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ branches/2019Q3/shells/ksh93/files/patch-src_cmd_ksh93_sh_xec.c	Thu Aug  8 16:14:46 2019	(r508392, copy of r508344, head/shells/ksh93/files/patch-src_cmd_ksh93_sh_xec.c)
@@ -0,0 +1,11 @@
+--- src/cmd/ksh93/sh/xec.c.orig	2019-04-16 20:04:19 UTC
++++ src/cmd/ksh93/sh/xec.c
+@@ -2167,7 +2167,7 @@ int sh_exec(Shell_t *shp, const Shnode_t *t, int flags
+             }
+ #ifdef timeofday
+             times(&after);
+-            timeofday(&ta);
++            timeofday(&tb);
+             assert(tb.tv_sec);
+             at = shp->gd->lim.clk_tck * (ta.tv_sec - tb.tv_sec);
+             at += ((shp->gd->lim.clk_tck *



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201908081614.x78GEkSJ032052>