Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Include limits.h for MAX_PATH
ade6d0e included changes in config.c
to use realpath(3) to determine the full path of a config file,
declaring a char array of size PATH_MAX for storage - except this broke
because PATH_MAX is defined in limits.h which wasn't included.
  • Loading branch information
doismellburning committed Aug 27, 2025
commit a1fd6ef38183314d3796fd92c3fc1f175edd2565
1 change: 1 addition & 0 deletions src/config.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@

#include <stdio.h>
#include <unistd.h>
#include <limits.h>
#include <stdlib.h>
#include <assert.h>
#include <string.h>
Expand Down