[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Incorrect interpretation of return code
From: |
Matthew Gregg Knepley |
Subject: |
Incorrect interpretation of return code |
Date: |
Mon, 26 Nov 2001 13:20:30 -0500 |
spinetta> automake --version
automake (GNU automake) 1.4
Copyright (C) 1999 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Tom Tromey <address@hidden>
When missing files are copied into place, the return code of the
system command is misinterpreted. Here is the diff:
6915c6910
< elsif (system ('cp', $am_dir . '/' . $file, $errfile))
---
> elsif (! system ('cp', $am_dir . '/' . $file, $errfile))
Thanks,
Matt
- Incorrect interpretation of return code,
Matthew Gregg Knepley <=