GitWeb
Get Gentoo!
gentoo.org sites
gentoo.org
Wiki
Bugs
Forums
Packages
Planet
Archives
Sources
Infra Status
Home
Gentoo Repository
Repositories
Projects
Developer Overlays
User Overlays
Data
Websites
index
:
proj/gentoo-functions.git
master
Base functions for Gentoo systems
William Hubbs <williamh@gentoo.org>
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
functions.sh
Commit message (
Expand
)
Author
Age
Files
Lines
*
Document that the pipefail option is unsupported
Kerin Millar
2024-08-22
1
-3
/
+3
*
Warn upon sourcing if errexit or nounset be enabled
Kerin Millar
2024-08-22
1
-3
/
+15
*
Double quote a ${parameter+word} expansion in defer()
Kerin Millar
2024-08-22
1
-1
/
+1
*
Optimise trim() for bash where processing the positional parameters
Kerin Millar
2024-08-22
1
-5
/
+14
*
Move an SC2317 exemption closer to where it is needed
Kerin Millar
2024-08-22
1
-1
/
+1
*
Have whenceforth() work around a word splitting bug in OpenBSD sh
Kerin Millar
2024-08-22
1
-1
/
+9
*
Print a diagnostic message if no modules can be found
Kerin Millar
2024-08-22
1
-1
/
+4
*
Disable shellcheck SC2153
Kerin Millar
2024-08-22
1
-1
/
+1
*
Put braces around the expansion of the path variable
Kerin Millar
2024-08-22
1
-4
/
+4
*
Check for EPOCHREALTIME support in a safer manner
Kerin Millar
2024-08-22
1
-1
/
+1
*
Check for SRANDOM support in a safer manner
Kerin Millar
2024-08-21
1
-1
/
+15
*
Reduce the two non-bash srandom() implementations to just one
Kerin Millar
2024-08-21
1
-41
/
+12
*
Use an entropy pool in srandom(), even if the shell has forked
Kerin Millar
2024-08-21
1
-21
/
+22
*
Use an entropy pool for the mksh-targeting srandom() implementation
Kerin Millar
2024-08-17
1
-26
/
+45
*
Ensure that LC_ALL is exported in srandom(); be safer for macOS
Kerin Millar
2024-08-17
1
-2
/
+1
*
Explicitly initialise a local variable in _update_pid()
Kerin Millar
2024-08-17
1
-0
/
+1
*
Abort sourcing for ksh93
Kerin Millar
2024-08-17
1
-0
/
+7
*
Abort sourcing for yash in posixlycorrect mode
Kerin Millar
2024-08-16
1
-8
/
+15
*
Render the non-bash srandom() implementation faster
Kerin Millar
2024-08-11
1
-3
/
+66
*
Remedy false positives in categories SC2034 and SC2154
Kerin Millar
2024-08-11
1
-5
/
+0
*
Exempt _should_throttle() from shellcheck SC2317
Kerin Millar
2024-08-11
1
-0
/
+1
*
Use the -nt and -ot test primaries again rather than depend on GNU find
Kerin Millar
2024-08-11
1
-64
/
+93
*
Render _update_time() a no-op for the yash shell
Kerin Millar
2024-08-11
1
-1
/
+2
*
Handle integer overflow as a special case in _should_throttle()
Kerin Millar
2024-08-11
1
-7
/
+15
*
Rename quote_args_bash() to _quote_args_bash()
Kerin Millar
2024-08-11
1
-21
/
+24
*
Implement a variant of quote_args() optimised for bash
Kerin Millar
2024-08-11
1
-0
/
+26
*
Have srandom() employ an upper bound of 2^31-1
Kerin Millar
2024-08-11
1
-5
/
+37
*
Avoid a subshell for is_identifier()
Kerin Millar
2024-08-11
1
-4
/
+4
*
Re-wrap a comment in get_nprocs()
Kerin Millar
2024-08-11
1
-1
/
+2
*
Document POSIXLY_CORRECT as an influential variable
Kerin Millar
2024-08-11
1
-0
/
+1
*
Make _select_by_mtime() work correctly for paths read from STDIN
Kerin Millar
2024-08-11
1
-1
/
+1
*
Ensure a radix character of U+2E in _update_time()
Kerin Millar
2024-08-05
1
-2
/
+4
*
Add the assign() and deref() functions
Kerin Millar
2024-08-05
1
-0
/
+44
*
Alter a variable name in quote_args()
Kerin Millar
2024-08-03
1
-2
/
+2
*
Have chdir() enforce POSIX interpretation 1047
Kerin Millar
2024-08-03
1
-3
/
+10
*
Have hr() employ a divide-by-16 strategy
Kerin Millar
2024-08-02
1
-6
/
+6
*
Jettison the bash-specific hr() implementation
Kerin Millar
2024-08-02
1
-15
/
+9
*
Adhere to the Allman style for _select_by_mtime()
Kerin Millar
2024-08-02
1
-1
/
+2
*
Explain that get_nprocs() is called by parallel_run()
Kerin Millar
2024-08-02
1
-4
/
+4
*
Move is_subset() to experimental
Kerin Millar
2024-08-02
1
-40
/
+0
*
Render hr() faster still for shells other than bash
Kerin Millar
2024-08-02
1
-0
/
+4
*
Render hr() faster
Kerin Millar
2024-08-02
1
-14
/
+20
*
Render contains_all() and contains_any() faster
Kerin Millar
2024-08-02
1
-95
/
+43
*
Render quote_args() robust and implement a test case
Kerin Millar
2024-08-02
1
-25
/
+40
*
Add a comment regarding POSIX XCU compatibility
Kerin Millar
2024-07-11
1
-0
/
+5
*
Mention that _find0() requires findutils >=4.9
Kerin Millar
2024-07-11
1
-1
/
+2
*
Replace "Issue 8" with "POSIX-1.2024"
Kerin Millar
2024-07-10
1
-5
/
+5
*
Mention that _SC_NPROCESSORS_ONLN is now standard
Kerin Millar
2024-07-09
1
-2
/
+2
*
Have _update_time() measure in centiseconds
Kerin Millar
2024-07-09
1
-31
/
+22
*
Initialise the genfun_bin_true variable lazily
Kerin Millar
2024-07-08
1
-26
/
+32
[next]