ation can at least let us automate that each of the tarballs
has the same contents, although it won't make it any more obvious
whether those contents match what was in git (which was how the xz
backdoor got past so many people in the first place).
--
Eric Blake, Principal Software Engineer
R
ings=$enableval],
- [gl_gcc_warnings=no]
+ [if test -d "$srcdir"/.git; then
+ gl_gcc_warnings=yes
+ else
+ gl_gcc_warnings=no
+ fi]
)
# gl_GCC_VERSION_IFELSE([major], [minor], [run-if-found],
[run-if-not-found])
--
Eric Blake ebl...@redhat.com+1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
for a human to
approve your email address as a non-spammer for all future posts
(generally less than a day).
--
Eric Blake ebl...@redhat.com+1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
ks right. Thanks!
Thanks for the review. I tested a VPATH build, and it worked, so I'm
pushing with this commit message:
commit 1c0ad05170bd095296a6151f8a912942f487e70c
Author: Eric Blake
Date: Thu Sep 6 08:20:17 2012 -0600
build: default to --enable-gcc-warnings for git tree
POSIX (along with 'test a == a', among others).
>
> Anyway, maybe it could be emulated with "find -newer" or something
> similar...
Yep, 'find $dir -newer ...' is the only POSIX way to compare timestamps,
for now.
--
Eric Blake ebl...@redhat.com
vement, and I'm closing this as not a bug in coreutils.
--
Eric Blake ebl...@redhat.com+1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
ining to the person that pre-built the binary you are
using than here, because we are unable to do anything about a bad port
on this upstream list. If you aren't already using cygwin, might I
suggest that as a reasonable port of GNU tools to Windows (see cygwin.com).
--
Eric Blake ebl...@re
ntly at 8.15 from February of
this year, and I am hoping to bump that up to even newer coreutils when
I can get enough free time to spend on it. http://cygwin.com
--
Eric Blake ebl...@redhat.com+1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: Ope
it in all of these projects.
> In order, those are:
>
> grep
> diffutils
> idutils
> cppi
> parted
>
> The logs are identical, as are the patches, modulo offsets.
>
>>From 85eaa86258bbdc17894355a1720dc9efda9044ed Mon Sep 17 00:00:00 2001
>
mented.
> At least it should be consistent among coreutils, eh?
Perhaps. Patches welcome, if you think one or the other style of error
message is worth improving. But I'm not personally bothered by it.
--
Eric Blake ebl...@redhat.com+1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
make check gl_public_submodule_commit=
That trick ought to be documented in HACKING.
--
Eric Blake ebl...@redhat.com+1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
/coreutils/faq/#The-date-command-is-not-working-right_002e
>
> On Wed, Nov 14, 2012 at 11:51 AM, Rafael Xavier wrote:
>
>> A gnulib posixtime bug?
Nope. And please don't top-post - it makes it awkward to reply.
--
Eric Blake ebl...@redhat.com+1-919-301-3
#x27;invalid input' 2>&1 ;;
*) eval "printf %d \$((2#$1))" ;;
esac
}
b2o() {
case $1 in
*[!01]*) echo 'invalid input' 2>&1 ;;
*) eval "printf %o \$((2#$1))" ;;
esac
}
chmod $(b2o 10111) t
That is, teaching chmod how to parse binary is just
I'll probably add
> something along the lines of the following
> unless there are objections.
If you add support for handling more than one file at a time, then you
also should add support for separating the output with NUL instead of
newline to make the output unambiguous.
--
Eric Bla
n name it '---devdebug' (yes, with
three dashes), so that it doesn't interfere with any use of '--d' as an
unambiguous prefix of a documented long option starting with d.
--
Eric Blake eblake redhat com+1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
-k1.5,1.9
which says to break fields at newline characters; since newline also
breaks records, that means each entire line will all be field 1.
--
Eric Blake eblake redhat com+1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
ds, not to mention copyright assignment paperwork?
As such, I'm going to close the bug report so that we don't spin our
wheels re-implementing something that already works. But you should
still feel welcome to contribute, and even add further comments to this
thread as appropriate (we can
e appended.
That's a little hard to read. Would --from=iec-i be any easier, where
we are separating the IEC acronym from the output of 'i'?
--
Eric Blake eblake redhat com+1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
> Note LC_ALL is set to C in maint.mk already.
> I'll push a patch in your name to gnulib soon.
Please don't, at least not without more discussion.
--
Eric Blake eblake redhat com+1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
[adding the list]
On 01/08/2013 11:01 AM, Bernhard Voelker wrote:
> Hi Eric,
>
> thanks, it seems like we understood Mohanad's question
> the same way ;-)
>
> On 01/08/2013 06:50 PM, Eric Blake wrote:
>> join <(join <(cat -n one) <(cat -n two)) <(cat
C], --iso-8601[=TIMESPEC] output date/time in ISO 8601 format.
$ date --version | head -n1
date (GNU coreutils) 8.17
and looking back in git history, it looks like documentation was
re-added at commit 2f1384b in Oct 2011, once we gave date the ability to
parse the 'T' separator in ISO dat
are unchanged; so
omitting the call into the kernel would unintentionally miss out on
those side effects.
--
Eric Blake eblake redhat com+1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
" chmodbug;
This behavior is documented. We _intentionally_ leave the sticky bit
alone, unless you request a double-leading 0 as declaration that you are
aware of the consequences of clearing the sticky bit. Our behavior is
compliant with POSIX, and we will not be changing it.
chmod 00755 chmodb
pparent change in ownership.
--
Eric Blake eblake redhat com+1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
short option name.
I am against adding -h as a short option without a lot more
justification than just a single user, since we have had so few requests
for a short option -h over the years.
--
Eric Blake eblake redhat com+1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
you want
to do lightly.
>
> I don't get why GNU development and usability features should depend on
> non-GNU implementation?
GNU prefers long options. We support short options insofar as standards
documents and compatibility dictate, but don't let short options drive
development.
--
On 02/21/2013 02:19 AM, Majid Tajamolian wrote:
> Hi there,
> I suggest to add a "-r" switch to "ln" utility for creating symbolic links
> with relative path instead of absolute one.
Are you aware that this has already been done, as of coreutils 8.16?
--
Eric Blake
(along with a host of other utilties all crammed into one
super-binary). But coreutils will not be adopting that approach.
--
Eric Blake eblake redhat com+1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
;//' for '/' or '///' for '//' is confusing. However, since the
proposed patch does not special case '//', it is not an appropriate
patch in its current form.
--
Eric Blake eblake redhat com+1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
it might need a bit more
hand-holding to be portable to mingw, where drive letters are also
treated as roots, and where backslash can be used in place of slash.
But I'm okay if we leave the case of mingw to someone that develops on
that platform; again, isolating things into an is_root() helper function
already gives them a nice place to tackle if they want to enhance the
function to work on drive letters.
--
Eric Blake eblake redhat com+1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
dition to prove that it works
right, and with a coreutils.texi and NEWS addition mentioning the
improvement. All told, by the time you add all these, your contribution
would be non-trivial, and would require FSF copyright assignment. Is
this still something you are interested in pursuing?
--
Eric Blake eblake redhat com+1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
On 03/18/2013 01:04 PM, Bob Proulx wrote:
> Eric Blake wrote:
>> Sakse Dalum wrote:
>>> Anywho, I've attached a diff to this mail, which may or may not be
>>> applicable to the most recent version (I just did an apt-get
>>> source in Trisquel 6.0 to get th
ive. Yes,
adding --absolute might make it guaranteed to handle both styles of
$target; but it's still something the shell can already do:
case $target in
/*) ln -s "$target" name ;;
*) ln -s "$PWD/$target" name ;;
esac
--
Eric Blake eblake redhat com+1-919-301-3266
dding bloat), and then for that
feature to finally propagate into the distros that you commonly use; it
would be easier to figure out the appropriate rsync
--remove-source-files invocation that does what you want.
--
Eric Blake eblake redhat com+1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
he source has changed since when your patch was
written, since it contains no context on which lines were intended to be
changed. Also, you attached the entire body of sort.c, which doesn't
really help us. We prefer patches in unified form (diff -u), and can
also use patches in context form (diff -c), and with no repeat of sort.c.
Read HACKING for more details on the preferred way to supply a patch.
--
Eric Blake eblake redhat com+1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
1
Did you run ./bootstrap first? If not, that's your problem.
--
Eric Blake eblake redhat com+1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
of utilities or internal commands,
> you get an error if you try to execute 0 or 1. Consequently, I anticipate
> that the addition would be backward compatible.
Yes, it would be backward compatible, but it is not standardized, so no
one would use them, so it's not worth making coreutil
cases because it is not
standardized.
--
Eric Blake eblake redhat com+1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
re asking for on this step.
>
> Thoughts? Can a small improvement which shouldn't affect most scripts win out
> over tradition?
>
> Please CC me, I'm not on the list.
That's list policy :)
>
> Diggory
>
>
>
--
Eric Blake eblake redhat com+1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
probably have better luck
asking on a Fedora-specific list.
--
Eric Blake eblake redhat com+1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
ible; if you have an up-to-date GNU/Linux system, there's
already quite a few source files of gnulib that aren't even built
because you have no bugs to be worked around in the first place.
--
Eric Blake eblake redhat com+1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
e your
script to do 'test -e "$dest"' and fail if the destination already
exists, rather than even trying the mv; and certainly something you can
use now rather than waiting a few years for a patch to be accepted into
coreutils and finally percolated into the machines you typica
l elements to be listed, then you can use a printf-style
' modifier in the element that lists file size, as well as any other
tweak you want to make in the line layout.
In fact, stat already has that:
$ stat -c "%'s" COPYING HACKING
35,147
24,005
--
Eric Blake eblake redhat com+1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
27;, which is the default unless the `POSIXLY_CORRECT'
>> environment variable is set.
which, while still true for du and df, is now false for ls.
--
Eric Blake eblake redhat com+1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
the list, and supplying the missing NEWS entry). I
also found this recently, and thought it was a-propos to this situation:
https://rwmj.wordpress.com/2010/11/08/want-help-dont-email-me-directly/
--
Eric Blake eblake redhat com+1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
nf) can force the locale to be
sane so that they aren't dealing with unexpected input (not that 'ls -l'
output is very reliable to parse in the first place, but it would be
even less reliable with thousands separators).
--
Eric Blake eblake redhat com+1-919-301-3266
Libvirt
r be reached because n_files != 1, does not mean that there
will never be a translation to another language where select_plural will
still want to to choose an alternate form (for example, I seem to recall
the gettext manual talking about languages where 100 is treated
differently than 111).
--
Eric Blake eblake redhat com+1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
make this check runnable by people that are not using GNU
findutils? Then again, in this particular case, I think we want -111
(exact match) rather than /111 (inclusive match), which delays the worry
about whether we need GNU extensions in the first place.
--
Eric Blake eblake redhat com
ut awkward quoting in the
first place?
cat *.pdf
>
> How do I get around this problem?
Your problem has nothing to do with coreutils, and everything to do with
shell quoting. You may want to take this question to a forum dedicated
to proper shell usage.
--
Eric Blake eblake redhat com
memories of a distant past); you may
need to run 'git config diff.renames true' to set that up.
--
Eric Blake eblake redhat com+1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
[actually adding coreutils]
On 09/26/2013 08:28 AM, Eric Blake wrote:
> On 09/26/2013 03:43 AM, Laine Stump wrote:
>> This should resolve:
>>
>> https://bugzilla.redhat.com/show_bug.cgi?id=1012085
>>
>> libvirt previously recognized NFS, GFS2, OCFS2, and AFS fil
c where such things make sense (ie. fixing
gnulib does not necessarily require fixing glibc first). But first, I'd
echo the advice that glibc gave you: open a bug with the Austin Group
(http://austingroupbugs.net/login_select_proj_page.php?ref=bug_report_page.php)
and point them to the existing GNU
nt vendors have tended to have different rules, even for
locales that are otherwise named the same.
--
Eric Blake eblake redhat com+1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
Rather, the lack of -k determines how far -n will parse, regardless of
locale; it's just that some locales let -n parse farther than others.
--
Eric Blake eblake redhat com+1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
es how far -n will parse, regardless
>> of locale; it's just that some locales let -n parse farther than
>> others.
>
>
> Don't you actually mean here that "the lack of -k determines how far -n will
> parse, depending on locale."
Or even: "the lack of -k has a locale-independent effect of letting -n
parse as far as possible; then -n has a locale-dependent effect of how
far that actually is".
--
Eric Blake eblake redhat com+1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
7;[ --help' does. This is named lbracket during intermediate
builds due to the awkwardness of representing '[' in make rules, so
build test.1 from 'lbracket --help' instead of 'test --help'.
--
Eric Blake eblake redhat com+1-919-301-3266
Libvirt virtualiz
ng a %letter, we have lately tended to add
pre-canned formats: 'date --rfc-3339=seconds' being an example that
generates a given format without you having to remember which % options
build it up. For scripting, generating a common canned format via a
command-line option rather than burni
On 10/11/2013 01:18 PM, Eric Blake wrote:
> On 10/11/2013 11:56 AM, Reed Underwood wrote:
>> I wonder if it would be alright to implement a
>> full Julian date in the date command's format options
>> (maybe a %J?). It could be really useful in shell
>> scripts, etc.
ly, the '%j' form gives you the day of the year, which is likely
> more commonly used (though I'm not sure in what context).
At this point, I'm guessing that there's probably not enough demand to
warrant adding astronimical Julian Date to the general-purpose date
co
a conversion to Julian
date output, we should also add a -d shorthand for conversion from
Julian on input.
--
Eric Blake eblake redhat com+1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
f midnight (so that even with the fuzz of
daylight savings causing 23- or 25-hour days, you still land in the
desired destination day).
https://www.gnu.org/software/coreutils/faq/coreutils-faq.html#The-date-command-is-not-working-right_002e
--
Eric Blake eblake redhat com+1-919-301
, read the FAQ, where this issue (and others) are more thoroughly
discussed.
>> https://www.gnu.org/software/coreutils/faq/coreutils-faq.html#The-date-command-is-not-working-right_002e
--
Eric Blake eblake redhat com+1-919-301-3266
Libvirt virtualization library http:/
ke it could be a step in the wrong direction to me. I've
been arguing that we need to escape file names containing \r, for the
sake of people that transmit files with \r\n line endings compared to
files that contain a literal trailing \r.
--
Eric Blake eblake redhat com+1-919-30
On 11/01/2013 12:02 PM, Pádraig Brady wrote:
> On 11/01/2013 05:39 PM, Eric Blake wrote:
>> On 11/01/2013 10:29 AM, Pádraig Brady wrote:
>>> This should be fully backwards and forwards compatible with previous
>>> escaping, since we'll never have a file name at the
oud, it may be
appropriate to have such a mode option be tri-state (old, new, or warn;
with default being warn), where the warning mode gives the new output
but ALSO flags to the user that their output may not be parseable by
older summing utilities.
--
Eric Blake eblake redhat com+1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
$tab" ...
or even use this bash extension (the next version of POSIX plans to
standardize it, but it's not universal yet):
join -t $'\t'
--
Eric Blake eblake redhat com+1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
h/to/file where
/path/to/file contains the seed. Similarly for shuf
--random-source=/path/to/file.
--
Eric Blake eblake redhat com+1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
nt behavior is mandated by POSIX:
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/mkdir.html
--
Eric Blake eblake redhat com+1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
ve
--with-crypto=[nettle|openssl|none] for selecting between multiple
implementations.
--
Eric Blake eblake redhat com+1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
nstead of - for stdin, since we cannot guarantee that everyone will
have a working autom4te in their path that doesn't eat stdin.
--
Eric Blake eblake redhat com+1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
o={basic|nettle|openssl|gcrypt}, then distro
packagers can choose WHICH library they want to drag in, rather than
forcing a binary decision of using or avoiding a single library.
--
Eric Blake eblake redhat com+1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
On 12/03/2013 03:44 PM, Eric Blake wrote:
>
> Libvirt would prefer a solution that uses nettle, at least when used in
> RHEL.
Correction: libvirt would prefer a solution that uses gnutls, and could
live with a solution that uses openssl. Certification-wise, indirect
use of nettle via
omit leading 0 by default in
%:::z and using 0 padding in %0:::z still has merit, if someone wants to
write a patch.
--
Eric Blake eblake redhat com+1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
919799/utilities/xargs.html>:
>>
>> The standard input shall be a text file.
>
> A "text file" doesn't have to have a new line AFAIK,
> so the above should be fine.
A text file must either end in newline or be empty; your approach does
neither.
Why not just
ell
> +# on FreeBSD.
> +sc_prohibit_redirect_only_command_substitution:
> + @prohibit='\$$\(<' \
Shouldn't you also prevent $(> ...)?
--
Eric Blake eblake redhat com+1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
cause POSIX requires a non-zero exit code any time an error message is
output, including when a directory is skipped due to a directory loop.
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/du.html
--
Eric Blake eblake redhat com+1-919-301-3266
Libvirt virtualization libr
> We will likely be opening another RFE within Red Hat Bugzilla on this.
And Red Hat will probably point you right back here, as they are
reluctant to diverge from upstream with no good reason.
--
Eric Blake eblake redhat com+1-919-301-3266
Libvirt virtualization library http://libvir
rge images).
>
> This patch can be applied on the version 8.22 of the coreutils.
We prefer patches that are against the latest coreutils.git. Please
read the HACKING document for more details:
http://git.savannah.gnu.org/cgit/coreutils.git/tree/HACKING
--
Eric Blake eblake redhat com
corner cases where numeric sorting
DOES span fields:
$ printf '10210304\n20120403\n30102305\n' | sort -t0 -k2,3n --debug
sort: using ‘en_US.UTF-8’ sorting rules
sort: key 1 is numeric and spans multiple fields
30102305
20120403
10210304
c -l < file`
That is, POSIX requires that when reading from stdin rather than from a
filename, then there will be no filename in the output of wc. As this
is already a standard way to suppress the output, I see no need to add a -q.
--
Eric Blake eblake redhat com+1-919-301-3266
Libvirt v
that proved it helped.
--
Eric Blake eblake redhat com+1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
40' < log.txt | wc -l
Or even shorter:
grep -vc '^.\{140\}$' log.txt
--
Eric Blake eblake redhat com+1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
but not the directories.
>
> => chmod -Ru my/photos/
>
> (alternative is some ugliness with "find -type d")
Ugly but standardized and universally existing is better than pretty but
unimplemented on the majority of systems.
--
Eric Blake eblake redhat com+1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
eutils has long required C99.
Any compiler that can already manage coreutils should already support
vararg macros.
--
Eric Blake eblake redhat com+1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
allows chroot to use used as a light weight tool
s/to use used/to be used/
--
Eric Blake eblake redhat com+1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
be better to be consistent here
> and have the exit code dependent on the name rather than the environment.
>
> I also see that the test script for `false` was only
> checking the shell builtin :/
>
> The attached fixes up both issues in your name.
> OK to push?
My first reac
the program being executed (which means
true is doing it right, and 'false --version' is the odd man out,
opposite to what the most recent patch proposal does). I'd wait for
Paul and/or Jim to weigh in on this, since they made the decisions
behind the current unpatched behavior.
-
add minor complication to true.1 and false.1
> man page generation, but it would not be hard to work around.
Another possibility - make it possible to detect write failure, by using
a non-default exit value:
true --help=> 0
true --help > /dev/full=> 2
false --help
l
always-1 status for successfully reporting false.
>
> I can fix up the test issues I noticed separately.
Yes, at this point, separating the test snafu of only covering the
builtin from any change in exit status behavior is wise.
--
Eric Blake eblake redhat com+1-919-301-3266
Libvirt
list in the
loop, so that the conversation is publicly archived and so that others
may chime in mid-thread (as I did here).
--
Eric Blake eblake redhat com+1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
d, and can optimize to use unlocked stdio
functions for speed because there is no other thread competing for
locks. But if combined into a single binary, then that one binary will
be multi-threaded, and you may lose the performance benefit of
specifically compiling other apps to be single-threaded.
gt;>> POSIX should probably say something about that.
>
> Yes. Because it really should be standardizing on existing behavior
> rather than specifying an incompatible change.
I'll go ahead and file that as a defect, and report back with what they
say about it.
--
Eri
than
passing an address to a pointer to integer). But it is always odd
looking, so if it can be avoided by a clearer code construction, I'm all
for that.
--
Eric Blake eblake redhat com+1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
t; providing pre-built binaries for cygwin whether or not the final 8.23
>> release has fixed any of these problems. Although a quick fix that
>> disabled stdbuf on platforms where it can't be built might be nice, it
>> certainly doesn't qualify as a recent regression.
>
> This is a good point to sync up cygwin, since this will probably
> be the last of the 8.x series.
>
> thanks!
> Pádraig.
>
>
--
Eric Blake eblake redhat com+1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
On 07/14/2014 10:04 PM, Eric Blake wrote:
> Now I'm seeing this with gcc 4.8.3:
>
> CC lib/openat-die.o
> lib/openat-die.c: In function 'openat_save_fail':
> lib/openat-die.c:34:1: error: function might be candidate for attribute
> 'noretur
in src/*.c?
Most of them are already 'isblank (to_uchar (expr))', which is safe even
in the presence of a unibyte locale where byte 255 is considered space.
--
Eric Blake eblake redhat com+1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
s and expect local to work. The workaround is simple -
don't use local variables, and just be sure to namespace your variables
so that your functions don't inadvertently collide with the rest of your
script.
--
Eric Blake eblake redhat com+1-919-301-3266
Libvirt virtualization l
On 07/18/2014 06:18 PM, Pádraig Brady wrote:
> It's probably not worth handling such an old shell I think.
It's not limited to old shells - POSIX says that use of 'local' is
undefined. I think it IS worth working around.
--
Eric Blake eblake redhat com
ncient hardware that lacks such a number (in
which case it maps to HUGE_VAL instead). Any libc that can't parse
"inf" is non-POSIX-compliant, and we could argue that gnulib's strtod
should be used to work around that broken implementation. Therefore, I
think the documen
ations
@section Signal specifications
--
Eric Blake eblake redhat com+1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
1 - 100 of 625 matches
Mail list logo