From: "Дмитрий Ханжин" <dmitriy.khanzhin@gmail.com>
To: devel@lists.altlinux.org
Subject: Re: [devel] Что это? Переопределение функций?
Date: Mon, 31 Jul 2017 08:13:12 +0300
Message-ID: <4539b76c-8dcc-5fbb-e4ca-4244cf4cc5f8@gmail.com> (raw)
In-Reply-To: <f4527153-9676-d23e-6965-176216df87bd@etersoft.ru>
30.07.2017 21:57, Pavel Vainerman пишет:
> 30.07.2017 21:12, Дмитрий Ханжин пишет:
>
>> Вроде как определения похожи, нафига продублировали.
>> Вымарал из base.h, собралось. Работоспособность пока не проверял.
>> Как же-ж лучше сделать?
>
> Возможно "безопаснее" было бы добавить __THROW __nonnull ((2));
> в определения из base.h не зря ведь их переопределяли, может какая-то
> своя "оптимизированная" реализация. Но тут надо знать историю для чего
> base.h или это в компиляторе добавили throw..
>
Оказывается, в Дебиане, в string.h, определений strlcpy, strlcat нет.
Спасибо, теперь я примерно представляю, о чем спрашивать апстрим.
next prev parent reply other threads:[~2017-07-31 5:13 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-30 16:56 Дмитрий Ханжин
2017-07-30 17:00 ` Pavel Vainerman
2017-07-30 18:12 ` Дмитрий Ханжин
2017-07-30 18:57 ` Pavel Vainerman
2017-07-31 5:13 ` Дмитрий Ханжин [this message]
2017-07-31 9:58 ` Michael Shigorin
2017-07-31 10:15 ` Konstantin Lepikhov
2017-07-31 10:52 ` Dmitry V. Levin
2017-07-31 18:56 ` Дмитрий Ханжин
2017-07-31 19:30 ` Dmitry V. Levin
2017-08-01 17:42 ` [devel] [thx] " Дмитрий Ханжин
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=4539b76c-8dcc-5fbb-e4ca-4244cf4cc5f8@gmail.com \
--to=dmitriy.khanzhin@gmail.com \
--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