~vcs-imports/pmake/main

Viewing all changes in revision 2582.

  • Committer: rillig
  • Date: 2020-10-05 21:37:07 UTC
  • Revision ID: rillig-20201005213707-xm3b2ey213x32wwb
make(1): prepare job.c, main.c, parse.c, suff.c for WARNS=6

In job.c, GCC 5 complains about the macro FILENO that it has type
unsigned int, which is then passed as the argument of dup2, which
expects a simple int.  Maybe this workaround from 1995 is not necessary
anymore, or maybe it is but can be restricted to the few affected
platforms.

This leaves meta.c and the filemon files to be converted.  I didn't do
them since they are not well covered by the unit tests.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: