/*
* Copyright 2000, International Business Machines Corporation and others.
* All Rights Reserved.
- *
+ *
* This software has been released under the terms of the IBM Public
* License. For details, see the LICENSE file in the top-level source
* directory or online at http://www.openafs.org/dl/license10.html
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
+
+#include <afs/kautils.h> /*MAXKTCREALMLEN*/
#include "uss_procs.h" /*Module interface */
#include "uss_common.h" /*Common defs & operations */
#include "uss_acl.h" /*ACL-related operations */
-#include <errno.h> /*Unix error codes */
-#include <pwd.h> /*Password info */
-#include <sys/stat.h> /*Stat defs */
-#include <dirent.h> /*Directory package */
-#include <sys/file.h> /*O_EXCL, O_CREAT, etc */
-#ifdef AFS_SUN5_ENV
-#include <fcntl.h>
-#endif
-
-#include <string.h>
-#include <stdarg.h>
-
-#include <afs/kautils.h> /*MAXKTCREALMLEN*/
+
#undef USS_PROCS_DB
#undef USS_PROCS_DB_INSTANCE
#undef USS_PROCS_DB_BUILDDIR
*------------------------------------------------------------------------*/
afs_int32
-uss_procs_EchoToFile(char *a_path, char *a_mode, char *a_owner,
+uss_procs_EchoToFile(char *a_path, char *a_mode, char *a_owner,
char *a_content)
{ /*uss_procs_EchoToFile */
* static Copy
*
* Description:
- * Copies the "from" file to the "to" file and sets the mode.
+ * Copies the "from" file to the "to" file and sets the mode.
*
* Arguments:
* a_from : File to copy from.
cd[1] = '\0';
}
- /*
+ /*
* We now have the current dir (cd). Search all of the given
* subdirs (by G in template), count the number of entries in
* each and pick the minimum.
uss_procs_PrintErr(int a_lineNum, char *a_fmt, ... )
{ /*uss_procs_PrintErr */
va_list ap;
-
+
va_start(ap, a_fmt);
uss_syntax_err++;
fprintf(stderr, "%s: Template file, line %d: ", uss_whoami, a_lineNum);