* Added -n flag to do not write to disk or flash (simulation)
* Added -S flag to specify subversion id manually while flashing or dumping * Fixed support for the last fiasco image - Skip paddings - More verbose output while parsing FIASCO headers * Initial implementation of the full direct FIASCO flasher - No need to dump manually before flashing * Some warnings and code cleanup * Fix building issue * Add HAVE_GUI directive in config.mk * Up to version 0.4
This commit is contained in:
1 parent
edac98d26e
commit
3d427bfd77
11 files changed
+134
-41
No files matched your search
+2
-2
@@ -22,7 +22,7 @@
|
||||
#include <stdarg.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
unsigned long get_file_size(char *file)
|
||||
unsigned long get_file_size(const char *file)
|
||||
{
|
||||
FILE *fd = fopen(file, "r");
|
||||
unsigned long len = 0;
|
||||
@@ -53,7 +53,7 @@ void progressbar(unsigned long long part, unsigned long long total)
|
||||
squeue_push2(p, "bar", msg, 0);
|
||||
} else {
|
||||
#endif
|
||||
printf("\e[K %3d%% [", pc);
|
||||
printf("\x1b[K %3d%% [", pc);
|
||||
if (columns)
|
||||
cols = atoi(columns);
|
||||
cols-=15;
|
||||
|
||||
Reference in new issue
Block a user