ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Sviatoslav Sviridov <svd@lintec.minsk.by>
To: devel@altlinux.ru
Subject: Re: [devel] Re: [sisyphus] synaptic & user
Date: Fri, 7 Feb 2003 16:12:21 +0300
Message-ID: <20030207161221.1d73e5f0.svd@lintec.minsk.by> (raw)
In-Reply-To: <20030207175801.35034102.vsu@altlinux.ru>

On Fri, 7 Feb 2003 17:58:01 +0300
Sergey Vlasov <vsu@altlinux.ru> wrote:

> On Fri, 07 Feb 2003 00:07:38 +0300
> "Dmitry V. Popkov" <dv@rtcom.tver.ru> wrote:
> 
> > Забавная ситуация проявляется при обновлениях synaptic-ом,
> > запущенным от пользователя,т.е. через consolehelper.
> > Если выбрано для обновления 3 и больше пакетов, просходит
> > успешная загрузка... - и на стадии обновления зависает.
> > Повторный запуск, выбираем те же пакеты и уже из кеша все
> > обновляется нормально.
> 
> Глянул посмотреть в код - @#$@#$@#!#$!@!
> 
> void RGInstallProgress::updateInterface()
> ...
> static char line[128] = "";
> ...
> strcat(line, buf);
> 
> И без малейшей проверки длины. А валится туда весь вывод rpm при
> установке пакетов. Блин.

Этот класс не используется. synaptic сейчас собирается с
rgzvtinstallprogress, весь вывод там показывается.
А RGInstallProgress был раньше, он парсировал вывод rpm --precent и
показывал прогрессбар, а опции -hv в этом случае rpm'у не передавались.

-- 
Sviatoslav Sviridoff
// Lintec Project/Minsk // PIN AG/Berlin //
-- 
First study the enemy.  Seek weakness.
		-- Romulan Commander, "Balance of Terror", stardate 1709.2


      reply	other threads:[~2003-02-07 13:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-07 14:58 ` Sergey Vlasov
2003-02-07 13:12   ` Sviatoslav Sviridov [this message]

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=20030207161221.1d73e5f0.svd@lintec.minsk.by \
    --to=svd@lintec.minsk.by \
    --cc=devel@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 Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

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


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