Home - Waterfall Grid T-Grid Console Builders Recent Builds Buildslaves Changesources - JSON API - About

Change #264257

Category gtar
Changed by Paul Eggert <eggertohnoyoudont@cs.ucla.edu>
Changed at Mon 13 Apr 2026 09:02:17
Repository git://git.savannah.gnu.org/tar.git
Project gtar
Branch master
Revision d479b2cc9160d9c2fb61afbc9ee70c2faadf80db

Comments

Use mkdtempat instead of mkdtemp
This fixes an interaction of -C with incremental 'X'.
Problem reported by Pavel Cahyna.
* gnulib.modules: Remove mkdtemp.
Add tempname, since our mkdtempat uses it.
* lib/mkdtempat.c, lib/mkdtempat.h: New files.
* lib/Makefile.am (noinst_HEADERS): Add mkdtempat.h.
(libtar_a_SOURCES): Add mkdtempat.c.
* src/incremen.c: Include mkdtempat.h.
(purge_directory): Use mkdtempat, not mkdtemp.

Changed files