common: Rename remaining symbols in ksba-io-support.
[gnupg.git] / common / mkdir_p.c
index 2e93d65..c26cfee 100644 (file)
@@ -24,7 +24,7 @@
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with this program; if not, see <http://www.gnu.org/licenses/>.
+ * along with this program; if not, see <https://www.gnu.org/licenses/>.
  */
 
 #include <config.h>
@@ -60,7 +60,7 @@ gnupg_amkdir_p (const char **directory_components)
   for (i = 0; directory_components[i]; i ++)
     {
       if (i == 0)
-       dirs[i] = xtrystrdup (directory_components[i]);
+       dirs[i] = make_filename_try (directory_components[i], NULL);
       else
        dirs[i] = make_filename_try (dirs[i-1], directory_components[i], NULL);
       if (!dirs[i])