Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 40908

Summary: hdparm fails with glibc-2.3.3_pre20040117 - readahead redefined
Product: Gentoo Linux Reporter: ferret <ferret-bgo>
Component: [OLD] Core systemAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch to rename "readahead" to "doreadahead" where appropriate

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!