* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*
- * Version: $Id: flint.cpp 2747 2006-01-17 16:46:17Z orenk $
+ * Version: $Id: flint.cpp 2768 2006-03-09 12:57:05Z orenk $
*
*/
char* _versionID = "VERSION_ID_HERE";
#endif
-char* _svnID = "$Revision: 2747 $";
+char* _svnID = "$Revision: 2768 $";
#ifndef __be32_to_cpu
#define __be32_to_cpu(x) ntohl(x)
Operations ops;
- FBase* fbase = 0 /* Suppress gcc warning */;
- char* cmdTarget = 0 /* Suppress gcc warning */;
- char* cmdAccess = 0 /* Suppress gcc warning */;
-
- // Output file
- FILE* fh = 0 /* Suppress gcc warning */;
-
//
// Map termination signal handlers
//
rc = 1; goto done;
}
+
+ FBase* fbase;
+ char* cmdTarget;
+ char* cmdAccess;
+
if (device) {
// Open the device
if (!ops.patchGUIDs(fim,
user_guids,
flashInfo.imageOk ? flashInfo.guids : NULL,
- isatty(0) != 0)) {
+ true)) {
rc = 1; goto done;
}
} else {
}
data = new u_int8_t[length];
+ // Output file
+ FILE* fh;
+
if (i + 2 == ac)
to_file = true;