Skip to content

Conversation

mwichmann
Copy link
Collaborator

More harvesting of ideas from withdawn PR revising the manpage Builder Method section. This rewords the description of acceptable forms for the source and target arguments. Review of #4671 indicated that removing details the topic of absolute and relative paths unwanted, so this restores and expands on that section.

This is a doc-only change. There is no additional information to add to previous unreleased CHANGES and RELEASE files. If this change is deferred to the next release cycle, those files will receive fresh updates.

Contributor Checklist:

  • I have created a new test or updated the unit tests to cover the new/changed functionality.
  • I have updated CHANGES.txt and RELEASE.txt (and read the README.rst).
  • I have updated the appropriate documentation


<note>
<para>
On Windows, DOS paths may beging with a volume or drive letter
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo: beging -> begin

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sigh. I proofread several time to avoid that kinda thing.

if the volume specifier is present,
resolution starts at the root of the specified drive for absolute paths
and the current directory on the specified drive for relative paths.
The combination of a drive letter different from the
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you clarify this? I'm not sure I understand.
so d:....\xyz ?

Copy link
Collaborator Author

@mwichmann mwichmann Oct 2, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you're working in C:/users/mats/project, and you give a path D:/other/foo, that's clear. If you give D:foo it isn't, because we don't know what Windows' idea of the current directory on D is. Consider:

C:\Users\mats\project> D:
D:\>cd github
D:\github>
C:
C:\Users\mats\project>scons

Becuase I'd never done anything in the D drive previously, the "current directory" was \, as seen when switching to it. I change directory. Switch back to C, which remembered my past current directory there. It's like pushd/popd, kinda. Now, from my work area I run SCons. It (or rather it's parent Python) has no earthly idea that Windows behind the scenes is remembering for me that the "current directory" on D is \github.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you expand the explanation, maybe include the above?

@bdbaddog
Copy link
Contributor

bdbaddog commented Oct 2, 2025

LGTM minus 2 comments, resolve those and I'll merge away..

More harvesting of ideas from withdawn PR revising the manpage Builder
Method section.  This rewords the description of acceptable forms
for the source and target arguments. Review of SCons#4671 indicated that
removing details the topic of absolute and relative paths unwanted,
so this restores and expands on that section.

Signed-off-by: Mats Wichmann <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants