summaryrefslogtreecommitdiff
path: root/TODO
diff options
context:
space:
mode:
authorOskar <[email protected]>2024-07-01 09:35:25 +0200
committerOskar <[email protected]>2024-07-01 09:35:25 +0200
commit5beaa2672441325409348a4e52344cfd24dd1ed0 (patch)
treee5bd33166c3515b1df5e7a77895c7ca86a0758c6 /TODO
parent5de4cbd8fcf215b50e3117c4d403313effa23904 (diff)
tmp case
Diffstat (limited to 'TODO')
-rw-r--r--TODO4
1 files changed, 2 insertions, 2 deletions
diff --git a/TODO b/TODO
index fba10c0..26a51ad 100644
--- a/TODO
+++ b/TODO
@@ -1,5 +1,5 @@
-1.
-2.
+1. Change fill_ipi and instead of having it malloc and then return return it to have the pointer in main point to the malloc'd struct we might as well just pass the address directly to the function and fill it from there. Why even bother malloc'ing? If we remove malloc we can remove a lot of free() calls and remove a lot of complexity from the code. I mean we aren't even doing a damn linked list so why the hell would we even need to malloc a struct? Am i stupid?
+2. Just a note: When implementing the -L -l functions we need to make it clear what's in tmp and whats not. Not sure exactly how ill do this but i have some ideas. One way of dealing with files in tmp is to force the user to pass the -t argument if they want to deal with tmp stuff. Like if i say: 'tsr -t -l' it will only list files in the tmp trashcan. Maybe that IS the best approach to this?
3. Implement function to read log files? And maybe act upon the read contents? I'll have to think more about this.
4.
5. Clean up some code, remove redundancy and make everything a little smarter where i can