This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v2 3/6] Move mkdir_recursive to common/filestuff.c


On 2018-10-31 11:03, Tom Tromey wrote:
"Simon" == Simon Marchi <simon.marchi@ericsson.com> writes:

It would be normal to look at TMPDIR on unix systems.

Simon> Ah, indeed. How is it with this little fixup on top of the patch?

Seems reasonable, thanks!

Simon> +  char *tmp = getenv ("TMPDIR");

A tiny nit: you can use const char * here.

Tom

Pushed with that fixed, thanks!

Simon


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]