aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_syslog.c
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2023-02-23 20:50:00 +0300
committerMaxim Dounin <mdounin@mdounin.ru>2023-02-23 20:50:00 +0300
commit6c5fe80bc69b12cc2bd0e8ed7bc67b240795f66b (patch)
tree90418a5614716baa21e6dc8e644c44703ae0c769 /src/core/ngx_syslog.c
parent2062ddef3989525e22445b1965220ffaf8e161c9 (diff)
downloadnginx-6c5fe80bc69b12cc2bd0e8ed7bc67b240795f66b.tar.gz
nginx-6c5fe80bc69b12cc2bd0e8ed7bc67b240795f66b.zip
Win32: removed attempt to use a drive letter in ngx_fs_bsize().
Just a drive letter might not correctly represent file system being used, notably when using symlinks (as created by "mklink /d"). As such, instead of trying to call GetDiskFreeSpace() with just a drive letter, we now always use GetDiskFreeSpace() with full path. Further, it looks like the code to use just a drive letter never worked, since it tried to test name[2] instead of name[1] to be ':'.
Diffstat (limited to 'src/core/ngx_syslog.c')
0 files changed, 0 insertions, 0 deletions