ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] glibc 6:2.5-alt2 to git-push
Date: Tue, 24 Oct 2006 02:25:18 +0400
Message-ID: <20061023222518.GA2521@basalt.office.altlinux.org> (raw)
In-Reply-To: <20061023221715.GC7847@localhost.localdomain>

[-- Attachment #1: Type: text/plain, Size: 1563 bytes --]

On Tue, Oct 24, 2006 at 02:17:15AM +0400, Alexey Tourbin wrote:
> On Sun, Oct 15, 2006 at 02:42:44PM +0400, Dmitry V. Levin wrote:
> > On Sun, Oct 15, 2006 at 10:35:52AM +0400, Alexey Tourbin wrote:
> > > On Sat, Oct 14, 2006 at 12:32:27AM +0400, Dmitry V. Levin wrote:
> > > > On Fri, Oct 13, 2006 at 09:19:41PM +0400, Alexey Tourbin wrote:
> > [...]
> > > > > Спасибо!  Toolchain готов, как я понимаю?  Выжидаю момент, чтобы потом
> > > > > избежать автоматической пересборки своих пакетов.
> > > > 
> > > > Да, toolchain готов.  Сборки gcc и glibc ещё будут, но никаких побочных
> > > > эффектов я от них не жду.  Дата отсечения как раз и была 9-го октября, всё
> > > > что было собрано после, судя по всему, в автоматической пересборке не
> > > > нуждается.
> > > 
> > > В glibc 2.3.5-alt3 добавился warn_unused_result на asprintf и co,
> > 
> > Не проверять код возврата asprintf - это аналогично тому, чтобы не проверять
> > код возврата malloc.  Если бы Дреппер этого не сделал, я бы пропатчил сам.
> 
> Вообще сейчас warn_unused_result не очень последовательно.  write() --
> это warn_unused_result, а printf() -- нет; хотя printf() использует
> write(), и фактически возвращает результат write().

Проверить код возврата printf() в случае partial write бывает непросто,
тут скорее ferror() подойдёт.

> С другой стороны, в нормальной ситуации stdout как бы должен быть живой
> и нужно очень постараться, чтобы printf() отвалил, тем более по
> дескриптору.

Это бывает (и легко воспроизвести) в случае ENOSPC.


-- 
ldv

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2006-10-23 22:25 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-13 15:07 ` Alexey Tourbin
2006-10-13 17:19   ` Alexey Tourbin
2006-10-13 20:32     ` Dmitry V. Levin
2006-10-15  6:35       ` Alexey Tourbin
2006-10-15 10:42         ` Dmitry V. Levin
2006-10-15 10:58           ` Alexey Tourbin
2006-10-15 11:21             ` Dmitry V. Levin
2006-10-15 13:02           ` [devel] [JT] " Michael Shigorin
2006-10-15 14:39             ` Dmitry V. Levin
2006-10-15 18:35               ` Michael Shigorin
2006-10-15 19:40                 ` Dmitry V. Levin
2006-10-15 19:59                   ` Michael Shigorin
2006-10-15 20:31                     ` Dmitry V. Levin
2006-10-23 22:17           ` [devel] " Alexey Tourbin
2006-10-23 22:25             ` Dmitry V. Levin [this message]
2006-10-23 22:32               ` Alexey Tourbin
2006-10-23 23:07             ` [devel] warn_unused_result портят жизнь мэйнтейнеру Slava Semushin
2006-10-24  3:43               ` Alexey Tourbin
2006-10-24  3:57                 ` Andrey Rahmatullin
2006-10-24  4:16                   ` Alexey Tourbin
2006-10-24  4:26                     ` Andrey Rahmatullin
2006-10-24  5:15                     ` [devel] [JT] " Pavlov Konstantin
2006-10-24  5:45                       ` Alexey Tourbin
2006-10-24  6:01                         ` Pavlov Konstantin
2006-10-24 12:24                         ` Michael Shigorin
2006-10-26 15:38                           ` Alexey Tourbin

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=20061023222518.GA2521@basalt.office.altlinux.org \
    --to=ldv@altlinux.org \
    --cc=devel@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 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