Yeah, that's a good idea. Made the change in r348289. On Tue, Dec 4, 2018 at 2:55 AM Pavel Labath <pa...@labath.sk> wrote:
> On 03/12/2018 21:55, Jonas Devlieghere via lldb-commits wrote: > > That wouldn't work because we try to create the directory which would > > succeeded in the temp dir. I'd have to be something you don't have > > access to, like the root or some network drive. > > > > How about we change the behavior to only create the bottommost > directory? E.g. if the user specifies "/X/Y/Z" as the path, then "/X/Y" > has to exist, and "Z" will be created if not present (i.e. use mkdir, > not mkdir -p). I think this is the behavior most users would expect > anyway (I would be upset if a typo causes lldb to create a whole > hierarchy some place I did not intend), and it will allow to test this > via something like "%t/does_not_exist/repro_dir". > > pl >
_______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits