Date: Sun, 22 Feb 2026 07:07:52 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 257960] mkimg: partition 1: No such file or directory when using a ":" in the file name Message-ID: <bug-257960-227-bM86NGTwN9@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-257960-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257960 Aaditya Singh <aadityavksingh@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aadityavksingh@gmail.com --- Comment #4 from Aaditya Singh <aadityavksingh@gmail.com> --- I have made a Github PR to try fixing this bug [https://github.com/freebsd/freebsd-src/pull/2041] It uses stat() to check if the entire string exists as a file. If so, use it directly without splitting. If the full string is not a valid file, fall back to splitting at the right-most colon using strrchr(). -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-257960-227-bM86NGTwN9>
