[Bug 8461] New: Patch to remove nested function

bugzilla at busybox.net bugzilla at busybox.net
Sun Nov 15 12:37:58 UTC 2015


https://bugs.busybox.net/show_bug.cgi?id=8461

           Summary: Patch to remove nested function
           Product: uClibc
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P5
         Component: Threads
        AssignedTo: unassigned at uclibc.org
        ReportedBy: mt at debian.org
                CC: uclibc-cvs at uclibc.org
   Estimated Hours: 0.0


Hello,

For an unknown reason __reclaim_stacks uses a nested function, which is a
feature even deprecated in GCC and unsupported in other compilers. 

This was introduced in a032a6587011cbdac8c2f7e11f15dc4e592bbb55. glibc has
meanwhile expanded this inline:

https://sourceware.org/git/?p=glibc.git;a=commit;f=nptl/allocatestack.c;h=fc75bf464d128f6a722d6cca7012c996f1f73425

The attached patch moves the function into file scope.

Best,
Michael

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the uClibc-cvs mailing list