aboutsummaryrefslogtreecommitdiff
path: root/gdbsupport/filestuff.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gdbsupport/filestuff.cc')
-rw-r--r--gdbsupport/filestuff.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/gdbsupport/filestuff.cc b/gdbsupport/filestuff.cc
index 179c425..9222e7e 100644
--- a/gdbsupport/filestuff.cc
+++ b/gdbsupport/filestuff.cc
@@ -483,15 +483,15 @@ mkdir_recursive (const char *dir)
component_end++;
/* Temporarily replace the slash with a null terminator, so we can create
- the directory up to this component. */
+ the directory up to this component. */
char saved_char = *component_end;
*component_end = '\0';
/* If we get EEXIST and the existing path is a directory, then we're
- happy. If it exists, but it's a regular file and this is not the last
- component, we'll fail at the next component. If this is the last
- component, the caller will fail with ENOTDIR when trying to
- open/create a file under that path. */
+ happy. If it exists, but it's a regular file and this is not the last
+ component, we'll fail at the next component. If this is the last
+ component, the caller will fail with ENOTDIR when trying to
+ open/create a file under that path. */
if (mkdir (start, 0700) != 0)
if (errno != EEXIST)
return false;