cvs commit: src/usr.bin/make job.c job.h
Hartmut Brandt
harti at FreeBSD.org
Tue Nov 30 07:35:52 PST 2004
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
More information about the cvs-src
mailing list