| #
eba230af
|
| 25-Sep-2023 |
John Baldwin <jhb@FreeBSD.org> |
Purge more stray embedded $FreeBSD$ strings
These do not use __FBSDID but instead use bare char arrays.
Reviewed by: imp, emaste Differential Revision: https://reviews.freebsd.org/D41957
|
| #
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 __dea
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
show more ...
|
| #
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
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
show more ...
|
| #
d22f0363
|
| 09-Nov-2022 |
Kyle Evans <kevans@FreeBSD.org> |
mktemp: skip later TMPDIR check if -p is specified
We already did the necessary $TMPDIR fallback, if it's going to be used. Skip the later check so that we don't accidentally override our -p argumen
mktemp: skip later TMPDIR check if -p is specified
We already did the necessary $TMPDIR fallback, if it's going to be used. Skip the later check so that we don't accidentally override our -p argument.
Fixes: ac6f924e1c ("mktemp: add -p/--tmpdir argument") Sponsored by: Klara, Inc.
show more ...
|
| #
a6346c02
|
| 02-Nov-2022 |
Kyle Evans <kevans@FreeBSD.org> |
mktemp: don't double up on trailing slashes for -t paths
This is a minor cosmetic change; re-organize slightly to set tmpdir to _PATH_TMP if we didn't otherwise have a tmpdir candidate, then check t
mktemp: don't double up on trailing slashes for -t paths
This is a minor cosmetic change; re-organize slightly to set tmpdir to _PATH_TMP if we didn't otherwise have a tmpdir candidate, then check the trailing char before appending another slash.
While we're here, remove some bogus whitespace and add a test case for this change.
Obtained from: https://github.com/apple-oss-distributions/shell_cmds Sponsored by: Klara, Inc.
show more ...
|
| #
ac6f924e
|
| 31-Oct-2022 |
Kyle Evans <kevans@FreeBSD.org> |
mktemp: add -p/--tmpdir argument
This matches other mktemp implementations, including OpenBSD and GNU. The -p option can be used to provide a tmpdir prefix for specified templates. Precedence works
mktemp: add -p/--tmpdir argument
This matches other mktemp implementations, including OpenBSD and GNU. The -p option can be used to provide a tmpdir prefix for specified templates. Precedence works out like so:
-t flag: - $TMPDIR - -p directory - /tmp
Implied -t flag (no arguments or only -d flag): - -p directory - $TMPDIR - /tmp
Some tests have been added for mktemp(1) in the process.
Reviewed by: imp (earlier version), wosch Sponsored by: Klara, Inc. Differential Revision: https://reviews.freebsd.org/D37121
show more ...
|
| #
cfc57d7d
|
| 31-Oct-2022 |
Kyle Evans <kevans@FreeBSD.org> |
mktemp: add some GNU-compatible long options
GNU maketemp has long options for -d, -q, and -u, so let's add these now for compatibility.
Reviewed by: emaste, imp, wosch Sponsored by: Klara, Inc. Di
mktemp: add some GNU-compatible long options
GNU maketemp has long options for -d, -q, and -u, so let's add these now for compatibility.
Reviewed by: emaste, imp, wosch Sponsored by: Klara, Inc. Differential Revision: https://reviews.freebsd.org/D37120
show more ...
|
| #
98839c40
|
| 12-Feb-2022 |
Wolfram Schneider <wosch@FreeBSD.org> |
better unique file names
Our mktemp(1) implementation uses 8-X for a temp file by default. That's ok, but we should increase the value from 8 to 10 as many other OS already did.
PR: 261438
|
| #
eba230af
|
| 25-Sep-2023 |
John Baldwin <jhb@FreeBSD.org> |
Purge more stray embedded $FreeBSD$ strings
These do not use __FBSDID but instead use bare char arrays.
Reviewed by: imp, emaste Differential Revision: https://reviews.freebsd.org/D41957
|
| #
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 __dea
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
show more ...
|
| #
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
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
show more ...
|
| #
d22f0363
|
| 09-Nov-2022 |
Kyle Evans <kevans@FreeBSD.org> |
mktemp: skip later TMPDIR check if -p is specified
We already did the necessary $TMPDIR fallback, if it's going to be used. Skip the later check so that we don't accidentally override our -p argumen
mktemp: skip later TMPDIR check if -p is specified
We already did the necessary $TMPDIR fallback, if it's going to be used. Skip the later check so that we don't accidentally override our -p argument.
Fixes: ac6f924e1c ("mktemp: add -p/--tmpdir argument") Sponsored by: Klara, Inc.
show more ...
|
| #
a6346c02
|
| 02-Nov-2022 |
Kyle Evans <kevans@FreeBSD.org> |
mktemp: don't double up on trailing slashes for -t paths
This is a minor cosmetic change; re-organize slightly to set tmpdir to _PATH_TMP if we didn't otherwise have a tmpdir candidate, then check t
mktemp: don't double up on trailing slashes for -t paths
This is a minor cosmetic change; re-organize slightly to set tmpdir to _PATH_TMP if we didn't otherwise have a tmpdir candidate, then check the trailing char before appending another slash.
While we're here, remove some bogus whitespace and add a test case for this change.
Obtained from: https://github.com/apple-oss-distributions/shell_cmds Sponsored by: Klara, Inc.
show more ...
|
| #
ac6f924e
|
| 31-Oct-2022 |
Kyle Evans <kevans@FreeBSD.org> |
mktemp: add -p/--tmpdir argument
This matches other mktemp implementations, including OpenBSD and GNU. The -p option can be used to provide a tmpdir prefix for specified templates. Precedence works
mktemp: add -p/--tmpdir argument
This matches other mktemp implementations, including OpenBSD and GNU. The -p option can be used to provide a tmpdir prefix for specified templates. Precedence works out like so:
-t flag: - $TMPDIR - -p directory - /tmp
Implied -t flag (no arguments or only -d flag): - -p directory - $TMPDIR - /tmp
Some tests have been added for mktemp(1) in the process.
Reviewed by: imp (earlier version), wosch Sponsored by: Klara, Inc. Differential Revision: https://reviews.freebsd.org/D37121
show more ...
|
| #
cfc57d7d
|
| 31-Oct-2022 |
Kyle Evans <kevans@FreeBSD.org> |
mktemp: add some GNU-compatible long options
GNU maketemp has long options for -d, -q, and -u, so let's add these now for compatibility.
Reviewed by: emaste, imp, wosch Sponsored by: Klara, Inc. Di
mktemp: add some GNU-compatible long options
GNU maketemp has long options for -d, -q, and -u, so let's add these now for compatibility.
Reviewed by: emaste, imp, wosch Sponsored by: Klara, Inc. Differential Revision: https://reviews.freebsd.org/D37120
show more ...
|
| #
98839c40
|
| 12-Feb-2022 |
Wolfram Schneider <wosch@FreeBSD.org> |
better unique file names
Our mktemp(1) implementation uses 8-X for a temp file by default. That's ok, but we should increase the value from 8 to 10 as many other OS already did.
PR: 261438
|
| #
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
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.
show more ...
|
| #
cfe30d02
|
| 19-Jun-2013 |
Gleb Smirnoff <glebius@FreeBSD.org> |
Merge fresh head.
|
| #
e477abf7
|
| 27-Nov-2012 |
Alexander Motin <mav@FreeBSD.org> |
MFC @ r241285
|
| #
a10c6f55
|
| 11-Nov-2012 |
Neel Natu <neel@FreeBSD.org> |
IFC @ r242684
|
| #
23090366
|
| 04-Nov-2012 |
Simon J. Gerraty <sjg@FreeBSD.org> |
Sync from head
|
| #
8e0079a0
|
| 02-Oct-2012 |
Eitan Adler <eadler@FreeBSD.org> |
Implement the Sun/GNU extension of using a default prefix when no arguments are supplied.
Reviewed by: jilles Approved by: cperciva MFC after: 1 week
|
| #
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
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.
show more ...
|
| #
cfe30d02
|
| 19-Jun-2013 |
Gleb Smirnoff <glebius@FreeBSD.org> |
Merge fresh head.
|
| #
e477abf7
|
| 27-Nov-2012 |
Alexander Motin <mav@FreeBSD.org> |
MFC @ r241285
|