ecutables seems more maintainable.
Another benefit of making gunzip a full-blown executable rather than a
shell wrapper is that the startup time is faster (and on cygwin and mingw,
the extra process and time of a shell script wrapper is noticeable).
Uncompressing is a common task, and should not
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to Eric Blake on 10/6/2009 11:04 AM:
> Ludovic Courtès gnu.org> writes:
>
>> GNU zip 1.3.13 fails to build on Darwin:
> This is a sign that our #include_next of darwin's worked, but that
> darwin's header
.
>
> Ok, but this would also move the burden of "fixing" to the enduser,
> whereas I as packages could take care of it by hardcoding the path
> with a configure option.
Jim's point is that if you run './configure GREP=ggrep', that should fix
it at configura
128 -a $r -le 143 && exit $r || exit 2
'test x -a y' is not portable. Use test x && test y.
--
Don't work too hard, make some time for fun as well!
Eric Blake e...@byu.net
signature.asc
Description: OpenPGP digital signature
for one of the many free email providers on the
net and use those accounts for sending questions and reporting bugs.
--
Eric Blake ebl...@redhat.com+1-801-349-2682
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
eb 8):
http://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=8ee7a74
> PS: actually, there is the same problem in mkdir.c/rpl_mkdir()
I'm not sure if that has been fixed; would you mind posting more details
to the gnulib list?
--
Eric Blake ebl...@redhat.com+1-801-349-2682
Libvirt virtuali
Not a bug, but an inherent limitation in the file format used by gzip.
There is no way to accurately record sizes larger than 2GB short of
inventing a new file format, but then it would no longer be compatible
with existing gzip.
--
Eric Blake ebl...@redhat.com+1-801-349-2682
Libvirt virtualiz
* bootstrap: Use latest copy from gnulib/build-aux.
---
I want to use GNULIB_SRCDIR :)
bootstrap | 89 ++---
1 files changed, 67 insertions(+), 22 deletions(-)
diff --git a/bootstrap b/bootstrap
index 7136875..365a3d9 100755
--- a/bootst
* .gitignore: Ignore recent gnulib additions.
---
.gitignore |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/.gitignore b/.gitignore
index d303400..f71573f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -19,6 +19,9 @@ Makefile.in
/gzexe
/gzip
/gzip-*
+/lib/arg-nonnull.h
On 04/06/2010 10:16 AM, Jim Meyering wrote:
> Eric Blake wrote:
>> * bootstrap: Use latest copy from gnulib/build-aux.
>
> Yes, please.
I've pushed it.
--
Eric Blake ebl...@redhat.com+1-801-349-2682
Libvirt virtualization library http://libvirt.org
signature.asc
functions rather than eval to add arguments.
--
Eric Blake ebl...@redhat.com+1-801-349-2682
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
* .gitignore: Add version files.
---
.gitignore |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/.gitignore b/.gitignore
index f71573f..51301b3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -22,6 +22,8 @@ Makefile.in
/lib/arg-nonnull.h
/lib/c++defs.h
/lib/warn-on-use.h
+/
o gcc if it accepts it.
That's only if we decide to make a policy of requiring that gzip must
still support C89. However, I'm not the primary maintainer, so Jim will
have to weigh in on this discussion.
--
Eric Blake ebl...@redhat.com+1-801-349-2682
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
cdir/init.cfg"
>
> setup_ "$@"
> +# This trap is here, rather than in the setup_ function because some
> +# shells run the trap at shell function exit, rather than at script
> +# exit.
> +trap remove_tmp_ 0
Good catch. I'll apply your patch upstream in gnulib so
, since
you have immediately published the change via the public access to the
VCS, even if you don't have a formal release of the package during that
year, and even if that particular file is untouched for the remainder of
the year.
--
Eric Blake ebl...@redhat.com+1-801-349-
es from upstream rather than relying on a distro; those people
tend to be the ones technically savvy enough to realize the
ramifications of building from scratch, and should be capable of
realizing when to use the new configure option.
--
Eric Blake ebl...@redhat.com+1-801-349-2682
L
duplicating the zutils project; read this thread:
http://thread.gmane.org/gmane.comp.gnu.gzip.bugs/284
--
Eric Blake ebl...@redhat.com+1-801-349-2682
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
t deals with large files.
Only if you can call a design flaw a bug. There's no way to fix this
short of introducing an extension to the gz file format, and even then,
it would only work for implementations of gzip that understand that
extension.
--
Eric Blake ebl...@redhat.com+1-8
shell script with SIGPIPE at default handling.
+if (trap - PIPE)>/dev/null 2>&1; then
+ trap - PIPE
Thus, this does not work to reset SIGPIPE if the shell itself was
started with SIGPIPE ignored.
--
Eric Blake ebl...@redhat.com+1-801-349-2682
Libvirt virtualization library http://libvirt.org
es $? to be 269, not 141.
https://lists.gnu.org/archive/html/autoconf-patches/2011-09/msg00020.html
--
Eric Blake ebl...@redhat.com+1-801-349-2682
Libvirt virtualization library http://libvirt.org
c coding styles.
Meanwhile, while we are on the topic, I got tripped up by the fact that
-Wformat=2 (newly added to manywarnings.m4) implies -Wformat-nonliteral,
even though libvirt had already been explicitly removing
-Wformat-nonliteral from the list of desired warnings. I had to add
-Wno-format-nonl
in with).
> @@ -73,7 +73,7 @@ struct timespec dtotimespec (double);
> static inline double
> timespectod (struct timespec a)
> {
> - return a.tv_sec + a.tv_nsec / 1e9;
> + return a.tv_sec + a.tv_nsec / 1e9D;
Likewise, this one is not portable.
--
Eric Blake ebl...@redhat.com+1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
On 11/29/2011 02:46 PM, Eric Blake wrote:
>> Unless there are objections (portability?)
>
> Aargh. I just reread C99.
>
> F (and f) for float, and L (or l) for long double are required, but D
> (or d) for double is a GNU extension.
>
> Since we can't silen
and %lf both mean double on printf; they only differ on float
vs. double when dealing with scanf). I see your point about the
possibility of the intermediate division in float possibly being faster,
but no matter how we look at things, the end result is still fprintf
operating on double, not float, w
stion.
I suggest reading http://www.catb.org/~esr/faqs/smart-questions.html
--
Eric Blake ebl...@redhat.com+1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
d gnulib git repositories didn't point to anything
> obvious.
Yes - the fix is to upgrade to newer gnulib.
--
Eric Blake ebl...@redhat.com+1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
On 03/05/2012 02:13 PM, Eric Blake wrote:
> On 03/05/2012 01:21 PM, Bdale Garbee wrote:
>> Is there a fix or workaround for this error when cross-compiling gzip
>> with i686-w64-mingw32-gcc? We build such an executable in the Debian
>> package build to support the debian-ins
hether they are still in active use, so
that we can document the problems of PWD and/or make autoconf smart
enough to guarantee a shell with a working PWD?
--
Eric Blake ebl...@redhat.com+1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
ul for deciding portable workarounds and/or altering
the shell probing done at the front of autoconf scripts to pick a better
shell.
--
Eric Blake ebl...@redhat.com+1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
refore we should be assuming grep syntax instead of gzip?
> Please include me in the CC on any replies.
That's list policy, anyway.
--
Eric Blake ebl...@redhat.com+1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
time to revisit the shell script parser in zgrep (I unfortunately
couldn't unravel it in the 2 minutes that I spent on the problem, and
currently have more pressing matters competing for my attention, so
hopefully someone else can step in and help).
--
Eric Blake ebl...@redhat.com+1-919-3
knows such a way, would you please let me know? Thanks!
tar -xOf file.tar.gz path/to/file/within/tar
(here, using GNU tar's ability to auto-detect a gzip-compressed tar
file, along with -O to output a specific file from within the tar to
stdout).
--
Eric Blake ebl...@redhat.co
lease
> do not use or disseminate the information, notify the sender and delete it
> from your system.
Unfortunately, this disclaimer is unenforceable on publicly-archived
mailing lists.
--
Eric Blake ebl...@redhat.com+1-919-301-3266
Libvirt virtualization library http://libvirt.org
favor of the addition, but with the short option -k rather than -K.
--
Eric Blake eblake redhat com+1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
'd be, though, since as far
> as I know only MSVC and mingw lack SIGPIPE. Anyway, I
> pushed this patch -- it avoids polluting the mainline
> code with #ifdefs. Thanks.
Gnulib also has a sigpipe module to provide a non-zero SIGPIPE that
works on mingw; perhaps it is worth importing tha
as not a bug, so that it doesn't clog the bug tracker;
but feel free to continue to respond as you have other questions.
--
Eric Blake eblake redhat com+1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
am in gnulib, fixing the root cause
there will then percolate into all the other affected packages.
--
Eric Blake eblake redhat com+1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
eded for the tarball (the
files from gnulib that were copied into place, rather than the entire
gnulib submodule).
>
> There's also the issue of using the same autoconf/automake/etc. but I
> can manage that as needed.
>
> TIA
>
>
>
>
--
Eric Blake eblake redh
t depended on at
a given time.
[Oh, and top-posting on technical lists gets difficult to read]
--
Eric Blake eblake redhat com+1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
in handy on your
system in the future; do you really need to uninstall it at all, if it
is not actively hurting your disk space?
--
Eric Blake eblake redhat com+1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
am, so I'm
redirecting your report there.
$ ./gzip -l text.gz | cat
./gzip: write error: Bad file descriptor
$ git describe HEAD
v1.7-2-ga420fba
--
Eric Blake eblake redhat com+1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
On 04/19/2016 08:04 AM, Eric Blake wrote:
> Thanks for the report; I can confirm the problem exists upstream, so I'm
> redirecting your report there.
>
> $ ./gzip -l text.gz | cat
> ./gzip: write error: Bad file descriptor
> $ git describe HEAD
> v1.7-2-g
his today. The culprit is -l, and I
already bisected the commit at fault.
--
Eric Blake eblake redhat com+1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
> produce
>
> gzip: write error: Bad file descriptor
You're the third person to report this today :)
--
Eric Blake eblake redhat com+1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
eady-public issue, and
therefore, see no reason why it can't be discussed in this public bug.
--
Eric Blake eblake redhat com+1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
ut we welcome patches to
catch back up to the current state of things.
--
Eric Blake eblake redhat com+1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
working 'system' counterpart. I added myself HAVE_STRLWR in config.h.
I'm less certain on the solutions for the others, although patches to
gnulib are welcome.
--
Eric Blake eblake redhat com+1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
end cygwin.com). At any rate, I'm closing this as
not a bug in the upstream database, as this is a matter between you and
the downstream distribution you used, not something upstream can control.
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualiz
e_002e-How-can-I-get-it-back-now_003f
Meanwhile, I'm tagging this thread so that the bug-tracker doesn't keep
it open as a gzip bug.
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org
AEM6%30314&authkey=wUkON1jK02m1-7I
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Eric Blake
on 10/6/2009 11:04 AM: > Ludovic Courts gnu.org> writes: > >> GNU zip
1.3.13 fails to build on Darwin: > This is a sign that our
#include_next of darwin's wor
50 matches
Mail list logo