Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cygwin.c: Fold two nearly identical functions into one
These functions are to convert from a windows path to posix, and vice versa. Except for the direction, the process is identical. But the two functions that go in a single direction have diverged slightly over time. The previous few commits were integrating the changes in one version into the opposite one. The two versions are now sufficiently alike that only direction-oriented details differ, so the functions can be combined. A new common function is created, and the other two functions merely wrap it, calling it with a parameter to indicate the direction.
- Loading branch information
1 parent
b4277f8
commit 6ecdea3
Showing
1 changed file
with
54 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters