History log of /freebsd-current/usr.bin/perror/perror.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/


# 1a7ac2bd 07-Jul-2023 Alfonso Gregory <gfunni234@gmail.com>

Mark usage function as __dead2 in programs where it does not return

In most cases, usage does not return, so mark them as __dead2. For the
cases where they do return, they have not been marked __dead2.

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/735


# 4d846d26 10-May-2023 Warner Losh <imp@FreeBSD.org>

spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD

The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch
up to that fact and revert to their recommended match of BSD-2-Clause.

Discussed with: pfg
MFC After: 3 days
Sponsored by: Netflix


# 1de7b4b8 27-Nov-2017 Pedro F. Giffuni <pfg@FreeBSD.org>

various: general adoption of SPDX licensing ID tags.

Mainly focus on files that use BSD 2-Clause license, however the tool I
was using misidentified many licenses so this was mostly a manual - error
prone - task.

The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.

No functional change intended.


# 179fa75e 23-Apr-2015 John Baldwin <jhb@FreeBSD.org>

Reassign copyright statements on several files from Advanced
Computing Technologies LLC to Hudson River Trading LLC.

Approved by: Hudson River Trading LLC (who owns ACT LLC)
MFC after: 1 week


# 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.


# 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.


# 0b1ab65e 06-Dec-2009 Edwin Groothuis <edwin@FreeBSD.org>

MFC of r199642

The output of perror(1) is now showing local messages for locales
supported by libc/nls

PR: bin/140499
Approved by: gnn@


# ec9f71c4 21-Nov-2009 Edwin Groothuis <edwin@FreeBSD.org>

The output of perror(1) is now showing local messages for locales
supported by libc/nls

PR: bin/140499
Approved by: gnn@


# 896406c9 28-May-2009 Xin LI <delphij@FreeBSD.org>

Use prototype for usage(). This makes perror(1) WARNS=6 clean.

Approved by: gnn


# 1fdc45cd 20-May-2009 George V. Neville-Neil <gnn@FreeBSD.org>

A few more style changes as well as a more broad allowance for
errors to be given by the caller. Change output to be easier
for use in scripts.

Submitted by: bce


# 99000ae1 19-May-2009 George V. Neville-Neil <gnn@FreeBSD.org>

Fix a few style(9) nits.

Submitted by: danfe


# 9a3009b8 19-May-2009 George V. Neville-Neil <gnn@FreeBSD.org>

Add a new program, perror, which takes an errno as a command line argument
and outputs the associated textual message in the same way that
perror(3) would if called within a program.