aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libsandbox/wrapper-funcs/mkdir.c')
-rw-r--r--libsandbox/wrapper-funcs/mkdir.c26
1 files changed, 3 insertions, 23 deletions
diff --git a/libsandbox/wrapper-funcs/mkdir.c b/libsandbox/wrapper-funcs/mkdir.c
index 8aded02..0c54de4 100644
--- a/libsandbox/wrapper-funcs/mkdir.c
+++ b/libsandbox/wrapper-funcs/mkdir.c
@@ -3,29 +3,10 @@
*
* mkdir() wrapper.
*
- * Copyright 1999-2006 Gentoo Foundation
- *
- *
- * 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 version 2 of the License.
- *
- * 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, write to the Free Software Foundation, Inc.,
- * 675 Mass Ave, Cambridge, MA 02139, USA.
- *
- * Partly Copyright (C) 1998-9 Pancrazio `Ezio' de Mauro <p@demauro.net>,
- * as some of the InstallWatch code was used.
- *
- * $Header$
+ * Copyright 1999-2008 Gentoo Foundation
+ * Licensed under the GPL-2
*/
-
extern int EXTERN_NAME(const char *, mode_t);
static int (*WRAPPER_TRUE_NAME) (const char *, mode_t) = NULL;
@@ -36,7 +17,7 @@ int WRAPPER_NAME(const char *pathname, mode_t mode)
char canonic[SB_PATH_MAX];
if (-1 == canonicalize(pathname, canonic))
- /* Path is too long to canonicalize, do not fail, but just let
+ /* Path is too long to canonicalize, do not fail, but just let
* the real function handle it (see bug #94630 and #21766). */
if (ENAMETOOLONG != errno)
return -1;
@@ -58,4 +39,3 @@ int WRAPPER_NAME(const char *pathname, mode_t mode)
return result;
}
-