[dylan-lang/opendylan] b7e689: Use <C-size-t> and <C-ssize-t> more.
GitHub <[email protected]> Tue, 19 Jan 2016 08:47:58 -0800
| Newsgroups | gmane.comp.lang.dylan.gwydion.cvs |
|---|---|
| Message-ID | <569e68be5884f_5d113ff102ed32c021785f@hookshot-fe1-cp1-prd.iad.github.net.mail> |
----==_mimepart_569e68be583b7_5d113ff102ed32c0217777
Content-Type: text/plain;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Branch: refs/heads/master
Home: https://github.com/dylan-lang/opendylan
Commit: b7e689a8ac8d1e134dcad328909b144c8e4eaa2e
https://github.com/dylan-lang/opendylan/commit/b7e689a8ac8d1e134dcad328909b144c8e4eaa2e
Author: Bruce Mitchener <[email protected]>
Date: 2016-01-18 (Mon, 18 Jan 2016)
Changed paths:
M sources/common-dylan/darwin-common-extensions.dylan
M sources/common-dylan/linux-common-extensions.dylan
M sources/common-dylan/unix-common-extensions.dylan
M sources/io/unix-interface.dylan
M sources/system/file-system/unix-file-system.dylan
M sources/system/file-system/unix-interface.dylan
Log Message:
-----------
Use <C-size-t> and <C-ssize-t> more.
There are places within our core libraries where we could / should
be using <C-size-t> or <C-ssize-t> but are not yet.
This addresses the non-Windows cases apart from the network library
which is slated to be replaced.
* sources/common-dylan/darwin-common-extensions.dylan
(darwin-sysctl): Use <raw-c-size-t> and primitive-c-size-t-at
for the size parameters.
* sources/common-dylan/linux-common-extensions.dylan
(get-application-commandline,
get-application-filename): read and readlink take <raw-c-size-t>
and return <raw-c-ssize-t> values.
* sources/common-dylan/unix-common-extensions.dylan
(write-console): write takes a <raw-c-size-t> and returns
a <raw-c-ssize-t>.
* sources/io/unix-interface.dylan
(unix-read): read takes a <raw-c-size-t> and returns
a <raw-c-ssize-t>.
(unix-write): write takes a <raw-c-size-t> and returns
a <raw-c-ssize-t>.
* sources/system/file-system/unix-file-system.dylan
(%link-target): readlink takes a <raw-c-size-t> and returns
a <raw-c-ssize-t>.
(%working-directory): getcwd takes a <raw-c-size-t> value.
* sources/system/file-system/unix-interface.dylan
(unix-raw-read): read takes a <raw-c-size-t> and returns
a <raw-c-ssize-t>.
Commit: 954e543ba1208c012b03d9110724ffd7382af9cf
https://github.com/dylan-lang/opendylan/commit/954e543ba1208c012b03d9110724ffd7382af9cf
Author: Bruce Mitchener <[email protected]>
Date: 2016-01-19 (Tue, 19 Jan 2016)
Changed paths:
M sources/common-dylan/darwin-common-extensions.dylan
M sources/common-dylan/linux-common-extensions.dylan
M sources/common-dylan/unix-common-extensions.dylan
M sources/io/unix-interface.dylan
M sources/system/file-system/unix-file-system.dylan
M sources/system/file-system/unix-interface.dylan
Log Message:
-----------
Merge pull request #1025 from waywardmonkeys/more-size-t-please
Use <C-size-t> and <C-ssize-t> more.
Compare: https://github.com/dylan-lang/opendylan/compare/26e6640be652...954e543ba120
----==_mimepart_569e68be583b7_5d113ff102ed32c0217777
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
chatter mailing list
[email protected]
https://lists.opendylan.org/mailman/listinfo/chatter
----==_mimepart_569e68be583b7_5d113ff102ed32c0217777--