+2022-05-19 Yvan Roux <yvan.roux@foss.st.com>
+
+ PR 25713
+ * bfdio.c (_bfd_real_fopen): Delete ccs string.
+
2022-04-27 John Baldwin <jhb@FreeBSD.org>
* elf.c (elfcore_grok_freebsd_note): Handle NT_ARM_TLS notes.
/* PR 25713: Handle extra long path names possibly containing '..' and '.'. */
wchar_t ** lpFilePart = {NULL};
const wchar_t prefix[] = L"\\\\?\\";
- const wchar_t ccs[] = L", ccs=UNICODE";
const size_t partPathLen = strlen (filename) + 1;
/* Converting the partial path from ascii to unicode.
free (partPath);
/* It is non-standard for modes to exceed 16 characters. */
- wchar_t modesW[16 + sizeof(ccs)];
+ wchar_t modesW[16];
MultiByteToWideChar (CP_UTF8, 0, modes, -1, modesW, sizeof(modesW));
- wcscat (modesW, ccs);
FILE * file = _wfopen (fullPath, modesW);
free (fullPath);