-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add directory junction support #11
Open
Karlson2k
wants to merge
16
commits into
Alexpux:msys2-master
Choose a base branch
from
Karlson2k:safenative
base: msys2-master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
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
…ent variables to Windows form for native Win32 applications.
…nings for DOS paths. - By default mount without ACLs. - Can read /etc/fstab with short mount point format.
With MSys1, it was necessary to set the TERM variable to "msys". To allow for a smooth transition from MSys1 to MSys2, let's simply handle TERM=msys as if the user had not specified TERM at all and wanted us to use our preferred TERM value. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
strace is a Windows program so MSYS2 will convert all arguments and environment vars and that makes debugging msys2 software with strace very tricky.
We really must not run outside of the buffer. And the buffer needs to be NUL-terminated, too... Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Instead of doing a poor man's realloc(), we can call the real thing ;-) Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
When the result of conversion is identical to the original argument, we should make sure that the temporary buffer was released. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
If we were to handle only single paths, the buffer really would only need to fit a single one, but arg_heuristic is also used to convert e.g. INFO_PATH and MAN_PATH (which can contain multiple absolute POSIX-style paths that need to be converted to Windows-style paths). This is only really relevant if the POSIX root directory's path is already pretty long. Such a beast has been spotted in the wild, in the Git for Windows project: git-for-windows/git#303 Of course, this patch is only a work-around that helps in many, but not all cases. Obviously this patch will wait patiently until a real fix comes around the corner, and then readily retire. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
…s on XP and later
@Alexpux Need any correction? |
Alexpux
force-pushed
the
msys2-master
branch
5 times, most recently
from
November 6, 2015 05:10
f839efc
to
d6cd1b3
Compare
Alexpux
force-pushed
the
msys2-master
branch
2 times, most recently
from
November 23, 2015 05:26
a021458
to
6eb10ef
Compare
Alexpux
force-pushed
the
msys2-master
branch
from
December 13, 2015 08:18
6eb10ef
to
629b1f1
Compare
Alexpux
force-pushed
the
msys2-master
branch
2 times, most recently
from
December 22, 2015 06:15
96c4bc2
to
ac5d7ed
Compare
Alexpux
force-pushed
the
msys2-master
branch
2 times, most recently
from
January 23, 2017 10:58
e0493ab
to
63be0b3
Compare
Alexpux
force-pushed
the
msys2-master
branch
from
February 13, 2017 20:01
887bfb2
to
6a0ecce
Compare
Alexpux
force-pushed
the
msys2-master
branch
from
September 11, 2017 19:37
6a0ecce
to
e70eb5f
Compare
Alexpux
force-pushed
the
msys2-master
branch
2 times, most recently
from
June 25, 2018 18:21
e188477
to
c739057
Compare
Alexpux
force-pushed
the
msys2-master
branch
2 times, most recently
from
July 6, 2018 18:33
44f4482
to
ff12737
Compare
Mhh.. up? |
This repository is only for my own use t o sync with cygwin. Create pull request with patch to https://github.com/Alexpux/MSYS2-packages for msys2-runtime package |
Alexpux
force-pushed
the
msys2-master
branch
3 times, most recently
from
April 15, 2019 06:41
9b65e3b
to
7fdb399
Compare
Alexpux
force-pushed
the
msys2-master
branch
4 times, most recently
from
June 20, 2019 19:57
28b70c4
to
24a8f59
Compare
Alexpux
force-pushed
the
msys2-master
branch
2 times, most recently
from
July 11, 2019 20:21
bb02ac2
to
67bf1d3
Compare
Alexpux
force-pushed
the
msys2-master
branch
2 times, most recently
from
July 25, 2019 19:38
6a70885
to
20139df
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR add support for directory junction creation as symlink.
Directory junction is supported since Win2k and do not require admin rights or UAC disable.
With new default symlink setting autotools' configure will use
ln -s
for symlinks instead ofcp -pR
which can speedup a lot building in some situations.Note: Cygwin already is able to read junction, this PR add only support for creation.
Upstream patch: https://cygwin.com/ml/cygwin-patches/2015-q3/msg00028.html