Skip to content

Add Windows POSIX compatibility functions - #89

Open
kungfubeaner wants to merge 6 commits into
fmang:masterfrom
kungfubeaner:pr3-posix-compat
Open

kungfubeaner wants to merge 6 commits into
fmang:masterfrom
kungfubeaner:pr3-posix-compat

Conversation

@kungfubeaner

Copy link
Copy Markdown

Add Windows compatibility implementations for POSIX/BSD functionality
required by opustags.

This provides Windows implementations of getdelim() and mkstemps() when
they are not available, with CMake checks to avoid defining them when the
target runtime already provides them.

Also add Windows-specific handling for:

  • Shell argument escaping.
  • Editor path resolution and process status.
  • File timestamp resolution.
  • Temporary file creation.

POSIX behavior is unchanged.

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