projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
WS updates. No code changes
[yaz-moved-to-github.git]
/
client
/
admin.c
diff --git
a/client/admin.c
b/client/admin.c
index
2e8c39b
..
84674be
100644
(file)
--- a/
client/admin.c
+++ b/
client/admin.c
@@
-1,8
+1,8
@@
/*
/*
- * Copyright (c) 1995-2003, Index Data
+ * Copyright (C) 1995-2005, Index Data ApS
* See the file LICENSE for details.
*
* See the file LICENSE for details.
*
- * $Id: admin.c,v 1.16 2003-03-11 11:07:47 adam Exp $
+ * $Id: admin.c,v 1.20 2005-06-24 19:56:52 adam Exp $
*/
#include <stdio.h>
*/
#include <stdio.h>
@@
-10,9
+10,13
@@
#include <time.h>
#include <assert.h>
#include <time.h>
#include <assert.h>
-#if HAVE_FNMATCH_H
+#if HAVE_DIRENT_H
#include <dirent.h>
#include <dirent.h>
+#endif
+#if HAVE_FNMATCH_H
#include <fnmatch.h>
#include <fnmatch.h>
+#endif
+#if HAVE_SYS_STAT_H
#include <sys/stat.h>
#endif
#include <sys/stat.h>
#endif
@@
-260,7
+264,7
@@
int cmd_adm_import(const char *arg)
return 2;
}
#else
return 2;
}
#else
-int cmd_adm_import(char *arg)
+int cmd_adm_import(const char *arg)
{
printf ("not available on WIN32\n");
return 0;
{
printf ("not available on WIN32\n");
return 0;
@@
-299,12
+303,3
@@
int cmd_adm_startup(const char *arg)
sendAdminES(Z_ESAdminOriginPartToKeep_start, NULL);
return 2;
}
sendAdminES(Z_ESAdminOriginPartToKeep_start, NULL);
return 2;
}
-
-/*
- * Local variables:
- * tab-width: 8
- * c-basic-offset: 4
- * End:
- * vim600: sw=4 ts=8 fdm=marker
- * vim<600: sw=4 ts=8
- */