git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 2/2] mingw: fix getcwd when the parent directory cannot be queried

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Oct 24, 2018, 09:19 UTC
Message-ID
<nycvar.QRO.7.76.6.1810241118460.4546@tvgsbejvaqbjf.bet>
In-Reply-To
<6700297.8bfoVLpaf1@thunderbird>
Hi Stephen,
On Tue, 23 Oct 2018, Stephen & Linda Smith wrote:
Show 7 quoted lines
> On Tuesday, October 23, 2018 3:52:49 AM MST you wrote:
> > From: Anton Serbulov <aserbulov@plesk.com>
> > 
> > `GetLongPathName()` function may fail when it is unable to query
> > the parent directory of a path component to determine the long name
> > for that component. It happens, because of it uses `FindFirstFile()`
> s/of it/it/

Thanks, fixed in v2, Dscho

Show 10 quoted lines
> 
> > function for each next short part of path. The `FindFirstFile()`
> > requires `List Directory` and `Synchronize` desired access for a calling
> > process.
> 
> 
> 
> 
> 
> 
Previous: Stephen SmithNext: Johannes Schindelin via GitGitGadget
Message 6 of 12 in “Work around case-insensitivity issues with cwd on Windows”
  1. 0/2 Work around case-insensitivity issues with cwd on WindowsJohannes Schindelin via GitGitGadget, Oct 23, 2018
  2. 1/2 mingw: ensure `getcwd()` reports the correct caseJohannes Schindelin via GitGitGadget, Oct 23, 2018
  3. 2/2 mingw: fix getcwd when the parent directory cannot be queriedAnton Serbulov via GitGitGadget, Oct 23, 2018
  4. Stephen & Linda SmithOct 23, 2018
  5. Stephen SmithOct 23, 2018
  6. Johannes SchindelinOct 24, 2018
  7. 0/2 Work around case-insensitivity issues with cwd on WindowsJohannes Schindelin via GitGitGadget, Oct 24, 2018
  8. 2/2 mingw: fix getcwd when the parent directory cannot be queriedAnton Serbulov via GitGitGadget, Oct 24, 2018
  9. 1/2 mingw: ensure `getcwd()` reports the correct caseJohannes Schindelin via GitGitGadget, Oct 24, 2018
  10. Junio C HamanoOct 24, 2018
  11. Johannes SchindelinOct 24, 2018
  12. Junio C HamanoOct 25, 2018

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.