* [ANN] cmogstored 1.6.0 - a mogstored alternative
@ 2016-08-31 16:46 5% Eric Wong
0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2016-08-31 16:46 UTC (permalink / raw)
To: mogile, cmogstored-public
cmogstored is an alternative implementation of the "mogstored" storage
component of MogileFS. cmogstored is implemented in C and does not use
Perl at runtime. cmogstored is the only component you need to install
on a MogileFS storage node.
cmogstored 1.6.0 - minor fixes on allocation errors
There are minor robustness fixes on handling errors when
allocating memory or spawn failures on otherwise-hosed systems.
These bugfixes will not affect real users unless the system
is already hosed or in badly overtaxed, so there's no real
need to upgrade.
There are minor portability improvements and I now test under
FreeBSD 10.x.
The iostat test cases are relaxed a bit to account for
virtualized devices (as iostat is less useful with modern
17 changes since 1.5.0 (Nov 2015):
Rakefile: add missing <div> for Atom feed
test/pwrite-wrap: remove unused variable and comment
test/pwrite_wrap: squelch unnecessary output
test/pwrite_wrap: reduce space overhead required
update copyrights for 2016
build-aux/txt2pre: drop CGI.pm requirement
stdin is always redirected to /dev/null
minor vfork/fork safety fixes
process: try to handle OOM gracefully
http_put: gracefully handle path allocation errors
iostat_process: declare environ extern
test/mgmt: relax checks for iostat mapping
gnulib copyright update for 2016
upgrade: avoid syslog call if execve fails
rely on gnulib for environ portability
INSTALL: update latest Debian stable version to 8.x
README: stop mentioning cgit
http://bogomips.org/cmogstored/files/cmogstored-1.6.0.tar.gz
SHA-1: b35767444a9a993ee2c25c27192de7152a041682
SHA-256: f50d3449f3cdf8e6b67a77e42c6fc2055a7708090a52a7bebd601e3827e8a22f
* homepage: http://bogomips.org/cmogstored/README
* git clone git://bogomips.org/cmogstored.git
* git clone http://bogomips.org/cmogstored.git
* gitweb: http://repo.or.cz/w/cmogstored.git
* list: cmogstored-public@bogomips.org (subscription optional)
* archives: http://bogomips.org/cmogstored-public/
* nntp://news.public-inbox.org/inbox.comp.file-systems.mogilefs.cmogstored
^ permalink raw reply [relevance 5%]
* [PATCH] build-aux/txt2pre: drop CGI.pm requirement
@ 2016-05-29 11:56 7% Eric Wong
0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2016-05-29 11:56 UTC (permalink / raw)
To: cmogstored-public
CGI.pm is no longer in the main Perl distro, so depending
on it is not worth the effort for a few lines.
---
build-aux/txt2pre | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/build-aux/txt2pre b/build-aux/txt2pre
index d1eadc6..276728f 100755
--- a/build-aux/txt2pre
+++ b/build-aux/txt2pre
@@ -7,7 +7,6 @@
# and requires indentation to output preformatted text.
use strict;
use warnings;
-use CGI qw/escapeHTML/;
use Encode qw/encode/;
my $file = shift;
my $str;
@@ -18,8 +17,14 @@ if (defined $file) {
} else {
$str = eval { local $/; <> };
}
-
-$str = escapeHTML($str);
+my %xhtml_map = (
+ '"' => '"',
+ '&' => '&',
+ "'" => ''',
+ '<' => '<',
+ '>' => '>',
+);
+$str =~ s/([<>&'"])/$xhtml_map{$1}/ge;
$str = encode('us-ascii', $str, Encode::HTMLCREF);
my ($title) = ($str =~ /\A([^\n]+)\n[^a-zA-Z]*\n/s);
^ permalink raw reply related [relevance 7%]
Results 1-2 of 2 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2016-05-29 11:56 7% [PATCH] build-aux/txt2pre: drop CGI.pm requirement Eric Wong
2016-08-31 16:46 5% [ANN] cmogstored 1.6.0 - a mogstored alternative Eric Wong
Code repositories for project(s) associated with this public inbox
https://yhbt.net/cmogstored.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).