X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=lib%2Fmkdtemp.c;fp=lib%2Fmkdtemp.c;h=0000000000000000000000000000000000000000;hb=22f1eb8bc17e5be72dd23d42d6aaa60196ac22e6;hp=6b9dd15134d042b55a5865e485ca8d39a04def0a;hpb=00fa13ff3f2d5b6e2a94c5e948c38616ff7ad37a;p=tar
diff --git a/lib/mkdtemp.c b/lib/mkdtemp.c
deleted file mode 100644
index 6b9dd15..0000000
--- a/lib/mkdtemp.c
+++ /dev/null
@@ -1,38 +0,0 @@
-/* Copyright (C) 1999, 2001-2003, 2006-2007 Free Software Foundation, Inc.
- This file is part of the GNU C Library.
-
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- 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 . */
-
-/* Extracted from misc/mkdtemp.c. */
-
-#include
-
-/* Specification. */
-#include
-
-#include "tempname.h"
-
-/* Generate a unique temporary directory from TEMPLATE.
- The last six characters of TEMPLATE must be "XXXXXX";
- they are replaced with a string that makes the filename unique.
- The directory is created, mode 700, and its name is returned.
- (This function comes from OpenBSD.) */
-char *
-mkdtemp (char *template)
-{
- if (gen_tempname (template, GT_DIR))
- return NULL;
- else
- return template;
-}