Bug 2161 - [PATCH] document EINVAL on unaligned access
Summary: [PATCH] document EINVAL on unaligned access
Status: RESOLVED FIXED
Alias: None
Product: glibc
Classification: Unclassified
Component: manual (show other bugs)
Version: unspecified
: P2 enhancement
Target Milestone: ---
Assignee: Roland McGrath
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-16 14:54 UTC by Robert Millan
Modified: 2006-02-22 02:55 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments
document EINVAL on unaligned access (651 bytes, patch)
2006-01-16 14:55 UTC, Robert Millan
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Millan 2006-01-16 14:54:09 UTC
On GNU/kFreeBSD, unaligned read/write on devices causes EINVAL.  This patch 
documents it (in a generic way).
Comment 1 Robert Millan 2006-01-16 14:55:02 UTC
Created attachment 830 [details]
document EINVAL on unaligned access

2006-01-16  Robert Millan  <robertmh@gnu.org>

	* manual/llio.texi (read, write): Document EINVAL on unaligned access.
Comment 2 cvs-commit@gcc.gnu.org 2006-02-22 02:55:01 UTC
Subject: Bug 2161

CVSROOT:	/cvs/glibc
Module name:	libc
Changes by:	roland@sources.redhat.com	2006-02-22 02:54:55

Modified files:
	manual         : llio.texi 

Log message:
	2005-11-15  Robert Millan  <robertmh@gnu.org>
	
	[BZ #2161]
	* manual/llio.texi (read, write): Document EINVAL on unaligned access.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/manual/llio.texi.diff?cvsroot=glibc&r1=1.77&r2=1.78

Comment 3 Roland McGrath 2006-02-22 02:55:52 UTC
Some devices on the Hurd can have the same behavior, though I'm not sure any
Linux devices do.  I've put in the note.