version 1.5, 2025/03/22 22:52:24
|
version 1.25, 2025/05/02 16:30:16
|
Line 24
|
Line 24
|
* along with FreeM. If not, see <https://www.gnu.org/licenses/>. |
* along with FreeM. If not, see <https://www.gnu.org/licenses/>. |
* |
* |
* $Log$ |
* $Log$ |
|
* Revision 1.25 2025/05/02 16:30:16 snw |
|
* Fix broken build due to time issues |
|
* |
|
* Revision 1.24 2025/04/28 14:52:54 snw |
|
* Temporarily revert global handler refactor and fix reference regression in xecline |
|
* |
|
* Revision 1.7 2025/03/24 04:13:11 snw |
|
* Replace action macro dat with fra_dat to avoid symbol conflict on OS/2 |
|
* |
|
* 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 |
* Revision 1.5 2025/03/22 22:52:24 snw |
* Add STRLEN_GBL macro to manage global string length |
* Add STRLEN_GBL macro to manage global string length |
* |
* |
Line 40
|
Line 52
|
#include <fcntl.h> |
#include <fcntl.h> |
#include <unistd.h> |
#include <unistd.h> |
#include <string.h> |
#include <string.h> |
|
#if defined(USE_SYS_TIME_H) && !defined(MSDOS) && !defined(__osf__) |
|
# include <sys/time.h> |
|
#else |
|
# include <time.h> |
|
#endif |
|
|
#include <errno.h> |
#include <errno.h> |
|
|
Line 98 static void panic (void);
|
Line 115 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__) && !defined(__linux__) |
long time (); |
long time (); |
#endif |
#endif |
|
|
Line 687 reopen:
|
Line 704 reopen:
|
return; |
return; |
} |
} |
|
|
if (action == dat || action == zdata) { |
if (action == fra_dat || action == zdata) { |
data[0] = '0'; |
data[0] = '0'; |
data[1] = EOL1; |
data[1] = EOL1; |
|
|
Line 1253 s20:
|
Line 1270 s20:
|
break; |
break; |
|
|
|
|
case dat: |
case fra_dat: |
|
|
data[0] = '0'; |
data[0] = '0'; |
data[1] = EOL1; |
data[1] = EOL1; |