From: Andrew Eikum Subject: Re: [PATCH v2] winepulse.drv: Avoid PATH_MAX in Windows code. Message-Id: <20151123160552.GJ9736@foghorn.codeweavers.com> Date: Mon, 23 Nov 2015 10:05:52 -0600 In-Reply-To: <1448294379.16354.51.camel@gmail.com> References: <1448294379.16354.51.camel@gmail.com> Signed-off-by: Andrew Eikum On Mon, Nov 23, 2015 at 04:59:39PM +0100, Svante Signell wrote: > v2: New subject and fixed signed-off. > > Fixes FTBFS on hurd-i386 introduced by winepulse. > > Signed-off-by: Svante Signell > >   > diff --git a/dlls/winepulse.drv/mmdevdrv.c b/dlls/winepulse.drv/mmdevdrv.c > index b2f83c8..93140bb 100644 > --- a/dlls/winepulse.drv/mmdevdrv.c > +++ b/dlls/winepulse.drv/mmdevdrv.c > @@ -440,7 +440,7 @@ static void pulse_probe_settings(int render, WAVEFORMATEXTENSIBLE *fmt) { > static HRESULT pulse_connect(void) > { > int len; > - WCHAR path[PATH_MAX], *name; > + WCHAR path[MAX_PATH], *name; > char *str; > > if (!pulse_thread) > @@ -519,7 +519,7 @@ static void pulse_phys_speakers_cb(pa_context *c, const pa_sink_info *i, int eol > static HRESULT pulse_test_connect(void) > { > int len, ret; > - WCHAR path[PATH_MAX], *name; > + WCHAR path[MAX_PATH], *name; > char *str; > pa_operation *o; > > > >