Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is a new major release with a number of changes and extensions: - Limited the number of temporary numbers and made the space for them static so that allocating more space for them cannot fail. - Allowed integers with non-zero scale to be used with power, places, and shift operators. - Added greatest common divisor and least common multiple to lib2.bc. - Made bc and dc UTF-8 capable. - Added the ability for users to have bc and dc quit on SIGINT. - Added the ability for users to disable prompt and TTY mode by environment variables. - Added the ability for users to redefine keywords. - Added dc's modular exponentiation and divmod to bc. - Added the ability to assign strings to variables and array elements and pass them to functions in bc. - Added dc's asciify command and stream printing to bc. - Added bitwise and, or, xor, left shift, right shift, reverse, left rotate, right rotate, and mod functions to lib2.bc. - Added the functions s2u(x) and s2un(x,n), to lib2.bc.
- Loading branch information
Showing
4 changed files
with
42 additions
and
39 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
TIMESTAMP = 1620795472 | ||
SHA256 (gavinhoward-bc-4.0.2_GH0.tar.gz) = f940483d09087746b2da56000e406320a2a7e9ba7d61920621b33bd7981fa151 | ||
SIZE (gavinhoward-bc-4.0.2_GH0.tar.gz) = 1139323 | ||
TIMESTAMP = 1628528378 | ||
SHA256 (gavinhoward-bc-5.0.0_GH0.tar.gz) = 3b25215f5e6ceb8c073f5486473d6542fe6d76c580f3e7a343cefc58a8dfc0ea | ||
SIZE (gavinhoward-bc-5.0.0_GH0.tar.gz) = 1164772 |
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
--- scripts/locale_install.sh.orig 2021-06-28 18:10:45 UTC | ||
+++ scripts/locale_install.sh | ||
@@ -243,6 +243,7 @@ for file in $locales_dir/*.msg; do | ||
# Generate the proper location for the cat file. | ||
loc=$(gen_nlspath "$destdir/$nlspath" "$locale" "$main_exec") | ||
|
||
+ echo gencatfile "$loc" "$file" | ||
gencatfile "$loc" "$file" | ||
|
||
done | ||
@@ -282,8 +283,6 @@ for file in $locales_dir/*.msg; do | ||
linkdir=$(dirname "$file") | ||
locale=$(basename "$link" .msg) | ||
linksrc=$(gen_nlspath "$nlspath" "$locale" "$main_exec") | ||
- relloc="${loc##$destdir/}" | ||
- rel=$(relpath "$linksrc" "$relloc") | ||
|
||
# If the target file doesn't exist (because it's for a locale that is | ||
# not installed), generate it anyway. It's easier this way. | ||
@@ -293,7 +292,8 @@ for file in $locales_dir/*.msg; do | ||
|
||
# Finally, symlink to the install of the generated cat file that | ||
# corresponds to the correct msg file. | ||
- ln -fs "$rel" "$loc" | ||
+ echo ln "$linksrc" "$loc" | ||
+ ln "$linksrc" "$loc" | ||
fi | ||
|
||
done |