This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| > git diff shell.c builtins/evalfile.c | |
| diff --git a/builtins/evalfile.c b/builtins/evalfile.c | |
| index 17a568a0..204f0044 100644 | |
| --- a/builtins/evalfile.c | |
| +++ b/builtins/evalfile.c | |
| @@ -85,6 +85,7 @@ _evalfile (const char *filename, int flags) | |
| size_t file_size; | |
| sh_vmsg_func_t *errfunc; | |
| #if defined (ARRAY_VARS) | |
| + char *real_filename, realbuf[PATH_MAX+1]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| XfdesktopIconView.view.label { | |
| text-shadow: 1px 1px 2px #888888; | |
| color: black; | |
| background: alpha(#ffffff, 0.75); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function ls { | |
| local orig_args=("$@") d_opt=() | |
| local -i argc=0 | |
| while [[ $# -gt 0 ]]; do | |
| case $1 in | |
| -[aAbBcCdDfgGhHiklLmnNorRsStuUvxXZ1]|--all|--almost-all|--author|--context|--dereference|--dereference-command-line|--dereference-command-line-symlink-to-dir|--directory|--dired|--file-type|--full-time|--group-directories-first|--help|--hide-control-chars|--human-readable|--ignore-backups|--inode|--kibibytes|--literal|--no-group|--numeric-uid-gid|--quote-name|--recursive|--reverse|--show-control-chars|--size|--version|--zero) | |
| ;; | |
| -[ITpw]*|@(--block-size|--format|--hide|--ignore|--indicator-style|--indicator-style|--quoting-style|--sort|--tabsize|--time|--time-style|--width)?(=*)) | |
| get_opt_and_optarg_gnu "${@:1:2}" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/lib/portage/package/ebuild/doebuild.py b/lib/portage/package/ebuild/doebuild.py | |
| index 8b65a78..ea09721 100644 | |
| --- a/lib/portage/package/ebuild/doebuild.py | |
| +++ b/lib/portage/package/ebuild/doebuild.py | |
| @@ -1006,6 +1006,10 @@ def doebuild( | |
| ) | |
| if mydo in clean_phases: | |
| + for f in ["keeptemp", "keepwork"]: | |
| + if f in mysettings.features: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function get_opt_and_optarg_gnu { | |
| local optional=false | |
| if [[ $1 == @optional ]]; then | |
| optional=true | |
| shift | |
| fi | |
| OPT=$1 OPTARG= OPTSHIFT=0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| function stopwatch { | |
| local start=${EPOCHREALTIME} diff_i diff_f stop_at= IFS=. | |
| trap 'stop_at=${EPOCHREALTIME}' INT | |
| printf '\r\e[K%s.%06d' 0 0 | |
| function stopwatch_get_diff { | |
| set -- $1 $2 | |
| diff_i=$(( 10#$3 - 10#$1 )) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // get-default-gsettings-backend.c | |
| // Compilable using 'gcc $(pkgconf --cflags --libs gio-2.0) -o get-default-gsettings-backend{,.c}' | |
| // Author: konsolebox | |
| // Copyright Free / Public Domain | |
| #define G_SETTINGS_ENABLE_BACKEND 1 | |
| #include <assert.h> | |
| #include <gio/gio.h> | |
| #include <gio/gsettingsbackend.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/libs/core.bash.in b/libs/core.bash.in | |
| index 2800cc5..a3791ba 100644 | |
| --- a/libs/core.bash.in | |
| +++ b/libs/core.bash.in | |
| @@ -113,6 +113,9 @@ do_action() { | |
| || die -q "Action ${subaction} unknown" | |
| check_do "do_${subaction}" "$@" | |
| fi | |
| + if [[ $? -eq 0 && -e /etc/eselect/hooks/${ESELECT_MODULE_NAME}/${subaction} ]]; then | |
| + source "/etc/eselect/hooks/${ESELECT_MODULE_NAME}/${subaction}" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # ---------------------------------------------------------------------- | |
| # sudodir | |
| # | |
| # Executes command as owner of current directory. | |
| # | |
| # It also calls xhost to give owner access to X if user allows it. | |
| # |