git: fortune(6): Perform some cleanup.

2016-09-01 Thread Rimvydas Jasinskas
commit 017817f0d3647282413c60fbc59d458304e03829 Author: zrj Date: Wed Aug 31 17:44:35 2016 +0300 fortune(6): Perform some cleanup. Mainly use static and fix indentatation. While there fix NOTES (offensive fortunes are installed by default). No functional change.

git: fortune(6): Resort few fortunes databases.

2016-09-01 Thread Rimvydas Jasinskas
commit 57d6ec2443ba95a19ff5dc7a31cc8c667cf1045f Author: zrj Date: Thu Sep 1 13:05:28 2016 +0300 fortune(6): Resort few fortunes databases. To make it easier to check them over (done w/ do_sort + manual edits). Also take care of indenting quotes in startrek. Summary of changes

git: fortune(6): Rework manpages.

2016-09-01 Thread Rimvydas Jasinskas
commit 7a5f870a3ae1bc0116da8f98d5de67931f06291b Author: zrj Date: Thu Sep 1 11:00:30 2016 +0300 fortune(6): Rework manpages. Taken-from: FreeBSD Summary of changes: games/fortune/fortune/fortune.6 | 63 +++-- games/fortune/fortune/fortune.c |

git: fortune(6): Use arc4random_uniform(3).

2016-09-01 Thread Rimvydas Jasinskas
commit a2cdfb90273ff84696f4103580173cce21c12e2b Author: zrj Date: Thu Sep 1 10:38:29 2016 +0300 fortune(6): Use arc4random_uniform(3). Also don't use rindex(). Summary of changes: games/fortune/fortune/fortune.c | 19 +-- games/fortune/strfile/strfile.c | 6 ++--

git: fortune(6): Add FORTUNE_PATH env variable.

2016-09-01 Thread Rimvydas Jasinskas
commit 31b695b4b083b160b2e86792b018942c4235e1b9 Author: zrj Date: Thu Sep 1 10:15:36 2016 +0300 fortune(6): Add FORTUNE_PATH env variable. There was a slight debug logic error in init_prob(). Also search for fortunes in default dports location too. Taken-from: FreeBSD

git: fortune(6): Use argc and argv.

2016-09-01 Thread Rimvydas Jasinskas
commit cb75653e8749dc75c5e74fe374b70190361a46c2 Author: zrj Date: Thu Sep 1 07:54:44 2016 +0300 fortune(6): Use argc and argv. While there disable speedup in collate_range_cmp() (recall causes problems). Summary of changes: games/fortune/fortune/fortune.c | 6 +++--- games/fort

git: fortunes: Fix typos in some of the fortunes.

2016-09-01 Thread Rimvydas Jasinskas
commit 43920920f4b4e16b4b853f56cfa12205cf16d260 Author: zrj Date: Thu Sep 1 18:08:43 2016 +0300 fortunes: Fix typos in some of the fortunes. Also attempt to remove some dups. Taken-from: FreeBSD (mostly) Summary of changes: games/fortune/datfiles/fortunes | 3 -- gam

git: fortune(6): Sync fortunes-o with FreeBSD

2016-09-01 Thread Rimvydas Jasinskas
commit 3410ff942e08d946ee0dba02250312ce5dbc613c Author: zrj Date: Thu Sep 1 18:09:51 2016 +0300 fortune(6): Sync fortunes-o with FreeBSD To prepare for dups removal. Summary of changes: games/fortune/datfiles/fortunes-o | 532 ++ 1 file change

git: fortune(6): Clean up the murphy.

2016-09-01 Thread Rimvydas Jasinskas
commit f7cdf97ab005186ff634bb8609437a2918886ba7 Author: zrj Date: Thu Sep 1 14:00:54 2016 +0300 fortune(6): Clean up the murphy. Fix few typos (most of them are already in fortunes). Remove some dups (almost syncs us with FreeBSD) Summary of changes: games/fortune/datfiles/f

git: fortune(6): Remove some dup fortunes.

2016-09-01 Thread Rimvydas Jasinskas
commit dc9541c0de092ae9a85294a7c60027219e25ffdb Author: zrj Date: Thu Sep 1 12:58:42 2016 +0300 fortune(6): Remove some dup fortunes. Summary of changes: games/fortune/datfiles/limerick | 313 games/fortune/datfiles/zippy| 2 - 2 files chang

git: fortune(6): Turn writing to disk a runtime option.

2016-09-01 Thread Rimvydas Jasinskas
commit bd5b2c7273a9e8af8b8bd4f6d292ad47af782211 Author: zrj Date: Thu Sep 1 08:17:12 2016 +0300 fortune(6): Turn writing to disk a runtime option. Add FORTUNE_SAVESTATE environment knob. Using env variable avoids having non compilable code that might get stale with future

git: sbin/hammer: Make use of struct buffer_info::cache at offset 0

2016-09-01 Thread Tomohiro Kusumi
commit 7603683a7d0f9b3ed823c273b74d9279904f82e2 Author: Tomohiro Kusumi Date: Thu Sep 1 20:38:36 2016 +0900 sbin/hammer: Make use of struct buffer_info::cache at offset 0 No need to hold a pointer to each other. Summary of changes: sbin/hammer/cache.c | 2 +- sbin/hammer/h

git: sbin/hammer: Make struct volume_info::name const

2016-09-01 Thread Tomohiro Kusumi
commit 21000e424c0824b5ee3445a3eea54959ee3c3b39 Author: Tomohiro Kusumi Date: Thu Sep 1 20:27:45 2016 +0900 sbin/hammer: Make struct volume_info::name const Summary of changes: sbin/hammer/hammer_util.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) http://gitweb.dragonflybsd