From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id B0B8243602 for ; Sat, 18 Jun 2022 21:50:03 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 2516768B595; Sun, 19 Jun 2022 00:50:00 +0300 (EEST) Received: from mail8.parnet.fi (mail8.parnet.fi [77.234.108.134]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 9B4DD68B2B5 for ; Sun, 19 Jun 2022 00:49:53 +0300 (EEST) Received: from mail9.parnet.fi (mail9.parnet.fi [77.234.108.21]) by mail8.parnet.fi with ESMTP id 25ILnqG1026827-25ILnqG2026827; Sun, 19 Jun 2022 00:49:52 +0300 Received: from foo.martin.st (host-97-187.parnet.fi [77.234.97.187]) by mail9.parnet.fi (Postfix) with ESMTPS id 7FD13A142E; Sun, 19 Jun 2022 00:49:52 +0300 (EEST) Date: Sun, 19 Jun 2022 00:49:51 +0300 (EEST) From: =?ISO-8859-15?Q?Martin_Storsj=F6?= To: FFmpeg development discussions and patches In-Reply-To: Message-ID: <404d4281-29d4-fed1-c73-6397c015f85e@martin.st> References: MIME-Version: 1.0 X-FE-Policy-ID: 3:14:2:SYSTEM Subject: Re: [FFmpeg-devel] [PATCH] fftools/fopen_utf8: support long paths on Windows for fftools X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Cc: softworkz Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: On Mon, 13 Jun 2022, softworkz wrote: > From: softworkz > > Signed-off-by: softworkz > --- > fftools/fopen_utf8: support long paths on Windows for fftools > > After Nil's patchset, this is probably the final missing bit. > > Signed-off-by: softworkz softworkz@hotmail.com > > Published-As: https://github.com/ffstaging/FFmpeg/releases/tag/pr-ffstaging-36%2Fsoftworkz%2Fsubmit_fftools_long_paths-v1 > Fetch-It-Via: git fetch https://github.com/ffstaging/FFmpeg pr-ffstaging-36/softworkz/submit_fftools_long_paths-v1 > Pull-Request: https://github.com/ffstaging/FFmpeg/pull/36 > > fftools/fopen_utf8.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/fftools/fopen_utf8.h b/fftools/fopen_utf8.h > index cd18fe8ce1..e5be84179a 100644 > --- a/fftools/fopen_utf8.h > +++ b/fftools/fopen_utf8.h > @@ -35,7 +35,7 @@ static inline FILE *fopen_utf8(const char *path_utf8, const char *mode) > FILE *f; > > /* convert UTF-8 to wide chars */ > - if (utf8towchar(path_utf8, &path_w)) /* This sets errno on error. */ > + if (get_extended_win32_path(path_utf8, &path_w)) /* This sets errno on error. */ > return NULL; > if (!path_w) > goto fallback; > > base-commit: 4d45f5acbd9ab55cd8d29d01843f28315ee27fee > -- > ffmpeg-codebot Looks ok, will push soon. // Martin _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".