Commit 13a8ce37 authored by Kevin Bracey's avatar Kevin Bracey
Browse files

!Internet tweaked to ensure version 5.33.

MTrace doesn't use non-ISO strftime() specifiers.
parent 80883c03
|================================================================|
| Run file for !Internet V5.00 (21st May 1996) |
| Run file for !Internet V5.33 (22nd July 1999) |
| |
| Copyright (C) Acorn Computers Ltd., 1996 |
|================================================================|
......@@ -40,8 +40,8 @@ Unset Inet$BadMbufManager
RMEnsure AUNMsgs 0.07 RMLoad System:Modules.Network.AUNMsgs
RMEnsure AUNMsgs 0.07 Error !Internet requires AUNMsgs 0.07 or later
RMEnsure Internet 5.02 RMLoad System:Modules.Network.Internet
RMEnsure Internet 5.02 Error !Internet requires Internet 5.02 or later
RMEnsure Internet 5.33 RMLoad System:Modules.Network.Internet
RMEnsure Internet 5.33 Error !Internet requires Internet 5.33 or later
RMEnsure MbufManager 0.17 RMLoad System:Modules.Network.MManager
RMEnsure MbufManager 0.17 Error !Internet requires MbufManager 0.17 or later
......
!Internet version 5.00 (30-May-96)
!Internet version 5.33 (22-Jul-99)
==================================
This is the Internet resource directory. It stores
......
......@@ -1654,7 +1654,14 @@ passive_mode()
tr_sec = tr.tv_sec;
now = localtime(&tr_sec);
#ifdef __riscos
/* %e and %k aren't standard ISO C, and hence not supported by our
* C library (which is a bit officious about these things).
*/
strftime(timebuf, sizeof(timebuf) - 1, "%b %d %H:%M:%S", now);
#else
strftime(timebuf, sizeof(timebuf) - 1, "%b %e %k:%M:%S", now);
#endif
printf("Mtrace %s at %s",
len == 0 ? "query" :
igmp->igmp_type == IGMP_MTRACE_RESP ? "response" :
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment