lp:pmake

Created by VCS imports on 2005-12-31 and last modified on 2021-04-14
Get this branch:
bzr branch lp:pmake

Related bugs

Related blueprints

Branch information

Owner:
VCS imports
Project:
pmake
Status:
Development

Import details

Import Status: Reviewed

This branch is an import of the CVS module src/usr.bin/make from :pserver:anoncvs:anoncvs@anoncvs.NetBSD.org:/cvsroot.

The next import is scheduled to run in 2 hours.

Last successful import was 9 hours ago.

Import started 9 hours ago on izar and finished 9 hours ago taking 40 seconds — see the log
Import started 22 hours ago on izar and finished 22 hours ago taking 25 seconds — see the log
Import started on 2021-04-13 on alnitak and finished on 2021-04-13 taking 25 seconds — see the log
Import started on 2021-04-13 on izar and finished on 2021-04-13 taking 30 seconds — see the log
Import started on 2021-04-12 on izar and finished on 2021-04-12 taking 30 seconds — see the log
Import started on 2021-04-12 on alnitak and finished on 2021-04-12 taking 30 seconds — see the log
Import started on 2021-04-11 on izar and finished on 2021-04-11 taking 50 seconds — see the log
Import started on 2021-04-11 on izar and finished on 2021-04-11 taking 40 seconds — see the log
Import started on 2021-04-10 on izar and finished on 2021-04-10 taking 30 seconds — see the log
Import started on 2021-04-10 on izar and finished on 2021-04-10 taking 25 seconds — see the log

Recent revisions

4174. By rillig 15 hours ago

make: let the compiler decide whether to inline string functions

On x86_64, this reduces the binary size by 2 kB.

4173. By rillig 15 hours ago

make: turn run-time string concatenation into compile-time

No functional change.

4172. By rillig 15 hours ago

make: remove unnecessary modifier ':U' for certain fixed expressions

No functional change, since the expression is evaluated using
VARE_WANTRES, not using VARE_UNDEFERR.

4171. By rillig 16 hours ago

make: reduce memory allocations in the modifiers ':D' and ':U'

4170. By rillig 16 hours ago

make: rename members of ModifyWord_LoopArgs

No functional change.

4169. By rillig 17 hours ago

make: clean up pattern flags for the modifiers ':S' and ':C'

No special handling is necessary for C90 since none of the struct
members is a const_member.

The prefix 'Var' is not necessary since this type does not apply to a
variable but only to a modifier.

No functional change.

4168. By rillig on 2021-04-12

make: spell SysV in mixed case

No functional change.

4167. By rillig on 2021-04-12

make: reduce memory allocation and strlen calls in modifier ':from=to'

Previously, SysVMatch was quite verbose and felt like hand-optimized
assembler code, which made it difficult to discover the underlying idea
of the code.

All this code was replaced with two simple calls to Substring_HasPrefix
and Substring_HasSuffix. Now that the operands of that modifier are no
longer passed as C strings, there is no need to collect all information
in a single scan through the word and the pattern.

It was not necessary to call Var_Subst unconditionally. Calling it only
when the string contains a '$' saves another memory allocation and two
string copies (because of the Buf_DoneDataCompact).

No functional change.

4166. By rillig on 2021-04-12

make: in the ':Q' modifier, only allocate memory if necessary

4165. By rillig on 2021-04-12

tests/make: fix test for modifier ':from=to'

I had forgotten to remove the single quotes, to produce a really empty
word. Plus I had forgotten the modifier ':Q' for the result, which
meant that the single quotes did not show up in the output.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.

Subscribers

No subscribers.