Bug 2382

Summary: [PATCH] fix location of included bits/libc-tsd.h
Product: glibc Reporter: Petr.Salinger
Component: linuxthreadsAssignee: drow <drow>
Status: RESOLVED FIXED    
Severity: normal CC: carlos, glibc-bugs
Priority: P2 Flags: fweimer: security-
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Attachments: demanded patch as attachment

Description Petr.Salinger 2006-02-22 09:35:40 UTC
With changes in  HEAD, there is no longer sysdeps/generic/bits/libc-tsd.h,
which is included from linuxthreads/sysdeps/pthread/bits/libc-tsd.h.

Petr

--- linuxthreads/sysdeps/pthread/bits/libc-tsd.h        3 Jan 2003 22:29:51
-0000       1.9
+++ linuxthreads/sysdeps/pthread/bits/libc-tsd.h        22 Feb 2006 09:16:51 -0000
@@ -26,7 +26,7 @@
 #if USE_TLS && HAVE___THREAD
 
 /* When __thread works, the generic definitionsysdeps/generic/bits/libc-tsd.h
is what we want.  */
-# include <sysdeps/generic/bits/libc-tsd.h>
+# include_next <bits/libc-tsd.h>
 
 #else
Comment 1 Dwayne Grant McConnell 2006-02-28 22:28:24 UTC
Please attach the patch. Cutting/pasting patches from web pages is not very
reliable.
Comment 2 Petr.Salinger 2006-03-01 07:40:36 UTC
Created attachment 895 [details]
demanded patch as attachment

> Please attach the patch. Cutting/pasting patches from web pages is not very
> reliable.

This is in general true, but I really doubt anyone will use patch for applying
such one-line change.
Anyway, patch attached.
Comment 3 Daniel Jacobowitz 2006-03-03 18:20:10 UTC
I agree with Petr.  In any case, I've checked it in.