Skip to content

Conversation

jeremyd2019
Copy link

  • fix pathnative and pathposix for Cygwin (so it builds). I don't know why this doesn't fail in 1.0.10, something else must have been fixed
  • seems bin/package can't tell the difference between cygwin.i386 and cygwin.i386-64
  • bin/package make -j5 hangs
  • bin/package test hangs in mamake regression tests
  • number of shtests fail

Hopefully this can be a start to figure out the issues
@xeiavicaflashrepository @gisburn

@jeremyd2019
Copy link
Author

@jeremyd2019
Copy link
Author

jeremyd2019 commented Mar 17, 2025

I added a cygwin matrix to test 32-bit also (though 32-bit cygwin is no longer supported upstream): https://github.com/jeremyd2019/ksh/actions/runs/13906198215

}
cygwin_conv_to_win32_path(path, buf);
return strlen(buf);
return cygwin_conv_path(CCP_POSIX_TO_WIN_A | CCP_ABSOLUTE, path, buf, siz);
Copy link
Author

@jeremyd2019 jeremyd2019 May 15, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking back on this now, this is wrong per the specification in the comments above, vs the documentation of cygwin_conv_path.

For cygwin_conv_path, if size is 0, buf may be NULL and it will return the size of buffer required. If size is not 0, it will return 0 on success or -1 on error (error including ENOSPC if size is too small to hold the result).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant