Fixed lame crash in lame parser
This commit is contained in:
parent
58f9de970d
commit
302265a802
@ -18,7 +18,7 @@ Makefile(\.in)?$
|
||||
^moo/moopython/plugins/(pyproject/project-plugin|python|terminal)\.ini$
|
||||
^moo/moopython/pygtk/(moo(app|edit|term|utils)?-mod\.h|moo(app|edit|term|utils)-pygtk\.c)$
|
||||
^moo/mooterm/termhelper_res\.rc$
|
||||
^moo/mooutils/(moomarshals\.[ch]|stock-moo\.h)$
|
||||
^moo/mooutils/(moomarshals\.[ch]|stock-(moo|medit)\.h)$
|
||||
^moo/mooapp/smclient/(README|egg-session-end\.c|eggdesktopfile\.[ch]|eggsmclient-libgnomeui\.[ch]|eggsmclient-osx\.c|gedit\.diff|smclient\.patch)$
|
||||
^moo/mooutils/xdgmime/.cvsignore$
|
||||
^moo/mooutils/xdgmime/CVS
|
||||
@ -34,3 +34,5 @@ Makefile(\.in)?$
|
||||
^ppc-configure
|
||||
/CVS/
|
||||
^winbuild/.*\.(aps|ncb|suo)$
|
||||
^winbuild/mingwds$
|
||||
^winbuild/devcpp$
|
||||
|
@ -252,7 +252,7 @@ _moo_win32_lame_parse_cmd_line (const char *cmd_line,
|
||||
tmp[0] = g_strdup ("cmd.exe");
|
||||
tmp[1] = g_strdup ("/c");
|
||||
memcpy (tmp + 2, argv, (len + 1) * sizeof (*tmp));
|
||||
g_strfreev (argv);
|
||||
g_free (argv);
|
||||
argv = tmp;
|
||||
}
|
||||
|
||||
@ -261,7 +261,8 @@ _moo_win32_lame_parse_cmd_line (const char *cmd_line,
|
||||
}
|
||||
|
||||
|
||||
#ifndef __MINGW32__
|
||||
#if !defined(__MINGW32__) || \
|
||||
(__MINGW32_MAJOR_VERSION == 3 && __MINGW32_MINOR_VERSION <= 7)
|
||||
int
|
||||
_moo_win32_gettimeofday (struct timeval *tp,
|
||||
G_GNUC_UNUSED gpointer tzp)
|
||||
|
Loading…
x
Reference in New Issue
Block a user