mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
stdlib: on Linux, create a non-NULL locale for strto*_l functions
Unlike Darwin, GNU libc does not provide a shortcut to access the C locale by using a NULL locale_t. Swift SVN r25847
This commit is contained in:
@@ -14,8 +14,6 @@
|
||||
// RUN: %S/../../utils/gyb -DCMAKE_SIZEOF_VOID_P=%target-ptrsize %s -o %t/NumericParsing.swift
|
||||
// RUN: %S/../../utils/line-directive %t/NumericParsing.swift -- %target-build-swift %t/NumericParsing.swift -o %t/a.out
|
||||
// RUN: %S/../../utils/line-directive %t/NumericParsing.swift -- %target-run %t/a.out
|
||||
//
|
||||
// XFAIL: linux
|
||||
%{
|
||||
from SwiftIntTypes import *
|
||||
|
||||
@@ -47,7 +45,6 @@ number_of_values = 23
|
||||
}%
|
||||
|
||||
import StdlibUnittest
|
||||
import Darwin
|
||||
|
||||
var tests = TestSuite("NumericParsing")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user