# Ann: SWI-Prolog 9.1.6

**URL:** <https://swi-prolog.discourse.group/t/ann-swi-prolog-9-1-6/6233>\
**Category:** Releases\
**Created:** [February 14, 2023, 1:07pm UTC](https://swi-prolog.discourse.group/t/ann-swi-prolog-9-1-6/6233 "2023-02-14T13:07:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jan](https://yyz2.discourse-cdn.com/free1/user_avatar/swi-prolog.discourse.group/jan/32/4_2.png) [@jan](https://swi-prolog.discourse.group/u/jan)\
**Post date:** [February 14, 2023, 1:07pm UTC](https://swi-prolog.discourse.group/t/ann-swi-prolog-9-1-6/6233/1 "2023-02-14T13:07:34Z")

</div>

Dear SWI-Prolog user,

SWI-Prolog 9.1.6 is ready for download. As reported by @jamesnvc,  
networking on MacOS was completely broken. This fixes also a bug  
in xpce on Win64, notably affecting the inspector tool for the  
_visual hiearchy_.

Linux versions are not affected by any of these fixes. Other OSes  
might be suffer from the same networking regression. The xpce issue  
only matters on Win64 as that is the only 64 bit platform I know where  
`long` is 4 bytes.

The updated SNAP recipe was already used for 9.1.5. The snap won’t be updated.

```
   Enjoy --- Jan

```

# SWI-Prolog Changelog since version 9.1.5

- SNAP: Updated KDE/Qt build framework. This required  
a kludge to run cmake twice to work around a  
dangling link in the KDE/Qt build snap. See  
[Kde-frameworks-5-99-qt-5-15-7-core20-sdk wrong link for libcrypto.so - #3 by janw - snapcraft - snapcraft.io](https://forum.snapcraft.io/t/kde-frameworks-5-99-qt-5-15-7-core20-sdk-wrong-link-for-libcrypto-so/33880/3?u=janw)

- SNAP: core20 seems to require `usr/bin/swipl` for the `command`.

## Package clib

- FIXED: socket address length to be the actual used length. Linux does  
not care, but MacOS does.

## Package xpce

- FIXED: Marshall 64 bit integers from xpce to Prolog.

- FIXED: pce-\>write for integers \> 32 bits.

- CLEANUP: Use `PRIdPTR` from `<inttypes.h>`for printing `intptr_t`  
rather than our own creation.
