Page MenuHomeFreeBSD

Fix newvers.sh on macOS 10.15
ClosedPublic

Authored by arichardson on Fri, Mar 20, 11:01 AM.

Details

Summary

It appears that the /bin/sh echo now defaults to -e and therefore the
#define VERSTR included newline characters instead of \n which caused
compiler errors.
A less fragile solution might be to bootstrap the in-tree /bin/sh but that
requires more changes.

Test Plan

VERSTR contained a newline before, now contains \n

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

arichardson created this revision.Fri, Mar 20, 11:01 AM
brooks accepted this revision.Mon, Mar 23, 5:42 PM
This revision is now accepted and ready to land.Mon, Mar 23, 5:42 PM
This revision was automatically updated to reflect the committed changes.