ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Andrew Borodin <borodin@zarya-k.ru>
To: sisyphus@lists.altlinux.org
Subject: Re: [sisyphus] Менеджер пакетов
Date: Wed, 12 Dec 2007 15:10:23 +0300
Message-ID: <20071212121023.GB3805@borodin.zarya> (raw)
In-Reply-To: <200712121331.33100.drew@mogilev.beltelecom.by>

On Wed, Dec 12, 2007 at 01:31:32PM +0200, Andrew G. Klepcha wrote:
> В сообщении от Wednesday 12 December 2007 11:34:46 Александр Орлов написал(а):
> > Простите, неправильно написал. Так должно быть:

> > pkgCache::PkgIterator I = Cache.PkgBegin();
> > for (;I.end() != true; I++) {}

> во-первых it.end() != true стоит заменить на !it.end()... хотя, возможно, что 
> сам компилятор заменит.... а что такое PkgIterator? вы уверены, что ++ дает 
> именно тот эффект, что вы ожидаете? может надо что-нибудь вроде it.next()?

В самом apt'е код написан именно так.

-- 

С уважением,
А. Бородин.


  reply	other threads:[~2007-12-12 12:10 UTC|newest]

Thread overview: 74+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-04  9:39 ` Алексей Шенцев
2007-12-04  9:40 ` Alexey Morsov
2007-12-04 10:18   ` Alexei V. Mezin
2007-12-04 10:20   ` Alexei V. Mezin
2007-12-04 10:30     ` Андрей Черепанов
2007-12-04 14:55       ` Igor Zubkov
2007-12-04 10:30     ` Alexey Morsov
2007-12-04 10:40       ` Alexei V. Mezin
2007-12-04 20:25         ` Хихин Руслан
2007-12-04 10:45       ` Андрей Черепанов
2007-12-04 10:59         ` Alexei V. Mezin
2007-12-04 11:05           ` Андрей Черепанов
2007-12-04 11:14           ` Andrew Borodin
2007-12-04 12:04             ` Alexei V. Mezin
2007-12-04 12:16               ` Andrew Borodin
2007-12-04 21:14                 ` Хихин Руслан
2007-12-04 21:50                   ` Alexei V. Mezin
2007-12-04 20:31           ` Хихин Руслан
2007-12-04 21:41               ` Хихин Руслан
2007-12-04 23:00                 ` Alexei V. Mezin
2007-12-04 10:54       ` Motsyo Gennadi aka Drool
2007-12-04 14:14           ` Андрей Черепанов
2007-12-05  2:23           ` Alexey Rusakov
2007-12-05  9:07               ` Motsyo Gennadi aka Drool
2007-12-05  9:15               ` Alexey Shabalin
2007-12-12  6:13                   ` Andrew Borodin
2007-12-12  6:27                   ` Andrew G. Klepcha
2007-12-12 11:31                       ` Andrew G. Klepcha
2007-12-12 12:10                         ` Andrew Borodin [this message]
2007-12-12  8:34                   ` Slava Semushin
2007-12-04 10:55       ` Alexander Bokovoy
2007-12-04 14:44         ` Igor Zubkov
2007-12-04 20:41         ` Хихин Руслан
2007-12-04 22:59           ` Alexey I. Froloff
2007-12-04 20:30         ` Хихин Руслан
2007-12-04  9:42 ` Slava Semushin
2007-12-20 12:23     ` Андрей Черепанов
2007-12-20 14:20       ` Motsyo Gennadi aka Drool
2007-12-20 14:39     ` Dmitry V. Levin
2007-12-20 17:46         ` Motsyo Gennadi aka Drool
2007-12-21  7:59         ` Андрей Черепанов
2007-12-21 12:50     ` Андрей Черепанов
2007-12-21 13:36       ` Владимир Черный
2007-12-21 21:29         ` Alexey I. Froloff
2007-12-21 21:49           ` Alexey I. Froloff
2007-12-23 21:19           ` Владимир Черный
2007-12-24  5:22             ` Хихин Руслан
2007-12-24 11:10         ` Андрей Черепанов
2007-12-26  8:32             ` Андрей Черепанов
2007-12-26 20:51                 ` Alexey I. Froloff
2007-12-28  6:32                 ` Motsyo Gennadi aka Drool
2007-12-28  6:37               ` Motsyo Gennadi aka Drool
2007-12-28  7:44                 ` Андрей Черепанов
2007-12-28  7:58                   ` Motsyo Gennadi aka Drool
2007-12-28  9:19                     ` Андрей Черепанов
2007-12-26  9:47     ` Slava Dubrovskiy
2007-12-26 10:36         ` ruslandh
2007-12-26 12:49             ` Alexey Rusakov
2007-12-26 13:30               ` Anton Farygin
2007-12-26 13:56                 ` Aleksey Avdeev
2007-12-26 14:17                   ` Anton Farygin
2007-12-26 16:02                     ` Aleksey Avdeev
2007-12-26 20:54                     ` Alexey I. Froloff
2007-12-26 23:28                       ` Aleksey Avdeev
2007-12-26 14:33                   ` Mikhail Gusarov
2007-12-26 15:06                     ` Alexey Gladkov
2007-12-26 20:55                 ` Alexey I. Froloff
2008-03-22 11:36                   ` [sisyphus] Инструменты настройки системы Вячеслав Диконов
2008-03-22 11:47                     ` Alexey I. Froloff
2008-03-22 13:22                     ` Michael Shigorin
2008-03-23 18:33                     ` Stanislav Ievlev
2007-12-26 22:46                 ` [sisyphus] Менеджер пакетов Alexey Rusakov
2007-12-27 14:05                 ` Sergey V Turchin
2007-12-27  6:42           ` Slava Dubrovskiy

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=20071212121023.GB3805@borodin.zarya \
    --to=borodin@zarya-k.ru \
    --cc=sisyphus@lists.altlinux.org \
    /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