]> code.citadel.org Git - citadel.git/commitdiff
reorganize the comments meow
authorArt Cancro <ajc@citadel.org>
Tue, 14 Feb 2023 14:49:05 +0000 (09:49 -0500)
committerArt Cancro <ajc@citadel.org>
Tue, 14 Feb 2023 14:49:05 +0000 (09:49 -0500)
citadel/server/citserver.h
citadel/utils/ctdl3264.c
citadel/utils/ctdl3264_prep.sh

index dec95966d9896927c593d2cb78fe03e34fe7a0cd..d0ef643944fa06131643b301ecbcd8904ec4d6e7 100644 (file)
@@ -1,12 +1,7 @@
 // Copyright (c) 1987-2019 by the citadel.org team
 //
-// This program is open source software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License version 3.
-//
-// 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.
+// This program is open source software.  Use, duplication, or disclosure
+// is subject to the terms of the GNU General Public License, version 3.
 
 #include "serv_extensions.h"
 #include "context.h"
index 8d51e9c06bdd25ee6ce7e64dd295acee005cafa3..0baa2e23e251010bbaf727bd816de79c70af5b21 100644 (file)
@@ -1,7 +1,7 @@
 // Attempt to convert your database from 32-bit to 64-bit.
 // Don't run this.  It doesn't work and if you try to run it you will immediately die.
 //
-// Copyright (c) 1987-2022 by the citadel.org team
+// Copyright (c) 2023 by the citadel.org team
 //
 // This program is open source software.  Use, duplication, or disclosure
 // is subject to the terms of the GNU General Public License, version 3.
index f68a0d988f38714a74e428b11d46f983f71ba343..fc5cdca0fe664e06c5656233a91fc251b9cd38f0 100755 (executable)
@@ -1,7 +1,13 @@
 #!/bin/bash
+# Copyright (c) 2023 by the citadel.org team
+# This program is open source software.  Use, duplication, or disclosure
+# is subject to the terms of the GNU General Public License, version 3.
 
+# Source our data structures from the real live working code
 SERVER_H=server/server.h
 
+# Generate the "32-bit" versions of these structures.
+# Note that this is specifically converting "32-bit to 64-bit" -- NOT "any-to-any"
 convert_struct() {
        start_line=$(cat ${SERVER_H} | egrep -n "^struct $1 {" | cut -d: -f1)
        tail +${start_line} ${SERVER_H} | sed '/};/q' \
@@ -12,6 +18,7 @@ convert_struct() {
 
 }
 
+# Here we go.  Let's make this thing happen.
 (
        convert_struct "ctdluser"
        convert_struct "ctdlroom"