Bug 2382 - [PATCH] fix location of included bits/libc-tsd.h
Summary: [PATCH] fix location of included bits/libc-tsd.h
Status: RESOLVED FIXED
Alias: None
Product: glibc
Classification: Unclassified
Component: linuxthreads (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: drow@false.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-22 09:35 UTC by Petr.Salinger
Modified: 2018-04-19 13:53 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:
fweimer: security-


Attachments
demanded patch as attachment (225 bytes, patch)
2006-03-01 07:40 UTC, Petr.Salinger
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.