[Mono-bugs] [Bug 670068] New: HAVE_GETPROCESSID is exposed in public header io-layer.h

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Feb 7 14:13:30 EST 2011


https://bugzilla.novell.com/show_bug.cgi?id=670068

https://bugzilla.novell.com/show_bug.cgi?id=670068#c0


           Summary: HAVE_GETPROCESSID is exposed in public header
                    io-layer.h
    Classification: Mono
           Product: Mono: Runtime
           Version: 2.10.x
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: io-layer
        AssignedTo: lupus at novell.com
        ReportedBy: hib at hiberis.nl
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Created an attachment (id=412625)
 --> (http://bugzilla.novell.com/attachment.cgi?id=412625)
0001-Remove-implementation-details-from-public-header-io-.patch

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13)
Gecko/20101203 SUSE/3.6.13-0.2.1 Firefox/3.6.13

The macro HAVE_GETPROCESSID is defined in config.h and should not be
exposed in public header mono/io-layer/io-layer.h.

In io-layer.h, the macro is only used for implementation details and should be
moved from the header file to the appropriate *.c file. See attached patch. 

Reproducible: Always

Steps to Reproduce:
1.
2.
3.

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list