Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Nov 2004 15:35:51 +0000 (UTC)
From:      Hartmut Brandt <harti@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/usr.bin/make job.c job.h
Message-ID:  <200411301535.iAUFZpCt098567@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
harti       2004-11-30 15:35:51 UTC

  FreeBSD src repository

  Modified files:
    usr.bin/make         job.c job.h 
  Log:
  Constify the array of predefined shells. It turns out that we need two
  versions of the structure definition for this: one with const char
  pointers, because otherwise gcc won't let us initialize the fields with
  constant strings, and one without the const, because we need to work
  with the structure.
  
  Revision  Changes    Path
  1.61      +36 -21    src/usr.bin/make/job.c
  1.27      +27 -24    src/usr.bin/make/job.h



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