Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | - for readability when the exponent < 10 don't prefix it with 0x (from kre) | 2020-10-07 | 1 | -8/+19 | ||
| | | | | - fix usage - merge printing code. | |||||
* | PR/55695: Andreas Gustafsson: factor(6) -h option doesn't always work | 2020-10-05 | 1 | -3/+41 | ||
| | | | Handle -h for factors greater than the primes table. | |||||
* | revert previous and don't parse octal | 2020-10-05 | 1 | -7/+4 | ||
| | ||||||
* | factor: usage(): mark __dead | 2020-10-05 | 1 | -3/+3 | ||
| | ||||||
* | - Accept octal input. | 2020-10-04 | 1 | -5/+6 | ||
| | | | - Don't play with the original string so we can print it. | |||||
* | Fix a typo (s/int/in/) | 2020-10-04 | 1 | -2/+2 | ||
| | ||||||
* | PR/55693: Andreas Gustafsson: factor(6) lists factors in wrong order | 2020-10-03 | 2 | -188/+231 | ||
| | | | | Sync with FreeBSD and change their -h (that printed hex) to -x because we were already using -h. | |||||
* | avoid uninit memory and use memmove vs strncpy for a will be | 2020-09-07 | 1 | -3/+3 | ||
| | | | truncated on purpose string. | |||||
* | apply ${GCC_NO_FORMAT_TRUNCATION} to scores.c | 2020-09-06 | 1 | -1/+2 | ||
| | ||||||
* | s/ be be / be / | 2020-08-19 | 2 | -2/+2 | ||
| | ||||||
* | robots: Use arc4random_uniform for better uniform distribution | 2020-07-26 | 2 | -16/+6 | ||
| | ||||||
* | random(6): Use arc4random_uniform to simplify code | 2020-07-26 | 1 | -9/+5 | ||
| | ||||||
* | Revert arc4random usage for now | 2020-07-26 | 1 | -3/+5 | ||
| | | | | | this is a host tool and needs to be portable future plans: add arc4random to libnbcompat | |||||
* | fortune: arc4random_uniform for better uniform values than random() % ... | 2020-07-21 | 2 | -20/+11 | ||
| | ||||||
* | tetris: Use arc4random_uniform instead of modulo for better randomness | 2020-07-21 | 2 | -4/+3 | ||
| | ||||||
* | Avoid messing up the display when too many letters are guessed at once. | 2020-07-12 | 1 | -4/+12 | ||
| | | | | | | | | The field to put them in was made 26 characters wide... but includes the string "Guessed: ". So if you get to 17 it wraps to the next line and clreol()'s it. Instead, when reaching this point step on the "Guessed:" string instead. Reported by phil@. | |||||
* | cgram(6): use standard cursor keys, use standard shuffle algorithm | 2020-07-02 | 1 | -9/+13 | ||
| | | | | | | | The previous shuffle algorithm asked for 100 random numbers, on average. The new algorithm asks exactly for 26 random numbers. Curses predefines numeric constants for keys, and there is no apparent reason not to use these standard keys for cursor movement. | |||||
* | A revision of "The purpose of computing is insight, not numbers" by | 2020-06-15 | 1 | -0/+2 | ||
| | | | | Richard Hamming. From The Art of Doing Science and Engineering | |||||
* | Recommend using `pkg_admin {fetch-pkg-vulnerabilities,audit}' instead of | 2020-06-07 | 1 | -2/+2 | ||
| | | | {download-vulnerability-list,audit-packages}. | |||||
* | Properly quote printf string | 2020-06-07 | 1 | -1/+1 | ||
| | | | Noticed by Ottavio Caruso on #netbsd@Freenode, thanks! | |||||
* | Heads up on Bell patents | 2020-05-18 | 1 | -0/+5 | ||
| | | | P21 on https://minnie.tuhs.org/Archive/Documentation/AUUGN/AUUGN-V01.1.pdf | |||||
* | Remove extra semicolon. | 2020-05-14 | 1 | -3/+3 | ||
| | ||||||
* | Simplify, little KNF | 2020-04-30 | 1 | -22/+22 | ||
| | ||||||
* | Simplify, errors to stderr. | 2020-04-30 | 1 | -17/+18 | ||
| | ||||||
* | unstr: Check that the input filename fits in the buffer. | 2020-04-29 | 1 | -3/+3 | ||
| | ||||||
* | strfile: Check that input/output filenames don't exceed the buffer size | 2020-04-29 | 1 | -4/+16 | ||
| | ||||||
* | buffnum is shared between subs.c and fancy.c | 2020-04-22 | 2 | -5/+5 | ||
| | ||||||
* | Disks can sense vibes, DTrace confirms it. | 2020-04-02 | 1 | -0/+3 | ||
| | | | https://youtu.be/tDacjrSCeq4 | |||||
* | Andrew Weatherall's tattoo and a track on A Pox On The Pioneers album. | 2020-02-22 | 1 | -0/+2 | ||
| | | | | | https://pbs.twimg.com/media/ERAuddhU4AAFv3w?format=jpg&name=orig Story: https://www.dummymag.com/features/andrew-weatherall-interview-it-s-bollocks-it-s-discos-tell-me-tales-of-the/ | |||||
* | something I apparently forgot to commit months or years ago | 2020-02-16 | 1 | -0/+3 | ||
| | ||||||
* | games/hack: Suppress -Werror=stringop-truncation error. | 2020-02-08 | 1 | -1/+2 | ||
| | | | | | | | Add GCC_NO_STRINGOP_TRUNCATION to hack.end.c to prevent build failure. Error was reported when build.sh was run with MKLIBCSANITIZER=yes flag. Reviewed by: kamil@ | |||||
* | games/hack: Revert the strlcpy(1) change since this changes expected ↵ | 2020-02-07 | 1 | -3/+3 | ||
| | | | | | behavior from strncpy(3). Reviewed by: kamil@ | |||||
* | games/hack: Fix -Wstringop-truncation warning. | 2020-02-07 | 1 | -3/+3 | ||
| | | | | | | | Replace strncpy(3) with strlcpy(3). Error was reported when build.sh was run with MKLIBCSANITIZER=yes flag. Reviewed by: kamil@ | |||||
* | games/battlestar: Replace snprintf(3) with strlcpy(3) for better performance. | 2020-02-06 | 1 | -6/+6 | ||
| | | | Reviewed by: kamil@ | |||||
* | games/battlestar: Fix the -Werror=restrict warning. | 2020-02-05 | 1 | -6/+6 | ||
| | | | | | | | | Replace strcpy(1) with the safer snprintf(3) which guarantees NULL termination of strings. Error was reported when build.sh was run with MKLIBCSANITIZER=yes flag. Reviewed by: kamil@ | |||||
* | s/saftey/safety/ | 2019-12-27 | 1 | -2/+2 | ||
| | ||||||
* | s/opration/operation/ | 2019-12-27 | 1 | -1/+1 | ||
| | ||||||
* | Introspection. From "Surely You're Joking, Mr. Feynman!" | 2019-12-03 | 1 | -0/+6 | ||
| | ||||||
* | https://twitter.com/sei6r/status/1182433546331279360 | 2019-11-10 | 1 | -0/+3 | ||
| | ||||||
* | Definition of austerity by Alexei Sayle on Radio 4 | 2019-11-10 | 1 | -0/+4 | ||
| | | | https://web.archive.org/web/20190916192807/https://www.bbc.co.uk/sounds/play/m0008bbc | |||||
* | Gcc-8 bug confusion with restrict on sh3 | 2019-10-29 | 1 | -1/+5 | ||
| | ||||||
* | Chris' happiest moment | 2019-10-27 | 1 | -0/+6 | ||
| | | | http://bbc.co.uk/programmes/b09b1zbb | |||||
* | adjust a fallthru comment and add a missing break. | 2019-10-13 | 1 | -3/+5 | ||
| | ||||||
* | introduce some common variables for use in GCC warning disables: | 2019-10-13 | 4 | -4/+13 | ||
| | | | | | | | | | | | | | | | | | GCC_NO_FORMAT_TRUNCATION -Wno-format-truncation (GCC 7/8) GCC_NO_STRINGOP_TRUNCATION -Wno-stringop-truncation (GCC 8) GCC_NO_STRINGOP_OVERFLOW -Wno-stringop-overflow (GCC 8) GCC_NO_CAST_FUNCTION_TYPE -Wno-cast-function-type (GCC 8) use these to turn off warnings for most GCC-8 complaints. many of these are false positives, most of the real bugs are already commited, or are yet to come. we plan to introduce versions of (some?) of these that use the "-Wno-error=" form, which still displays the warnings but does not make it an error, and all of the above will be re-considered as either being "fix me" (warning still displayed) or "warning is wrong." | |||||
* | expand the internal consistency checks in truedirec() to avoid | 2019-10-05 | 1 | -7/+10 | ||
| | | | | | fallthrough cases. now if direction turns up wrong (it should not, but this code can't tell that, and convert it to an enum that would also fix this, is more effort than this is worth. | |||||
* | convert HAVE_GCC == 7 to HAVE_GCC >= 7. | 2019-09-29 | 2 | -4/+4 | ||
| | ||||||
* | End sentence with a dot. | 2019-09-02 | 1 | -2/+2 | ||
| | ||||||
* | Document history. | 2019-09-01 | 1 | -2/+9 | ||
| | | | | | https://www.bell-labs.com/usr/dmr/www/man11.pdf Between v1 & v6 UNIX, bcd was rewritten in C, but I don't know if which version, hence I've skipped mentioning it. | |||||
* | Donnie Darko | 2019-08-22 | 1 | -0/+2 | ||
| | ||||||
* | The mother of all demos | 2019-07-26 | 1 | -0/+7 | ||
| |