ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Dmitry Alexeyev <dmi_a@qnx.org.ru>
To: sisyphus@altlinux.ru
Subject: Re: [sisyphus] rpm problems (update, rebuild)
Date: Wed, 30 Apr 2003 23:15:55 +0400
Message-ID: <200304302315.55958.dmi_a@qnx.org.ru> (raw)
In-Reply-To: <200304302241.37901.dmi_a@qnx.org.ru>

> Угумсь.. Все чудесатее и чудесатее, ошибочка своими корнями упирается в
> zlib

...и вот так я это исправил. Хотя это, конечно, и не дело. Лучше всего, 
наверное, подпатчить gzdFileno()... 

WBR,
Dmitry

--- rpm-4_0-4.0.4/rpmio/rpmio.c	2002-08-03 20:35:15 +0400
+++ rpm-4_0-4.0.4.dmi/rpmio/rpmio.c	2003-04-30 23:10:37 +0400
@@ -2196,7 +2196,8 @@

     gzfile = gzdFileno(fd);
     if (gzfile == NULL) return -2;	/* XXX can't happen */
-
+    ((z_stream*)(gzfile))->msg = NULL;
+
     fdstat_enter(fd, FDSTAT_READ);
     /*@-compdef@*/ /* LCL: *buf is undefined */
     rc = gzread(gzfile, buf, count);





  reply	other threads:[~2003-04-30 19:15 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-29 15:03 Dmitry Alexeyev
2003-04-30  6:30 ` Artem Pastukhov
2003-04-30  9:53   ` Dmitry Alexeyev
2003-04-30 11:39 ` Мельников Максим Андреевич
2003-04-30 11:48 ` Dmitry V. Levin
2003-04-30 18:24   ` Dmitry Alexeyev
2003-04-30 18:41     ` Dmitry Alexeyev
2003-04-30 19:15       ` Dmitry Alexeyev [this message]
2003-05-06 22:18         ` Dmitry V. Levin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200304302315.55958.dmi_a@qnx.org.ru \
    --to=dmi_a@qnx.org.ru \
    --cc=sisyphus@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git