Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 40908 - hdparm fails with glibc-2.3.3_pre20040117 - readahead redefined
Summary: hdparm fails with glibc-2.3.3_pre20040117 - readahead redefined
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 All
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-08 17:07 UTC by ferret
Modified: 2004-02-08 18:09 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch to rename "readahead" to "doreadahead" where appropriate (hdparm-readahead.patch,1.22 KB, patch)
2004-02-08 17:08 UTC, ferret
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description ferret 2004-02-08 17:07:15 UTC
The new glibc has a var "readahead" in /usr/include/bits/fcntl.h that clashes
with a variable of the same name in hdparm. I was unsure whether it's appropriate
to fix glibc or hdparm, so I went for the latter since it's smaller and less
scary. Patch follows.
Comment 1 ferret 2004-02-08 17:08:50 UTC
Created attachment 25225 [details, diff]
patch to rename "readahead" to "doreadahead" where appropriate
Comment 2 Brad House 2004-02-08 18:09:15 UTC
thanks! was just going to write the same patch myself :)
committed to CVS, should hit rsync soon!