| Index: pylib/gyp/aix_tool.py
|
| diff --git a/pylib/gyp/sun_tool.py b/pylib/gyp/aix_tool.py
|
| similarity index 89%
|
| copy from pylib/gyp/sun_tool.py
|
| copy to pylib/gyp/aix_tool.py
|
| index 90d59c824095abbcfcae9384b03f3e37d464b36b..462c85913efb2f79d99d8f8c7a12ebe947c24e9b 100755
|
| --- a/pylib/gyp/sun_tool.py
|
| +++ b/pylib/gyp/aix_tool.py
|
| @@ -3,7 +3,7 @@
|
| # Use of this source code is governed by a BSD-style license that can be
|
| # found in the LICENSE file.
|
|
|
| -"""These functions are executed via gyp-sun-tool when using the Makefile
|
| +"""These functions are executed via gyp-aix-tool when using the Makefile
|
| generator."""
|
|
|
| import fcntl
|
| @@ -14,11 +14,11 @@ import sys
|
|
|
|
|
| def main(args):
|
| - executor = SunTool()
|
| + executor = AIXTool()
|
| executor.Dispatch(args)
|
|
|
|
|
| -class SunTool(object):
|
| +class AIXTool(object):
|
| """This class performs all the SunOS tooling steps. The methods can either be
|
| executed directly, or dispatched from an argument list."""
|
|
|
| @@ -37,7 +37,7 @@ class SunTool(object):
|
| def ExecFlock(self, lockfile, *cmd_list):
|
| """Emulates the most basic behavior of Linux's flock(1)."""
|
| # Rely on exception handling to report errors.
|
| - # Note that the stock python on SunOS has a bug
|
| + # Note that the stock python has a bug
|
| # where fcntl.flock(fd, LOCK_EX) always fails
|
| # with EBADF, that's why we use this F_SETLK
|
| # hack instead.
|
|
|