* sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Use larger of PATH_MAX

and page size when allocating buffer.

	* sysdeps/unix/sysv/linux/bits/socket.h (struct msghdr): Document
	msg_controllen type issue.
	(struct cmsghdr): Same for cmsg_len.
This commit is contained in:
Ulrich Drepper 2006-05-04 13:50:55 +00:00
parent 77dd4c3be8
commit 55ef627440

View File

@ -764,8 +764,12 @@
so it uses send and not writev.
[BZ #2418]
* sysdeps/unix/sysv/linux/bits/socket.h: Use larger of PATH_MAX and
page size when allocating buffer.
* sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Use larger of PATH_MAX
and page size when allocating buffer.
* sysdeps/unix/sysv/linux/bits/socket.h (struct msghdr): Document
msg_controllen type issue.
(struct cmsghdr): Same for cmsg_len.
2006-04-01 Ulrich Drepper <drepper@redhat.com>