Overview
| Comment: | switch ansi "bold off" code to "reset" for terminals that interpret "bold off" as "double underline"; remove (incorrect) test code from kiosend |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
cef83f01678c97eaaffb84bca3c31346 |
| User & Date: | lexi on 2019-08-21 00:16:00 |
| Other Links: | manifest | tags |
Context
|
2019-08-21
| ||
| 00:28 | Switch to using command -v to check for commands instead of which check-in: fd95e5bc93 user: glow tags: trunk | |
| 00:16 | switch ansi "bold off" code to "reset" for terminals that interpret "bold off" as "double underline"; remove (incorrect) test code from kiosend check-in: cef83f0167 user: lexi tags: trunk | |
|
2019-08-20
| ||
| 22:54 | reorganize posix assembly code check-in: f85e6a07dd user: lexi tags: trunk | |
Changes
Modified global/common.sh from [85eaa3b261] to [254d63007c].
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
me=$0
say() { echo >&2 "[1m($me)[21m $1"; }
has() { which $1 >/dev/null 2>&1; return $?; }
check() {
var=$1
test "${!var}" == "" || return 0
say "we were not able to detect a default value for the configuration variable \$$var. please set this variable to $2 and try again."
exit 1
}
test "$out" = "" && {
say "\$out environment variable must be set to your build directory - are you running this script by hand? run [1m./build.sh[21m in the root directory instead!"
exit 2
}
reqpack() {
if ! has "$1"; then
say "to $2 for [1mlibk[21m, install the [1m$1[21m package and try again"
exit 3
fi
}
|
| | | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
me=$0
say() { echo >&2 "[1m($me)[m $1"; }
has() { which $1 >/dev/null 2>&1; return $?; }
check() {
var=$1
test "${!var}" == "" || return 0
say "we were not able to detect a default value for the configuration variable \$$var. please set this variable to $2 and try again."
exit 1
}
test "$out" = "" && {
say "\$out environment variable must be set to your build directory - are you running this script by hand? run [1m./build.sh[m in the root directory instead!"
exit 2
}
reqpack() {
if ! has "$1"; then
say "to $2 for [1mlibk[m, install the [1m$1[m package and try again"
exit 3
fi
}
|
Modified kio/send.fn.c from [3d6d32a7c0] to [1b46213bbd].
38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 |
case k_platform_error_EAGAIN: return kiocond_poll; case k_platform_error_EFBIG: return kiocond_fail_too_big; case k_platform_error_EINTR: return kiocond_interrupt; case k_platform_error_EDESTADDRREQ: return kiocond_fail_no_peer; default: return kiocond_fail; } # else # if KVos == win # error windows IO send function not yet defined # else Knoimpl(kiosend,KVos); # error missing implementation // boring error for plebs # endif # endif if (len != null) *len = size; return kiocond_ok; } |
< < < | | < |
38 39 40 41 42 43 44 45 46 47 48 49 50 51 |
case k_platform_error_EAGAIN: return kiocond_poll; case k_platform_error_EFBIG: return kiocond_fail_too_big; case k_platform_error_EINTR: return kiocond_interrupt; case k_platform_error_EDESTADDRREQ: return kiocond_fail_no_peer; default: return kiocond_fail; } # else Knoimpl(kiosend,KVos); # error missing implementation // boring error for plebs # endif if (len != null) *len = size; return kiocond_ok; } |