|
5e8cf54145
|
renamed every global function & flag
basically - it's in snake_case now AND there's "why2_" at the beginning
|
2023-01-29 20:14:11 +01:00 |
|
|
bf96f9e55e
|
replaced malloc with strcpy with strdup
heh
|
2023-01-26 12:48:07 +01:00 |
|
|
e2eca1e3ea
|
revert "removed unused void casts"
yes so it works on my machine
but not on debian-based; fuck
reverts commit 8700f38260350cec20b6c48b30eda977018faab9.
|
2023-01-25 20:38:56 +01:00 |
|
|
8700f38260
|
removed unused void casts
wtf without it, it was throwing compile errors (like month ago) and now it works perfectly fine wtfff
|
2023-01-25 20:37:26 +01:00 |
|
|
f2a62fdb7b
|
added colon to WRITE_FORMAT flag
and implemented it => that flag is used for getting length of log prefix so yeah you get it
hehe
|
2023-01-24 11:55:42 +01:00 |
|
|
914e7a2020
|
added read mode to logFile creation
|
2023-01-21 21:09:48 +01:00 |
|
|
596d6aff9a
|
removing newline from logMessage
|
2022-12-11 17:59:43 +01:00 |
|
|
403cb396b6
|
added one byte to buffer allocation
see 875c3c34d90d2845325db2739233d9312f056785
|
2022-12-11 16:20:53 +01:00 |
|
|
f26945a841
|
added check if flags weren't changed to writeLog
|
2022-12-10 16:25:46 +01:00 |
|
|
b4d1be73f9
|
fixed writeLog memory leak
|
2022-12-10 15:01:14 +01:00 |
|
|
afc9d97bbb
|
using inputFlags in logger
|
2022-12-09 19:00:37 +01:00 |
|
|
6cb9e09a87
|
implemented encryption in logger
NOTE: This was pretty big change, I hope everything is cool
|
2022-12-09 18:55:18 +01:00 |
|
|
7a5e632f7a
|
added missing comment
|
2022-12-09 15:21:02 +01:00 |
|
|
f38e6e15f4
|
fixed 'ignoring return value' problem in symlink creation
see 215121f209f3e09a5ad3ce4fc5ed052d9d66708d
|
2022-12-09 15:13:59 +01:00 |
|
|
cd6600a83f
|
added latest log feature && simplified LOG_FORMATTING
|
2022-12-09 15:10:41 +01:00 |
|
|
215121f209
|
kind of fixed 'ignoring return value' problem
saying I bypassed compiler would sound weird, so yeah... 🤠
|
2022-12-09 14:09:15 +01:00 |
|
|
fd6aa19eba
|
added proper expression for comparing write & fread return values
still not complete tho
|
2022-12-07 17:30:47 +01:00 |
|
|
8df7a56095
|
fixed what I fucked up last commit
|
2022-12-06 18:30:49 +01:00 |
|
|
0cacbcf174
|
patched unused-result error
hopefully
|
2022-12-06 18:22:58 +01:00 |
|
|
ee886f0237
|
fixed possible segfault in writeLog
This would happen if initLogger returned INVALID_FILE and you still tried using writeLog
|
2022-12-06 18:14:34 +01:00 |
|
|
d94a65e50d
|
preventing from [-Werror=unused-result] (2#)
|
2022-12-04 19:46:37 +01:00 |
|
|
cfdcad1c9b
|
removed needed pointer deallocation
|
2022-12-04 19:18:04 +01:00 |
|
|
e2c5791dc7
|
implemented logFile type in logger.c
|
2022-12-04 19:13:05 +01:00 |
|
|
f71647e0ff
|
added license at top of every file
I mean, the files where it is possible
|
2022-12-04 18:55:13 +01:00 |
|
|
8d136b726f
|
implemented last commit; removed todo
|
2022-11-23 19:52:03 +01:00 |
|
|
488a59db56
|
fixed filePath allocation syze
|
2022-11-23 19:45:07 +01:00 |
|
|
5054284370
|
fixed log folder counting bug
gonna make this variable, don't worry
|
2022-11-23 19:44:35 +01:00 |
|
|
48977c0fe1
|
added on byte to writeLog's buffer allocation
I mean... Valgrind told me to.
|
2022-11-22 18:50:41 +01:00 |
|
|
0f4492a611
|
added some *working* code into writeLog's body
|
2022-11-22 18:47:56 +01:00 |
|
|
95d5c8201f
|
added missing header file include
I thought it write() was in fcnttl
whoops
|
2022-11-22 18:30:55 +01:00 |
|
|
e5a4c21f6a
|
added test code into writeLog
|
2022-11-22 18:29:00 +01:00 |
|
|
614d788350
|
implemented LOG_FORMATTING in logger
|
2022-11-21 12:08:37 +00:00 |
|
|
4a7f3ac3ab
|
fixed logger's todo
and deallocated filePath
|
2022-11-21 11:58:10 +00:00 |
|
|
ddb5389916
|
implemented MAX_USAGE flag
|
2022-11-21 11:55:25 +00:00 |
|
|
091fe43bb2
|
created some basic code for logs generation
I will make more variable etc. tomorrow
|
2022-11-18 19:54:33 +01:00 |
|
|
1e52db8967
|
renamed path to directoryPath in initLogger
|
2022-11-18 18:32:28 +01:00 |
|
|
d47bf0b56a
|
added some basic test code into initLogger
|
2022-11-18 17:27:47 +01:00 |
|
|
6c3165ed91
|
created logger files
|
2022-11-18 16:10:54 +01:00 |
|