Page MenuHomeFreeBSD

Fix newvers.sh on macOS 10.15
ClosedPublic

Authored by arichardson on Mar 20 2020, 11:01 AM.
Tags
None
Referenced Files
F171898705: D24136.id69713.diff
Mon, Sep 14, 10:44 AM
F171868691: D24136.id69806.diff
Mon, Sep 14, 5:29 AM
Unknown Object (File)
Sun, Sep 13, 10:20 AM
Unknown Object (File)
Sun, Sep 13, 5:32 AM
Unknown Object (File)
Tue, Aug 25, 4:03 PM
Unknown Object (File)
Tue, Aug 25, 4:03 PM
Unknown Object (File)
Aug 9 2026, 2:03 PM
Unknown Object (File)
Aug 9 2026, 11:51 AM
Subscribers

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 - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable