-
Notifications
You must be signed in to change notification settings - Fork 423
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
Remove uses of FILENAME_MAX
in the runtime
#26381
Open
riftEmber
wants to merge
21
commits into
chapel-lang:main
Choose a base branch
from
riftEmber:runtime-no-filename-max
base: main
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
+204
−98
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
Signed-off-by: R Chinmay <[email protected]>
Signed-off-by: R Chinmay <[email protected]>
Signed-off-by: R Chinmay <[email protected]>
Signed-off-by: R Chinmay <[email protected]>
Signed-off-by: R Chinmay <[email protected]>
Signed-off-by: R Chinmay <[email protected]>
…me-max New uses of FILENAME_MAX mark where HEAD switched to snprintf (with a FILENAME_MAX buffer size), while the merged-in work used the sprintf that was present at the time. These are to be updated shortly to use a more sensible buffer size. Signed-off-by: Anna Rift <[email protected]>
Also includes some formatting fixes Signed-off-by: Anna Rift <[email protected]>
riftEmber
force-pushed
the
runtime-no-filename-max
branch
from
December 9, 2024 19:56
c6a81b4
to
57476c2
Compare
Signed-off-by: Anna Rift <[email protected]>
Signed-off-by: Anna Rift <[email protected]>
Signed-off-by: Anna Rift <[email protected]>
riftEmber
force-pushed
the
runtime-no-filename-max
branch
from
December 9, 2024 20:49
72b95c3
to
d0fb700
Compare
riftEmber
changed the title
Allow arbitrary path lengths in runtime
Remove uses of Dec 9, 2024
FILENAME_MAX
in the runtime
riftEmber
force-pushed
the
runtime-no-filename-max
branch
from
December 9, 2024 20:54
b2e7363
to
47ec125
Compare
Signed-off-by: Anna Rift <[email protected]>
riftEmber
force-pushed
the
runtime-no-filename-max
branch
from
December 9, 2024 20:55
47ec125
to
2f0efff
Compare
To avoid out-of-scope change Signed-off-by: Anna Rift <[email protected]>
riftEmber
force-pushed
the
runtime-no-filename-max
branch
from
December 9, 2024 20:57
bde7965
to
6f0911a
Compare
Signed-off-by: Anna Rift <[email protected]>
Signed-off-by: Anna Rift <[email protected]>
jabraham17
requested changes
Dec 9, 2024
runtime/src/launch/slurm-gasnetrun_common/slurm-gasnetrun_common.h
Outdated
Show resolved
Hide resolved
Signed-off-by: Anna Rift <[email protected]>
Signed-off-by: Anna Rift <[email protected]>
Signed-off-by: Anna Rift <[email protected]>
Signed-off-by: Anna Rift <[email protected]>
riftEmber
force-pushed
the
runtime-no-filename-max
branch
from
December 16, 2024 21:51
4c99306
to
04c552b
Compare
riftEmber
force-pushed
the
runtime-no-filename-max
branch
21 times, most recently
from
December 16, 2024 23:08
20a2f46
to
2344862
Compare
Signed-off-by: Anna Rift <[email protected]>
jabraham17
reviewed
Dec 16, 2024
runtime/src/launch/slurm-gasnetrun_common/slurm-gasnetrun_common.h
Outdated
Show resolved
Hide resolved
runtime/src/launch/slurm-gasnetrun_common/slurm-gasnetrun_common.h
Outdated
Show resolved
Hide resolved
Signed-off-by: Anna Rift <[email protected]>
jabraham17
approved these changes
Dec 17, 2024
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.
Replace uses of
FILENAME_MAX
for buffer sizes in the runtime, replacing them with heap-allocated strings of the proper size that are reallocated as needed.Merges in and builds on the work by @rchinmay in #17059.
Completes the second part of #8757 (with #26357).
[reviewer info placeholder]
Testing: