Philipp Tölke
386f659c27
close the directory before discarding it
closes #25
4 years ago
Philipp Toelke
a50984551d
make time-handling compatible to linux
this may break stuff...
4 years ago
Philipp Tölke
5aa3a91c69
Also fix wrong initialization of tm.tm_year
"tm_year The number of years since 1900."
8 years ago
Murat Seker
dcdc39168f
Fix wrong initialization of tm.tm_mon
According to https://linux.die.net/man/3/gmtime , the month-field of struct tm ranges from 0 to 11.
8 years ago
Murat Seker
d8830c3540
Uninitialized variable causes problems on FileZilla
Uninitialized "dummy" variable causes wrong date text to be sent to clients and FileZilla can not cope with invalid dates (day > 31, month > 12). It assumes wrong date text as part of file names and makes it impossible to send-receive files since it uses wrongly parsed file names with RETR - STOR commands.
8 years ago
Murat Seker
7cbf3e8e63
Update vfs.c
Hide long filename support variables if LFN is not enabled
8 years ago
Philipp Toelke
0fdd00bd1e
fix free of static memory
closes #9
8 years ago
toelke
7a6d077a3b
Fix memory leak of file descriptors
closes #3
10 years ago
Philipp Toelke
1e88f616c2
remove unnecessary comments
11 years ago
Philipp Toelke
ae58bc6bcc
Add API-Code and README
11 years ago