Re: invoking gunzip.exe

2007-04-28 Thread Eric Blake
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

Re: getopt compilation failure on Darwin (gzip 1.3.13)

2009-10-06 Thread Eric Blake
-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

Re: Failing test on Solaris 8 Sparc w/Sun Studio 11

2010-01-28 Thread Eric Blake
. > > 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

Re: [PATCH] Terminate zgrep gracefully when a pipeline is interrupted by a signal

2010-02-01 Thread Eric Blake
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

Re: file modification time not properly set on Cygwin

2010-03-15 Thread Eric Blake
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

Re: Undefined reference to _getdtablesize() on windows

2010-03-18 Thread Eric Blake
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

Re: problem with gzip --list

2010-03-29 Thread Eric Blake
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

[PATCH] maint: update bootstrap

2010-04-06 Thread Eric Blake
* 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

[PATCH] maint: ignore generated files

2010-04-06 Thread Eric Blake
* .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

Re: [PATCH] maint: update bootstrap

2010-04-06 Thread Eric Blake
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

help-version failure on cygwin

2010-04-06 Thread Eric Blake
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

[PATCH] maint: ignore more built files

2010-04-07 Thread Eric Blake
* .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 +/

Re: C99ism in gzip 1.4 inflate.c

2010-07-19 Thread Eric Blake
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

Re: Tests not being run for some shells

2010-07-29 Thread Eric Blake
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

Re: [PATCH] maint: fix copyright dates that were munged by a maintenance script

2010-11-08 Thread Eric Blake
, 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-

Re: Zutils vs single compressor utilities

2010-12-14 Thread Eric Blake
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

Re: Decompressing any file

2011-02-14 Thread Eric Blake
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

Re: Does -l option of gzip work correctly for large files (about 10GB)?

2011-07-12 Thread Eric Blake
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

Re: gzip zgrep-signal failure on Fedora 15 in an Emacs shell window

2011-11-02 Thread Eric Blake
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

Re: gzip zgrep-signal failure on Fedora 15 in an Emacs shell window

2011-11-02 Thread Eric Blake
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

Re: Removing -Wunsuffixed-float-constants, -Wdouble-promotion, -Wformat-zero-length

2011-11-29 Thread Eric Blake
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

Re: Removing -Wunsuffixed-float-constants, -Wdouble-promotion, -Wformat-zero-length

2011-11-29 Thread Eric Blake
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

Re: Removing -Wunsuffixed-float-constants, -Wdouble-promotion, -Wformat-zero-length

2011-11-29 Thread Eric Blake
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

Re: Removing -Wunsuffixed-float-constants, -Wdouble-promotion, -Wformat-zero-length

2011-11-29 Thread Eric Blake
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

Re: 64-bit

2011-12-08 Thread Eric Blake
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

Re: [Daniel Schepler] Bug#653960: gzip: FTBFS: conflicting types for 'rpl_fstat' (in win32 build)

2012-03-05 Thread Eric Blake
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

Re: [Daniel Schepler] Bug#653960: gzip: FTBFS: conflicting types for 'rpl_fstat' (in win32 build)

2012-03-05 Thread Eric Blake
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

Re: [bug-gzip] gzip-1.5 test failures on FreeBSD 9.0 and NetBSD 5.1

2012-06-20 Thread Eric Blake
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

Re: [bug-gzip] gzip-1.5 test failures on FreeBSD 9.0 and NetBSD 5.1

2012-06-20 Thread Eric Blake
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

Re: zgrep - doesn't work if is two digits or greater

2012-08-06 Thread Eric Blake
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

Re: zgrep - doesn't work if is two digits or greater

2012-08-06 Thread Eric Blake
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

Re: How to cat a specific file in .tar.gz?

2012-08-29 Thread Eric Blake
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

Re: Bug in Date time and printer setting please guide and help us.

2012-10-11 Thread Eric Blake
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

Re: gzip: add "--keep" option to keep original files unchanged

2013-02-11 Thread Eric Blake
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

Re: unconditional SIGPIPE usage in gzip 1.6

2013-06-15 Thread Eric Blake
'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

bug#15325: How does gzip reads/writes data from/to the file.

2013-09-10 Thread Eric Blake
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

bug#20453: [Bug-tar] Building on AIX 7.1 with GCC

2015-04-29 Thread Eric Blake
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

bug#22070: Recreating release 1.6 from git

2015-12-01 Thread Eric Blake
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

bug#22070: Recreating release 1.6 from git

2015-12-01 Thread Eric Blake
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

bug#22476: Uninstall

2016-01-27 Thread Eric Blake
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

bug#23314: gzip-1.7-1 regression: cannot redirect output of gzip -l

2016-04-19 Thread Eric Blake
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

bug#23314: gzip-1.7-1 regression: cannot redirect output of gzip -l

2016-04-19 Thread Eric Blake
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

bug#23315: Bug in gzip-1.7

2016-04-19 Thread Eric Blake
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

bug#23316: gzip-1.7: gzip -l issue when piping

2016-04-19 Thread Eric Blake
> 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

bug#23467: I found a security bug in gzip…

2016-05-11 Thread Eric Blake
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

bug#25633: porting gzip to Visual Studio 2015 failed due to redesign of CRT

2017-02-06 Thread Eric Blake
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

bug#25633: porting gzip to Visual Studio 2015 failed due to redesign of CRT

2017-02-07 Thread Eric Blake
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

bug#27030: Might you be able to assist me to properly download and install your super-fine gzip product?

2017-05-22 Thread Eric Blake
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

bug#29790: How to extract overridden tarred file

2017-12-20 Thread Eric Blake
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

bug#55458: getopt compilation failure on Darwin (gzip 1.3.13)

2022-05-16 Thread Eric Blake
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