]> Cypherpunks repositories - gostls13.git/commitdiff
doc/go1.12: note that syscall.Getdirentries is no longer supported on iOS
authorElias Naur <elias.naur@gmail.com>
Tue, 18 Dec 2018 20:32:48 +0000 (21:32 +0100)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 18 Dec 2018 22:40:56 +0000 (22:40 +0000)
Change-Id: I4277f4130b460b42c5b51fd5a5e07f6c0e62163b
Reviewed-on: https://go-review.googlesource.com/c/154720
Reviewed-by: Ian Lance Taylor <iant@golang.org>
doc/go1.12.html

index 1ef43d9cf01ae2aa4921b127921e9089b610e11e..f0957eeb7e5759f0bcf70cc11bad966b018f4869 100644 (file)
@@ -87,6 +87,11 @@ Do not send CLs removing the interior tags from such phrases.
 <p><!-- CL 141639 -->
   <code>libSystem</code> is now used when making syscalls on Darwin,
   ensuring forward-compatibility with future versions of macOS and iOS.
+  <!-- CL 153338 -->
+  The switch to <code>libSystem</code> triggered additional App Store
+  checks for private API usage. Since it is considered private,
+  <code>syscall.Getdirentries</code> now always fails with
+  <code>ENOSYS</code> on iOS.
 </p>
 
 <h2 id="tools">Tools</h2>