History log of /freebsd-current/usr.bin/dc/dc.c
Revision Date Author Comments
# 1d386b48 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line .c pattern

Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/


# 31b99881 17-Jun-2018 Eitan Adler <eadler@FreeBSD.org>

dc: make use of caph_enter

We already use caph library so this makes sense.


# 6ef0daee 26-Feb-2017 Pedro F. Giffuni <pfg@FreeBSD.org>

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


# cd1693d3 07-Nov-2016 Conrad Meyer <cem@FreeBSD.org>

Capsicumize some trivial stdio programs

Trivially capsicumize some simple programs that just interact with
stdio. This list of programs uses 'pledge("stdio")' in OpenBSD.

No objection from: allanjude, emaste, oshogbo
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D8307


# eff269ee 27-Feb-2013 Glen Barber <gjb@FreeBSD.org>

Properly handle '-h' argument.

PR: 176332
Reviewed by: scottl
MFC after: 3 days


# 267265e0 06-Nov-2011 Ed Schouten <ed@FreeBSD.org>

Add missing static keywords to dc(1)


# a7d5f7eb 19-Oct-2010 Jamie Gritton <jamie@FreeBSD.org>

A new jail(8) with a configuration file, to replace the work currently done
by /etc/rc.d/jail.


# 5349f702 10-Jun-2010 Gabor Kovesdan <gabor@FreeBSD.org>

- Fix style(9)

Submitted by: ed
Approved by: delphij (mentor)


# 31dadaf6 06-Jun-2010 Gabor Kovesdan <gabor@FreeBSD.org>

- Fig segmentation fault

Submitted by: Hizel Ildar <hizel@vyborg.ru> (via current@)


# fe0506d7 09-Mar-2010 Marcel Moolenaar <marcel@FreeBSD.org>

Create the altix project branch. The altix project will add support
for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting
is a two-module system, consisting of a base compute module and a
CPU expansion module. SGI's NUMAFlex architecture can be an excellent
platform to test CPU affinity and NUMA-aware features in FreeBSD.


# 7121df63 03-Feb-2010 Gabor Kovesdan <gabor@FreeBSD.org>

- style(9)

Approved by: delphij (mentor)


# 4ef08904 03-Feb-2010 Gabor Kovesdan <gabor@FreeBSD.org>

- Remove dead variable assignments
- Fix -x

Submitted by: uqs
Approved by: delphij (mentor)


# fdf1f88b 20-Jan-2010 Gabor Kovesdan <gabor@FreeBSD.org>

Replace GNU bc/dc with BSDL versions ported from OpenBSD. They have a good
compatibility level with the GNU counterparts and have shown to be mature
enough. For now, the GNU versions aren't removed from the tree, just detached
from the build.

Sponsored by: Google Summer of Code 2008
Portbuild run by: erwin
Approved by: delphij