Thanks to visit codestin.com
Credit goes to github.com

Skip to content

stdlib.yaml: qsort_r() is in POSIX 2024 (aka issue 8). #138572

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 6, 2025

Conversation

enh-google
Copy link
Contributor

No description provided.

@enh-google enh-google requested a review from SchrodingerZhu May 5, 2025 20:10
@llvmbot llvmbot added the libc label May 5, 2025
@llvmbot
Copy link
Member

llvmbot commented May 5, 2025

@llvm/pr-subscribers-libc

Author: None (enh-google)

Changes

Full diff: https://github.com/llvm/llvm-project/pull/138572.diff

1 Files Affected:

  • (modified) libc/include/stdlib.yaml (+1-1)
diff --git a/libc/include/stdlib.yaml b/libc/include/stdlib.yaml
index 5690a942e2570..61342234b7193 100644
--- a/libc/include/stdlib.yaml
+++ b/libc/include/stdlib.yaml
@@ -158,7 +158,7 @@ functions:
       - type: __qsortcompare_t
   - name: qsort_r
     standards:
-      - GNUExtensions
+      - posix
     return_type: void
     arguments:
       - type: void *

@SchrodingerZhu
Copy link
Contributor

Could you change the case to align with the code above?

@enh-google
Copy link
Contributor Author

Could you change the case to align with the code above?

done

Copy link
Contributor

@SchrodingerZhu SchrodingerZhu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@SchrodingerZhu SchrodingerZhu merged commit e79dc76 into llvm:main May 6, 2025
14 of 15 checks passed
@enh-google enh-google deleted the enh-google-patch-4 branch May 6, 2025 13:37
GeorgeARM pushed a commit to GeorgeARM/llvm-project that referenced this pull request May 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants