netbsd-bugs@netbsd.org
[Top] [All Lists]

Re: bin/40256: sh bug breaks etcupdate

Subject: Re: bin/40256: sh bug breaks etcupdate
From: Christoph Egger
Date: Tue, 23 Dec 2008 01:06:48 +0100
Jukka Salmi wrote:
>  You're missing some recent changes:
>  
>  $ diff /tmp/sh.mine /tmp/sh.ce 
>  1,2c1
>  < /bin/sh:
>  <      $NetBSD: crt0.c,v 1.17 2007/12/01 10:16:06 yamt Exp $
>  ---
>  >      $NetBSD: crt0.c,v 1.5 2007/09/27 10:51:18 dogcow Exp $
>  7c6
>  <      $NetBSD: eval.c,v 1.95 2008/12/21 03:15:32 christos Exp $
>  ---
>  >      $NetBSD: eval.c,v 1.94 2008/10/31 14:38:42 christos Exp $
>  9c8
>  <      $NetBSD: expand.c,v 1.81 2008/12/21 17:15:09 christos Exp $
>  ---
>  >      $NetBSD: expand.c,v 1.80 2008/12/20 20:36:44 christos Exp $
>  12c11
>  <      $NetBSD: jobs.c,v 1.68 2008/12/21 17:16:11 christos Exp $
>  ---
>  >      $NetBSD: jobs.c,v 1.66 2008/10/16 15:36:23 dholland Exp $
>  
>  The problem should be fixed with those revisions.

Yes, it is. The broken version comes with latest releng autobuilder
(ftp://ftp.netbsd.org/pub/NetBSD-daily/HEAD/200812210000Z/).

Using a self-compiled bin/sh from latest sources actually fixes
the problem and makes etcupdate work again.

Christoph

<Prev in Thread] Current Thread [Next in Thread>