[announce] skarnet.org May 2017 release

2017-05-21 Thread Laurent Bercot
Hello, New releases of some skarnet.org packages are available; those are mostly bugfix releases, but some new features and one API change also made it in. * skalibs-2.5.1.0 --- - Lots of small bugfixes and improvements, mostly related to sysdeps autodetection, support for a

[PATCH] Fix openreadnclose failing if errno was nonzero before

2017-05-21 Thread Olivier Brunel
Signed-off-by: Olivier Brunel --- src/libstddjb/openreadnclose.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libstddjb/openreadnclose.c b/src/libstddjb/openreadnclose.c index aa61ece..39bb3b9 100644 --- a/src/libstddjb/openreadnclose.c +++ b/src/libstddjb/openreadnclose.c @@ -7,6 +7,7

s6-envdir bug/behavior change

2017-05-21 Thread Olivier Brunel
Hey, Not sure if this was intended or not, but the latest s6-envdir has some behavior change that at the very least would need to be documented: Doc says that "s6-envdir reads files in DIR"; And before, if DIR contained one or more directories they were simply ignored. Now however, it will fail (

Re: s6-envdir bug/behavior change

2017-05-21 Thread Luis Ressel
On Sun, 21 May 2017 22:59:42 +0200 Olivier Brunel wrote: > Doc says that "s6-envdir reads files in DIR"; And before, if DIR > contained one or more directories they were simply ignored. Now > however, it will fail (111) : > s6-envdir: fatal: unable to envdir: Is a directory This change is intend

Re: s6-envdir bug/behavior change

2017-05-21 Thread Laurent Bercot
This change is intended. Laurent had never meant for s6-envdir to ignore directories, the previous behaviour was just a coincidence. When I made him asked him about this last week, he immediately made the parsing code in skalibs stricter. To be more precise: the fact that directories were being

Re: [PATCH] Fix openreadnclose failing if errno was nonzero before

2017-05-21 Thread Laurent Bercot
+ errno = 0 ; Ack! Of course. Applied with a minor style change. (I like to keep declaring variables at the start of a block.) Thanks! Does this bug manifest in serious ways, for instance making a s6 program fail when it should not? If it does, I'll need to release a new skalibs version