1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-15 03:15:52 +00:00

PATH_MAX fixed

bugrep by Diego


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8635 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi 2002-12-29 14:36:56 +00:00
parent 145854090f
commit 7e26b6cc29

View File

@ -524,7 +524,7 @@ if ((conffile = get_path("")) == NULL) {
void load_per_file_config (m_config_t* conf, const char *const file) void load_per_file_config (m_config_t* conf, const char *const file)
{ {
char *confpath; char *confpath;
char cfg[PATH_MAX]; char cfg[strlen(file)+10];
struct stat st; struct stat st;
char *name; char *name;