Commit Graph

17 Commits

Author SHA1 Message Date
Dmitri Gribenko
2fe3a39ad3 Fix call sites of unsafeBitCast() in the Glibc overlay 2016-02-27 16:49:44 -07:00
Max Moiseev
08e1e4a043 Merge remote-tracking branch 'origin/master' into swift-3-api-guidelines 2016-01-11 16:51:11 -08:00
Davide Italiano
51736f16b4 [Glibc] Define 'extern char **environment' correctly on FreeBSD. 2016-01-08 21:52:14 +00:00
Max Moiseev
f51e708a8f Merge remote-tracking branch 'origin/master' into swift-3-api-guidelines 2016-01-04 12:25:25 -08:00
practicalswift
fd608f3d85 Fix incorrect file names in file headers. 2016-01-04 10:02:46 +01:00
Zach Panzarino
e3a4147ac9 Update copyright date 2015-12-31 23:28:40 +00:00
Davide Italiano
8f301b6554 [stdlib] Initial FreeBSD port. 2015-12-21 20:12:56 +00:00
Dmitri Gribenko
3d0ad16094 Unsafe[Mutable]Pointer.memory => .pointee 2015-12-16 15:50:31 -08:00
Bill Abt
661e1035cb Minor formatting changes to conform to conventions. 2015-12-11 09:47:09 -05:00
Bill Abt
9c4f47ac9b Implementation of fcntl() to both Darwin and Glibc overlays. Ported open(), openat() and sem_open() from Darwin to Glibc. Added tests for new fcntl functionality. 2015-12-10 21:33:20 -05:00
Manolo van Ee
3d919796ea Glibc module: detect location of glibc header files
In the Glibc module map all sys/... header files had the following paths:
/usr/include/x86_64-linux-gnu/sys/..., but some distros install them in
/usr/include/sys/...
2015-12-09 11:44:27 +01:00
Chris Willmore
ab1f21ab8a Link libpthread and libdl when importing Glibc module.
libSystem on OS X (and therefore the Darwin module) includes all the functions
that are present in libpthread/libld on Linux. So go ahead and pull those in for
parity.

<rdar://problem/23207607>
2015-11-06 14:26:01 -07:00
Jordan Rose
6e1bf0d10d Rename @exported to @_exported for now.
At some point I want to propose a revised model for exports, but for now
just mark that support for '@exported' is still experimental and subject
to change. (Thanks, Max.)
2015-11-05 11:59:00 -08:00
Daniel Dunbar
8f089d20b2 [Linux] Add Glibc overlay support for fcntl stat macros.
Swift SVN r32655
2015-10-13 14:31:34 +00:00
Daniel Dunbar
c9e3c36a21 [Glibc] Complete the Glibc module.map.
- This adds all of the content which is also present in the Darwin module,
   following the same structure. Not every single header is enumerated, but I
   believe this does capture almost all of the interesting top-level things that
   people include directly.

Swift SVN r32628
2015-10-12 18:36:15 +00:00
David Farler
53de8f9329 Add math.h to the Glibc module
Swift SVN r32052
2015-09-17 23:39:04 +00:00
David Farler
120ac7541c Move the glibc module to stdlib/public
Swift SVN r32050
2015-09-17 23:13:10 +00:00