]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
dc(1): Merge minor changes from OpenBSD.
authorPedro F. Giffuni <pfg@FreeBSD.org>
Sun, 26 Feb 2017 22:17:06 +0000 (22:17 +0000)
committerPedro F. Giffuni <pfg@FreeBSD.org>
Sun, 26 Feb 2017 22:17:06 +0000 (22:17 +0000)
commit6ef0daee41ed4e6932af5716aab34417780037c2
treec9124fecde79bbc9e0700ef2c43fc0ee54e3ffb8
parentb62c1f2b18a00ff0fa83e07ba9287b7c1d98aab0
dc(1): Merge minor changes from OpenBSD.

Prefer setvbuf() to setlinebuf() for portability.
Some style(9) and redundant tests for NULL.

These are only meant to ease up merging newer changes but we are skipping
changes done in order to accomodate OpenBSD's pledge support.

Obtained from: OpenBSD
MFC after: 2 weeks
usr.bin/dc/bcode.c
usr.bin/dc/dc.c
usr.bin/dc/stack.c