aboutsummaryrefslogtreecommitdiff
path: root/readline
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2018-09-17 10:48:20 -0600
committerTom Tromey <tom@tromey.com>2018-10-27 11:58:41 -0600
commite418a61a67a3476826259163383e5deb661042cc (patch)
tree44214b56d20367f0979c8c00e469edcb290171a6 /readline
parent29be4d9dee1263b36e33421dd8ea69b9b7308391 (diff)
downloadgdb-e418a61a67a3476826259163383e5deb661042cc.zip
gdb-e418a61a67a3476826259163383e5deb661042cc.tar.gz
gdb-e418a61a67a3476826259163383e5deb661042cc.tar.bz2
Move mkdir_recursive to common/filestuff.c
This moves mkdir_recursive from dwarf-index-cache.c to common/filestuff.c, and also changes it to return a boolean that says whether or not it worked. gdb/ChangeLog 2018-10-27 Tom Tromey <tom@tromey.com> * unittests/mkdir-recursive-selftests.c: New file. * Makefile.in (SUBDIR_UNITTESTS_SRCS): Add unittests/mkdir-recursive-selftests.c. * dwarf-index-cache.c (mkdir_recursive): Move to common/filestuff.c. (index_cache::store): Check return value of mkdir_recursive. (create_dir_and_check, test_mkdir_recursive): Move to new file. (_initialize_index_cache): Don't register test. * common/filestuff.h (mkdir_recursive): Declare. * common/filestuff.c (mkdir_recursive): Move from dwarf-index-cache.c. Return bool.
Diffstat (limited to 'readline')
0 files changed, 0 insertions, 0 deletions