| OLD | NEW |
| 1 # | 1 # |
| 2 # Copyright (C) 2005 Nikolas Zimmermann <wildfox@kde.org> | 2 # Copyright (C) 2005 Nikolas Zimmermann <wildfox@kde.org> |
| 3 # Copyright (C) 2011 Google Inc. | 3 # Copyright (C) 2011 Google Inc. |
| 4 # | 4 # |
| 5 # This library is free software; you can redistribute it and/or | 5 # This library is free software; you can redistribute it and/or |
| 6 # modify it under the terms of the GNU Library General Public | 6 # modify it under the terms of the GNU Library General Public |
| 7 # License as published by the Free Software Foundation; either | 7 # License as published by the Free Software Foundation; either |
| 8 # version 2 of the License, or (at your option) any later version. | 8 # version 2 of the License, or (at your option) any later version. |
| 9 # | 9 # |
| 10 # This library is distributed in the hope that it will be useful, | 10 # This library is distributed in the hope that it will be useful, |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 $pid = open2(\*PP_OUT, \*PP_IN, split(' ', $preprocessor), @args, @macro
s, $fileName); | 80 $pid = open2(\*PP_OUT, \*PP_IN, split(' ', $preprocessor), @args, @macro
s, $fileName); |
| 81 } | 81 } |
| 82 close PP_IN; | 82 close PP_IN; |
| 83 my @documentContent = <PP_OUT>; | 83 my @documentContent = <PP_OUT>; |
| 84 close PP_OUT; | 84 close PP_OUT; |
| 85 waitpid($pid, 0); | 85 waitpid($pid, 0); |
| 86 return @documentContent; | 86 return @documentContent; |
| 87 } | 87 } |
| 88 | 88 |
| 89 1; | 89 1; |
| OLD | NEW |