nigels-com / glew

The OpenGL Extension Wrangler Library
Other
2.58k stars 608 forks source link

Remove everything after digits in SYSTEM #389

Closed ryandesign closed 2 months ago

ryandesign commented 11 months ago

Instead of just removing periods and digits from SYSTEM, remove periods and digits and everything after any digits. This handles unusual system identifiers like powerpc-apple-darwin10.0.0d2.

I wasn't sure if periods can appear anywhere other than in the release number so I retained the previous behavior of removing all periods regardless where they are.

nigels-com commented 11 months ago

Sounds good.