1 // Attempt to convert your database from 32-bit to 64-bit.
2 // Don't run this. It doesn't work and if you try to run it you will immediately die.
4 // Copyright (c) 1987-2022 by the citadel.org team
6 // This program is open source software. Use, duplication, or disclosure
7 // is subject to the terms of the GNU General Public License, version 3.
14 #include <sys/types.h>
15 #include <sys/socket.h>
23 #include <libcitadel.h>
24 #include "../server/sysdep.h"
25 #include "../server/citadel_defs.h"
26 #include "../server/server.h"
27 #include "../server/citadel_dirs.h"
28 #include "ctdl3264_structs.h"
31 int main(int argc, char **argv) {
33 if (sizeof(void *) != 8) {
34 fprintf(stderr, "%s: this is a %ld-bit system.\n", argv[0], sizeof(void *)*8);
35 fprintf(stderr, "%s: you must run this on a 64-bit system, onto which a 32-bit database has been copied.\n", argv[0]);