Ticket #43388

Lua: Replace listenv() with nef's fce()

Eröffnet am: 2021-12-12 06:21 Letztes Update: 2021-12-25 16:51

Auswertung:
Verantwortlicher:
Typ:
Status:
Geschlossen
Komponente:
Meilenstein:
Priorität:
5 - Mittel
Schweregrad:
5 - Mittel
Lösung:
Gefixt
Datei:
4

Details

In http://forum.freeciv.org/f/viewtopic.php?f=14&t=91972&p=103953#p103947 nef lists ways that current listenv() may hang or crash, and provides a function called fce() as a replacement.

Port nef's fce() to mainstream freeciv. Replace current listenv() implementation with a trivial wrapper for fce() (to keep function named listenv() around for compatibility)

Ticket-Verlauf (3/10 Historien)

2021-12-12 06:21 Aktualisiert von: cazfi
  • New Ticket "Lua: Replace listenv() with nef's fce()" created
2021-12-12 06:35 Aktualisiert von: cazfi
  • Lösung Update from Keine to Accepted
2021-12-12 07:46 Aktualisiert von: cazfi
Kommentar

I think we can have this even in d3f S3_0, after all; just remove old listenv(), bring in fce() named as listenv() and modified to have same fingerprint as old listenv() had. Then it would be, compatibility wise, drop-in replacement.

2021-12-12 07:51 Aktualisiert von: cazfi
  • Lösung Update from Keine to Accepted
2021-12-21 03:39 Aktualisiert von: cazfi
Kommentar

New patch version based on new fce() version by nef

2021-12-25 16:51 Aktualisiert von: cazfi
  • Status Update from Offen to Geschlossen
  • Verantwortlicher Update from (Keine) to cazfi
  • Lösung Update from Accepted to Gefixt

Bearbeiten

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Anmelden