ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] getlogin broken in glibc-2.2.4-alt2
@ 2001-09-23 10:38 Alexey Voinov
  2001-09-23 17:04 ` Sergey Vlasov
  0 siblings, 1 reply; 6+ messages in thread
From: Alexey Voinov @ 2001-09-23 10:38 UTC (permalink / raw)
  To: devel


[-- Attachment #1.1: Type: text/plain, Size: 651 bytes --]

Наблюдаю бред.

$ rpm -q glibc glibc-devel
glibc-2.2.4-alt2
glibc-devel-2.2.4-alt2

a.out - это маленькая програмка, корая лежитт в аттаче,
печатает ответ от функции getlogin. Функция документированная,
никаких пометок относительно obsoleted или deprecated я не заметил.

$ ./a.out
getlogin returned: LOGIN

А вроде как должно сказать: voins.

Есть подозрение, что это буг в glibc.


-- 
Best Regards!           | Когда вам платят за работу, надо по крайней мере
Alexey Voinov           | делать вид, что вы работаете...
                        |                         Б.Виан "Осень в Пекине"
voins@voins.program.ru
voins@online.ru
vns@altlinux.ru


[-- Attachment #1.2: getlogintest.c --]
[-- Type: text/plain, Size: 118 bytes --]

#include <unistd.h>
#include <stdio.h>

int main(void)
{
	printf("getlogin returned: %s\n", getlogin());
	return 0;
}

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2001-09-24 18:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-23 10:38 [devel] getlogin broken in glibc-2.2.4-alt2 Alexey Voinov
2001-09-23 17:04 ` Sergey Vlasov
2001-09-24  9:37   ` Dmitry V. Levin
2001-09-24 17:47     ` Alexey Voinov
2001-09-24 18:13       ` Ivan Zakharyaschev
2001-09-24 18:17       ` Dmitry V. Levin

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