NOAA-GFDL / FMS

GFDL's Flexible Modeling System
Other
96 stars 136 forks source link

Can we extend the size of this buffer so it doesn't cut off file paths? #1467

Closed menzel-gfdl closed 8 months ago

menzel-gfdl commented 9 months ago

Is your question related to a problem? Please describe. Can the length of this string be made larger? Maybe len=128. I have run into cases where this buffer is not large enough and it causes the code to crash.

Describe what you have tried I have tried making this buffer len=128 and that solved my issue.

thomas-robinson commented 9 months ago

Can you put in a PR with your solution?

menzel-gfdl commented 9 months ago

Sure. https://github.com/NOAA-GFDL/FMS/pull/1469