Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 79268 Details for
Bug 122042
flex-2.5.31 doesn't declare isatty for C++ code
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
flex-2.5.31-isatty.patch
flex-2.5.31-isatty.patch (text/plain), 886 bytes, created by
Nicola
on 2006-02-08 13:46:22 UTC
(
hide
)
Description:
flex-2.5.31-isatty.patch
Filename:
MIME Type:
Creator:
Nicola
Created:
2006-02-08 13:46:22 UTC
Size:
886 bytes
patch
obsolete
>Declare the isatty prototype all the time > >http://bugs.gentoo.org/119598 > >--- flex/scan.c >+++ flex/scan.c >@@ -3935,9 +3935,13 @@ > yyfree((void *) b ); > } > >-#ifndef __cplusplus >+#ifdef __cplusplus >+extern "C" { >+#endif >-extern int isatty (int ); >+extern int isatty (int ) __THROW; >-#endif /* __cplusplus */ >+#ifdef __cplusplus >+} >+#endif > > /* Initializes or reinitializes a buffer. > * This function is sometimes called more than once on the same buffer, >--- flex/skel.c >+++ flex/skel.c >@@ -2183,9 +2183,13 @@ > "[[", > " m4_ifdef( [[M4_YY_NEVER_INTERACTIVE]],,", > " [[", >- "#ifndef __cplusplus", >+ "#ifdef __cplusplus", >+ "extern \"C\" {", >+ "#endif", >- "extern int isatty M4_YY_PARAMS( int );", >+ "extern int isatty M4_YY_PARAMS( int ) __THROW;", >- "#endif /* __cplusplus */", >+ "#ifdef __cplusplus", >+ "}", >+ "#endif", > " ]])", > "]])", > "%endif",
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 122042
: 79268