Reviewers: Sven Panne, Jakob, Benedikt Meurer,
Message:
I made all the "platform-specific..." comment lines at the top of
platform-*.cc
uniform, fixing a typo (comaptible-->compatible), and I updated
platform-posix.cc to mention NetBSD and QNX.
Description:
Fix minor typos in platform-*.cc
BUG=
Please review this at https://codereview.chromium.org/146793002/
SVN Base: git://github.com/v8/v8.git@master
Affected files (+16, -16 lines):
M src/platform-cygwin.cc
M src/platform-freebsd.cc
M src/platform-linux.cc
M src/platform-macos.cc
M src/platform-openbsd.cc
M src/platform-posix.cc
M src/platform-solaris.cc
M src/platform-win32.cc
Index: src/platform-cygwin.cc
diff --git a/src/platform-cygwin.cc b/src/platform-cygwin.cc
index
6dd04dd172fac0b22adbc7ff66b42cfbf1911019..ac804398f194878e681f5cfd129250e90f02f8a8
100644
--- a/src/platform-cygwin.cc
+++ b/src/platform-cygwin.cc
@@ -25,8 +25,8 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-// Platform specific code for Cygwin goes here. For the POSIX comaptible
parts
-// the implementation is in platform-posix.cc.
+// Platform-specific code for Cygwin goes here. For the POSIX-compatible
+// parts, the implementation is in platform-posix.cc.
#include <errno.h>
#include <pthread.h>
Index: src/platform-freebsd.cc
diff --git a/src/platform-freebsd.cc b/src/platform-freebsd.cc
index
6980a6e68bf837d841c23da5c9527d2bf5a8f23e..9ab6583e0665ea2938915cc48fd2de4b3235c2d8
100644
--- a/src/platform-freebsd.cc
+++ b/src/platform-freebsd.cc
@@ -25,8 +25,8 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-// Platform specific code for FreeBSD goes here. For the POSIX comaptible
parts
-// the implementation is in platform-posix.cc.
+// Platform-specific code for FreeBSD goes here. For the POSIX-compatible
+// parts, the implementation is in platform-posix.cc.
#include <pthread.h>
#include <semaphore.h>
Index: src/platform-linux.cc
diff --git a/src/platform-linux.cc b/src/platform-linux.cc
index
4e2017d0936ad971a0718da2d132b11e6ce78d6e..fbcad8f6d161063fbbe280b3a242de2fe887e661
100644
--- a/src/platform-linux.cc
+++ b/src/platform-linux.cc
@@ -25,8 +25,8 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-// Platform specific code for Linux goes here. For the POSIX comaptible
parts
-// the implementation is in platform-posix.cc.
+// Platform-specific code for Linux goes here. For the POSIX-compatible
+// parts, the implementation is in platform-posix.cc.
#include <pthread.h>
#include <semaphore.h>
Index: src/platform-macos.cc
diff --git a/src/platform-macos.cc b/src/platform-macos.cc
index
c5e4cbe55958d6c82793eb9b19a38f9bcd244c49..683a04d3815aaf7c0a0a309444153613d755b44d
100644
--- a/src/platform-macos.cc
+++ b/src/platform-macos.cc
@@ -25,8 +25,8 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-// Platform specific code for MacOS goes here. For the POSIX comaptible
parts
-// the implementation is in platform-posix.cc.
+// Platform-specific code for MacOS goes here. For the POSIX-compatible
+// parts, the implementation is in platform-posix.cc.
#include <dlfcn.h>
#include <unistd.h>
Index: src/platform-openbsd.cc
diff --git a/src/platform-openbsd.cc b/src/platform-openbsd.cc
index
a8f91ad2ee8c13492f06329fe0f76ce5e70e0d32..c881d4735ddeedd4195c934ccc3ac3e86738feaa
100644
--- a/src/platform-openbsd.cc
+++ b/src/platform-openbsd.cc
@@ -25,8 +25,8 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-// Platform specific code for OpenBSD and NetBSD goes here. For the POSIX
-// comaptible parts the implementation is in platform-posix.cc.
+// Platform-specific code for OpenBSD and NetBSD goes here. For the
+// POSIX-compatible parts, the implementation is in platform-posix.cc.
#include <pthread.h>
#include <semaphore.h>
Index: src/platform-posix.cc
diff --git a/src/platform-posix.cc b/src/platform-posix.cc
index
3c62909b7513270e9191abe0613f871a967c6c61..402d411327a013546a565fcbd86fd4822e0c1556
100644
--- a/src/platform-posix.cc
+++ b/src/platform-posix.cc
@@ -25,9 +25,9 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-// Platform specific code for POSIX goes here. This is not a platform on
its
-// own but contains the parts which are the same across POSIX platforms
Linux,
-// Mac OS, FreeBSD and OpenBSD.
+// Platform-specific code for POSIX goes here. This is not a platform on
its
+// own, but contains the parts which are the same across the POSIX
platforms
+// Linux, MacOS, FreeBSD, OpenBSD, NetBSD and QNX.
#include <dlfcn.h>
#include <pthread.h>
Index: src/platform-solaris.cc
diff --git a/src/platform-solaris.cc b/src/platform-solaris.cc
index
5afa7c56746b26fe63ca582aabea6d86fa232ce8..4d910d47ad0abe78c7f80f1bbebf8d376c11665c
100644
--- a/src/platform-solaris.cc
+++ b/src/platform-solaris.cc
@@ -25,8 +25,8 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-// Platform specific code for Solaris 10 goes here. For the POSIX
comaptible
-// parts the implementation is in platform-posix.cc.
+// Platform-specific code for Solaris 10 goes here. For the
POSIX-compatible
+// parts, the implementation is in platform-posix.cc.
#ifdef __sparc
# error "V8 does not support the SPARC CPU architecture."
Index: src/platform-win32.cc
diff --git a/src/platform-win32.cc b/src/platform-win32.cc
index
546d31c078f69f2d347090d266cf89e4dd26e047..56261735b871ee2166498f877ced615baf4efa7f
100644
--- a/src/platform-win32.cc
+++ b/src/platform-win32.cc
@@ -25,7 +25,7 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-// Platform specific code for Win32.
+// Platform-specific code for Win32.
// Secure API functions are not available using MinGW with msvcrt.dll
// on Windows XP. Make sure MINGW_HAS_SECURE_API is not defined to
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.