summaryrefslogtreecommitdiff
path: root/libjava/classpath/java/io/FileNotFoundException.java
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2025-11-18 13:19:53 +0000
committerJonathan Wakely <redi@gcc.gnu.org>2025-11-18 17:10:47 +0000
commitc1cf465bdbe587b1ccd8feb05b9b3878163708fe (patch)
treee3f0b784d6e0647cc6ccc1d6380690d292ca960f /libjava/classpath/java/io/FileNotFoundException.java
parent779fc1293922d4964a872bce6dcfbe1303fd8485 (diff)
c++: Handle absolute path for CMI output directory [PR122677]
When trying to create each directory component of an absolute path, the first call to mkdir uses a path of "" which gives an ENOENT error. This causes the create_dirs function to return without creating anything. This commit skips past the leading slashes of an absolute path, so that the first call to mkdir is for an actual directory name, not an empty string. gcc/cp/ChangeLog: PR c++/122677 * module.cc (create_dirs): Skip past any leading slashes.
Diffstat (limited to 'libjava/classpath/java/io/FileNotFoundException.java')
0 files changed, 0 insertions, 0 deletions