[OpenSmalltalk/opensmalltalk-vm] 4ded31: Fix my own confusion about wcsncat

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[OpenSmalltalk/opensmalltalk-vm] 4ded31: Fix my own confusion about wcsncat

Eliot Miranda-3
 
  Branch: refs/heads/WIN64_UNICODE
  Home:   https://github.com/OpenSmalltalk/opensmalltalk-vm
  Commit: 4ded3182b34a2cc2ac3ec1299590a71515a07972
      https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/4ded3182b34a2cc2ac3ec1299590a71515a07972
  Author: Nicolas Cellier <[hidden email]>
  Date:   2019-01-01 (Tue, 01 Jan 2019)

  Changed paths:
    M platforms/win32/vm/sqWin32Main.c
    M platforms/win32/vm/sqWin32Service.c

  Log Message:
  -----------
  Fix my own confusion about wcsncat

wcsncat does not care about the write limit! (buffer overrun).
It only specifies the maximum number of characters to read from source...

This way, we pay one more Shlemiel the painter run, and write hyper convoluted code.
Nice!



      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.