Page MenuHomePhabricator

build: Fix build and behaviour on OpenBSD.
ClosedPublic

Authored by netstar on Jun 22 2019, 2:27 PM.

Details

Summary

OpenBSD does not have strchrnul. Also, fix range
issue with window size.

The geometry is broken on OpenBSD and DragonFlyBSD.
A previous patch solved this issue. Range was
changed to <= 0, but needs to be <= 1 to ensure
the terminal opens and displays content.

Diff Detail

Repository
rTRM apps/terminology
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
netstar requested review of this revision.Jun 22 2019, 2:27 PM
netstar created this revision.
billiob accepted this revision.Jun 23 2019, 7:37 AM
This revision is now accepted and ready to land.Jun 23 2019, 7:37 AM
This revision was automatically updated to reflect the committed changes.