summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOskar <[email protected]>2024-07-25 16:32:31 +0200
committerOskar <[email protected]>2024-07-25 16:32:31 +0200
commita6720a9edfdbcf8e0e006fae7f77934d67bb3254 (patch)
tree36dc10715ea36ff8336f880233e56f2b3aeca108
parentc93556922aa79423e580589bbef70e2573f74ea0 (diff)
bugfix for R
-rw-r--r--TODO6
-rw-r--r--test/afkahsdlkfahlskdhflakdsjhflakdsjhflakjdshflakjdhflkadshflakjdhflakdjhflakdhfalkdsjhfalkdshfalksdjhfalkdjhfalkdsjhflakdhflakhflakjdhflkajdshflkajhglkdsjfgkjdfhlkgshfdlgksjgjhreltwlkrhtlwkejrhtwlktwerlktowieroytwierytowieyrotiweroyituweoriwreut0
-rw-r--r--trashsys.c5
3 files changed, 3 insertions, 8 deletions
diff --git a/TODO b/TODO
index 68d259e..cd214b6 100644
--- a/TODO
+++ b/TODO
@@ -1,6 +1,6 @@
-1. Fix commandline options
-2. Implement inconsistency check (-i)
-3.
+1. Perform tests and fixed on file restoration
+2. Perform tests on commandline options
+3. Implement inconsistency check (-i)
4.
5. Clean up some code, remove redundancy and make everything a little smarter where i can
6.
diff --git a/test/afkahsdlkfahlskdhflakdsjhflakdsjhflakjdshflakjdhflkadshflakjdhflakdjhflakdhfalkdsjhfalkdshfalksdjhfalkdjhfalkdsjhflakdhflakhflakjdhflkajdshflkajhglkdsjfgkjdfhlkgshfdlgksjgjhreltwlkrhtlwkejrhtwlktwerlktowieroytwierytowieyrotiweroyituweoriwreut b/test/afkahsdlkfahlskdhflakdsjhflakdsjhflakjdshflakjdhflkadshflakjdhflakdjhflakdhfalkdsjhfalkdshfalksdjhfalkdjhfalkdsjhflakdhflakhflakjdhflkajdshflkajhglkdsjfgkjdfhlkgshfdlgksjgjhreltwlkrhtlwkejrhtwlktwerlktowieroytwierytowieyrotiweroyituweoriwreut
deleted file mode 100644
index e69de29..0000000
--- a/test/afkahsdlkfahlskdhflakdsjhflakdsjhflakjdshflakjdhflkadshflakjdhflakdjhflakdhfalkdsjhfalkdshfalksdjhfalkdjhfalkdsjhflakdhflakhflakjdhflkajdshflkajhglkdsjfgkjdfhlkgshfdlgksjgjhreltwlkrhtlwkejrhtwlktwerlktowieroytwierytowieyrotiweroyituweoriwreut
+++ /dev/null
diff --git a/trashsys.c b/trashsys.c
index 00a72cd..d7cbfa9 100644
--- a/trashsys.c
+++ b/trashsys.c
@@ -49,7 +49,6 @@
bool v_cvm_fprintf = false;
int choice_mode = MODE_NORMAL;
char *g_argv = NULL;
-int g_loading = true;
struct trashsys_log_info {
int64_t ts_log_id;
@@ -1161,10 +1160,6 @@ int main (int argc, char *argv[]) {
}
if(R_used == true) {
- if(optind != argc) {
- USAGE_OUT(stderr);
- return EXIT_FAILURE;
- }
if(restore_file(optarg_converted, &ipi_m) == FUNCTION_FAILURE) {
return EXIT_FAILURE;
}