Title: [170076] trunk/Source/_javascript_Core
Revision
170076
Author
mmir...@apple.com
Date
2014-06-17 15:17:26 -0700 (Tue, 17 Jun 2014)

Log Message

Fixes bug where building JSC sometimes crashes at build-symbol-table-index.py. Also adds licenses. 
https://bugs.webkit.org/show_bug.cgi?id=133814

Reviewed by Filip Pizlo.
        
Adds the "shopt -s nullglob" line necessary to prevent the loop in the shell 
script from using "*.o" as a file when no other files in the directory exist. 
        
* build-symbol-table-index.sh: Added license.
* copy-llvm-ir-to-derived-sources.sh: Added license and "shopt -s nullglob" line.

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (170075 => 170076)


--- trunk/Source/_javascript_Core/ChangeLog	2014-06-17 22:05:59 UTC (rev 170075)
+++ trunk/Source/_javascript_Core/ChangeLog	2014-06-17 22:17:26 UTC (rev 170076)
@@ -1,3 +1,16 @@
+2014-06-17  Matthew Mirman  <mmir...@apple.com>
+
+        Fixes bug where building JSC sometimes crashes at build-symbol-table-index.py. Also adds licenses. 
+        https://bugs.webkit.org/show_bug.cgi?id=133814
+
+        Reviewed by Filip Pizlo.
+        
+        Adds the "shopt -s nullglob" line necessary to prevent the loop in the shell 
+        script from using "*.o" as a file when no other files in the directory exist. 
+        
+        * build-symbol-table-index.sh: Added license.
+        * copy-llvm-ir-to-derived-sources.sh: Added license and "shopt -s nullglob" line.
+
 2014-06-16  Sam Weinig  <s...@webkit.org>
 
         Move forward declaration of bindings static functions into their implementation files

Modified: trunk/Source/_javascript_Core/build-symbol-table-index.sh (170075 => 170076)


--- trunk/Source/_javascript_Core/build-symbol-table-index.sh	2014-06-17 22:05:59 UTC (rev 170075)
+++ trunk/Source/_javascript_Core/build-symbol-table-index.sh	2014-06-17 22:17:26 UTC (rev 170076)
@@ -1,5 +1,28 @@
 #!/bin/sh
 
+# Copyright (C) 2014 Apple Inc.  All rights reserved.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions
+# are met:
+# 1. Redistributions of source code must retain the above copyright
+#    notice, this list of conditions and the following disclaimer.
+# 2. Redistributions in binary form must reproduce the above copyright
+#    notice, this list of conditions and the following disclaimer in the
+#    documentation and/or other materials provided with the distribution.
+#
+# THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+# PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE INC. OR
+# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+# OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
+
 RUNTIME_DERIVED_SOURCES_DIR=${BUILT_PRODUCTS_DIR}/DerivedSources/_javascript_CoreRuntime
 RUNTIME_INSTALL_DIR=${BUILT_PRODUCTS_DIR}/${_javascript_CORE_RESOURCES_DIR}/Runtime
 

Modified: trunk/Source/_javascript_Core/copy-llvm-ir-to-derived-sources.sh (170075 => 170076)


--- trunk/Source/_javascript_Core/copy-llvm-ir-to-derived-sources.sh	2014-06-17 22:05:59 UTC (rev 170075)
+++ trunk/Source/_javascript_Core/copy-llvm-ir-to-derived-sources.sh	2014-06-17 22:17:26 UTC (rev 170076)
@@ -1,8 +1,32 @@
 #!/bin/sh
 
+# Copyright (C) 2014 Apple Inc.  All rights reserved.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions
+# are met:
+# 1. Redistributions of source code must retain the above copyright
+#    notice, this list of conditions and the following disclaimer.
+# 2. Redistributions in binary form must reproduce the above copyright
+#    notice, this list of conditions and the following disclaimer in the
+#    documentation and/or other materials provided with the distribution.
+#
+# THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+# PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE INC. OR
+# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+# OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
+
 OBJ_DIR=${TARGET_TEMP_DIR}/Objects-${CURRENT_VARIANT}
 RUNTIME_DERIVED_SOURCES_DIR=${BUILT_PRODUCTS_DIR}/DerivedSources/_javascript_CoreRuntime
 
+shopt -s nullglob
 for arch in $ARCHS;
 do
     if [ -d "$OBJ_DIR/$arch" ];
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to