Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: golang/sys
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.18.0
Choose a base ref
...
head repository: golang/sys
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.19.0
Choose a head ref
  • 4 commits
  • 5 files changed
  • 3 contributors

Commits on Mar 8, 2024

  1. unix: expose mmap calls on z/OS

    The calls `Mmap` and `Munmap` were removed for z/OS.
    Syscall removed occurred in: 508397
    
    This change exposes them in a z/OS specific file
    (to remove the accidental deletion of them in future refactors of the APIs for `unix-like` OSes).
    
    Change-Id: Ice0cabfb4547cab2ffa7130b7c26d9cc38233afe
    GitHub-Last-Rev: e7b4680
    GitHub-Pull-Request: #186
    Reviewed-on: https://go-review.googlesource.com/c/sys/+/569359
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    Reviewed-by: Ian Lance Taylor <[email protected]>
    Auto-Submit: Ian Lance Taylor <[email protected]>
    Reviewed-by: Michael Knyszek <[email protected]>
    MacMalainey authored and gopherbot committed Mar 8, 2024
    Configuration menu
    Copy the full SHA
    4be02d3 View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2024

  1. x/sys/windows: add func windows.DisconnectNamedPipe(handle Handle) (e…

    …rr error)
    
    Fixes golang/go#66234
    
    Change-Id: I1e4a94e1ca8c01a29bab18e0bf12238c511fe1c6
    Reviewed-on: https://go-review.googlesource.com/c/sys/+/570435
    Reviewed-by: Quim Muntal <[email protected]>
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    Reviewed-by: Michael Knyszek <[email protected]>
    Reviewed-by: Alex Brainman <[email protected]>
    Reviewed-by: Cherry Mui <[email protected]>
    peter-hoogendijk authored and qmuntal committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    95f07ec View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2024

  1. windows: add serial comm functions

    Serial ports are still widely used to communicate with a large range of
    devices.
    
    This change adds the remaining functions described in "Serial
    Communications in Win32", enabling Go applications and libraries to be
    written that support the full set of serial port functionality on
    Windows.
    
    x/sys/unix already has equivalent functionality through termios.
    
    See https://learn.microsoft.com/en-us/previous-versions/ms810467(v=msdn.10).
    
    Change-Id: I57f9ed6b7dbcc2331f740bd95b6483f141b0ad6f
    GitHub-Last-Rev: 0a5a744
    GitHub-Pull-Request: #187
    Reviewed-on: https://go-review.googlesource.com/c/sys/+/572295
    Reviewed-by: David Chase <[email protected]>
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    Reviewed-by: Than McIntosh <[email protected]>
    Reviewed-by: Alex Brainman <[email protected]>
    twpayne authored and odeke-em committed Apr 2, 2024
    Configuration menu
    Copy the full SHA
    1a50d97 View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2024

  1. windows: use uint32 for serial comm flags for consistency

    This is a follow-up to https://go-review.googlesource.com/c/sys/+/572295
    and specifically the comment
    https://go-review.googlesource.com/c/sys/+/572295/comment/a00e1a2e_e3b01666/.
    
    All other structs and methods us uint32 in golang.org/x/sys/windows
    for flag bitmasks, so make the serial communication structs use uint32
    to be consistent with the rest of the package.
    
    As a side effect the DTR_CONTROL_* and RTS_CONTROL_* constants are
    updated to reflect the positions of the bits in the 32-bit flags.
    
    Change-Id: Ie19774a8ef5411d7df1e5b0d36806aa1d401fa86
    GitHub-Last-Rev: bc93d94
    GitHub-Pull-Request: #189
    Reviewed-on: https://go-review.googlesource.com/c/sys/+/575635
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    Reviewed-by: Dmitri Shuralyov <[email protected]>
    Auto-Submit: Dmitri Shuralyov <[email protected]>
    Reviewed-by: Alex Brainman <[email protected]>
    Reviewed-by: Than McIntosh <[email protected]>
    twpayne authored and gopherbot committed Apr 4, 2024
    Configuration menu
    Copy the full SHA
    cabba82 View commit details
    Browse the repository at this point in the history
Loading