|
|
| version 1.1.1.1, 2025/01/19 02:04:04 | version 1.6, 2025/03/24 01:33:30 |
|---|---|
| Line 1 | Line 1 |
| /* | /* |
| * * | * $Id$ |
| * * * | |
| * * * | |
| * *************** | |
| * * * * * | |
| * * MUMPS * | |
| * * * * * | |
| * *************** | |
| * * * | |
| * * * | |
| * * | |
| * | |
| * global.c | |
| * freem database engine | * freem database engine |
| * | * |
| * | * |
| * Author: Serena Willis <jpw@coherent-logic.com> | * Author: Serena Willis <snw@coherent-logic.com> |
| * Copyright (C) 1998 MUG Deutschland | * Copyright (C) 1998 MUG Deutschland |
| * Copyright (C) 2020 Coherent Logic Development LLC | * Copyright (C) 2020, 2025 Coherent Logic Development LLC |
| * | * |
| * | * |
| * This file is part of FreeM. | * This file is part of FreeM. |
| Line 35 | Line 23 |
| * You should have received a copy of the GNU Affero Public License | * You should have received a copy of the GNU Affero Public License |
| * along with FreeM. If not, see <https://www.gnu.org/licenses/>. | * along with FreeM. If not, see <https://www.gnu.org/licenses/>. |
| * | * |
| * $Log$ | |
| * Revision 1.6 2025/03/24 01:33:30 snw | |
| * Guard declaration of time function in global_bltin.c for portability | |
| * | |
| * Revision 1.5 2025/03/22 22:52:24 snw | |
| * Add STRLEN_GBL macro to manage global string length | |
| * | |
| * Revision 1.4 2025/03/09 19:14:25 snw | |
| * First phase of REUSE compliance and header reformat | |
| * | |
| * | |
| * SPDX-FileCopyrightText: (C) 2025 Coherent Logic Development LLC | |
| * SPDX-License-Identifier: AGPL-3.0-or-later | |
| **/ | **/ |
| #include <sys/types.h> | #include <sys/types.h> |
| Line 100 static void panic (void); | Line 101 static void panic (void); |
| #define BOTTOM 6 | #define BOTTOM 6 |
| #define DATA 8 | #define DATA 8 |
| #if !defined(__OpenBSD__) && !defined(_AIX) && !defined(__osf__) && !defined(MSDOS) && !defined(__vax__) | #if !defined(__OpenBSD__) && !defined(_AIX) && !defined(__osf__) && !defined(MSDOS) && !defined(__vax__) && !defined(__OS2__) |
| long time (); | long time (); |
| #endif | #endif |
| Line 1611 s20: | Line 1612 s20: |
| } | } |
| zref[j++] = ch0; | zref[j++] = ch0; |
| if (j >= 252) { | if (j >= 252) { |
| zref[j] = EOL; | zref[j] = EOL; |
| Line 3511 void gbl_dump_stat(void) | Line 3513 void gbl_dump_stat(void) |
| printf ("%-10s%-20s%s\r\n", "=====", "===", "===="); | printf ("%-10s%-20s%s\r\n", "=====", "===", "===="); |
| for (i = 0; i < NO_GLOBLS; i++) { | for (i = 0; i < NO_GLOBLS; i++) { |
| printf ("%-10d%-20d%s\r\n", usage[i], g_ages[i], oldfil[i]); | printf ("%-10d%-20ld%s\r\n", usage[i], g_ages[i], oldfil[i]); |
| } | } |
| } | } |