summary refs log tree commit diff stats
path: root/changelog.md
diff options
context:
space:
mode:
authormetagn <metagngn@gmail.com>2024-09-09 15:44:49 +0300
committerGitHub <noreply@github.com>2024-09-09 14:44:49 +0200
commit21771765a2c1f1fc86d87ad6e032d4050d8a651b (patch)
tree3e811e096883f1b3e1b18cfe56c63ce35042fca8 /changelog.md
parent3a55bae53fe80728ce625dd5366aee5da9cf6463 (diff)
downloadNim-21771765a2c1f1fc86d87ad6e032d4050d8a651b.tar.gz
add posix uint changes to changelog + fix Nlink, Dev on FreeBSD (#24088)
refs #24078, refs #24076

Since these changes are potentially breaking, add them to changelog,
also add Nlink as mentioned in
https://github.com/nim-lang/Nim/issues/24076#issuecomment-2337666555.
Diffstat (limited to 'changelog.md')
-rw-r--r--changelog.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/changelog.md b/changelog.md
index 46bc1a872..3bee04993 100644
--- a/changelog.md
+++ b/changelog.md
@@ -52,6 +52,15 @@
   const bar = a # error
   let baz = a # error
   ```
+- The following POSIX wrappers have had their types changed from signed to
+  unsigned types on OSX and FreeBSD/OpenBSD to correct codegen errors:
+  - `Gid` (was `int32`, is now `uint32`)
+  - `Uid` (was `int32`, is now `uint32`)
+  - `Dev` (was `int32`, is now `uint32` on FreeBSD)
+  - `Nlink` (was `int16`, is now `uint32` on OpenBSD and `uint16` on OSX/other BSD)
+  - `sin6_flowinfo` and `sin6_scope_id` fields of `Sockaddr_in6`
+    (were `int32`, are now `uint32`)
+  - `n_net` field of `Tnetent` (was `int32`, is now `uint32`)
 
 
 ## Standard library additions and changes