~vcs-imports/pmake/main

Viewing all changes in revision 3521.

  • Committer: rillig
  • Date: 2020-11-29 21:50:50 UTC
  • Revision ID: rillig-20201129215050-lsejucqs3tlzns3k
make(1): initialize global variables in dir.c

Calling CachedDir_Assign requires that the variable be initialized.  On
most systems, NULL is represented as all-zero bits already.  This change
is only for the few other systems.

Add some comments explaining the implementation of Dir_AddDir since that
is tricky to read from the code alone.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: