public inbox for cygwin-apps-cvs@sourceware.org help / color / mirror / Atom feed
From: Jon TURNEY <jturney@sourceware.org> To: cygwin-apps-cvs@sourceware.org Subject: [setup - the official Cygwin setup program] branch master, updated. release_2.914 Date: Fri, 7 Jan 2022 15:28:50 +0000 (GMT) [thread overview] Message-ID: <20220107152850.2F9EA3857C59@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/setup.git;h=85789118355984ebb98d709aedd6a219bedec250 commit 85789118355984ebb98d709aedd6a219bedec250 Author: Jon Turney <jon.turney@dronecode.org.uk> Date: Sun Dec 19 21:22:55 2021 +0000 When in unattended mode, ignore attempts to close via GUI Perhaps this should be controlled by a separate option, but making setup non-interactive seems like a reasonable fit with the intent of '--quiet-mode'. This doesn't stop the installer being killed by TerminateProcess(). Addresses: https://cygwin.com/pipermail/cygwin/2021-November/250079.html https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/setup.git;h=aa80df6c582065d16ff0b39bdb46539cf8412a7e commit aa80df6c582065d16ff0b39bdb46539cf8412a7e Author: Jon Turney <jon.turney@dronecode.org.uk> Date: Fri Jan 7 15:18:02 2022 +0000 Further fix symlinks to absolute paths made for ' --symlink-type native' After using 'to' with NtOpenFile(), convert it back to Win322 filenamespace form before using it with CreateSymbolicLinkW(), so that the symlink works with native tools. https://cygwin.com/pipermail/cygwin/2022-January/250398.html Diff: --- mklink2.cc | 3 +++ propsheet.cc | 2 ++ 2 files changed, 5 insertions(+) diff --git a/mklink2.cc b/mklink2.cc index ac3ab005..190b74d5 100644 --- a/mklink2.cc +++ b/mklink2.cc @@ -279,6 +279,9 @@ mknativesymlink (const char *from, const char *to) if (to[0] == '/') { wto = wabsto; + // convert back from nt namespace to win32 file namespace to use with + // CreateSymbolicLinkW() + wabsto[1] = '\\'; } else { diff --git a/propsheet.cc b/propsheet.cc index 00b2ad81..742e5dab 100644 --- a/propsheet.cc +++ b/propsheet.cc @@ -161,6 +161,8 @@ static LRESULT CALLBACK PropSheetWndProc (HWND hwnd, UINT uMsg, if (wParam != 2) break; areyousure: + if (unattended_mode == unattended) + return 0; if (mbox(hwnd, IDS_CONFIRM_EXIT, MB_YESNO) == IDNO) return 0; break;
reply other threads:[~2022-01-07 15:28 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20220107152850.2F9EA3857C59@sourceware.org \ --to=jturney@sourceware.org \ --cc=cygwin-apps-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).