MSYS2-packages icon indicating copy to clipboard operation
MSYS2-packages copied to clipboard

Problem with "prefixes"

Open LeDevBreton opened this issue 2 years ago • 2 comments

Description / Steps to reproduce the issue

  1. test this program
#include <stdio.h>

int main (int argc, char ** argv) {
	fprintf (stdout, "test : %s\n", argv[1]);
	return 0;
}

with some 'prefixes'

Expected behavior

main / should display '/'

Actual behavior

previous command displays MSYS installation path

Verification

  • [X] I have verified that my MSYS2 is up-to-date before submitting the report (see https://www.msys2.org/docs/updating/)

Windows Version

MINGW64_NT-10.0-23555

Are you willing to submit a PR?

No response

LeDevBreton avatar Sep 30 '23 04:09 LeDevBreton

Doesn't happen on Cygwin and Midipix.

sskras avatar Sep 30 '23 08:09 sskras

https://www.msys2.org/docs/filesystem-paths/#automatic-unix-windows-path-conversion

lazka avatar Oct 01 '23 10:10 lazka