[dylan-lang/opendylan] 52a344: Use toupper(3) safely

GitHub <[email protected]> Sun, 27 Sep 2015 17:55:34 -0700
Newsgroups gmane.comp.lang.dylan.gwydion.cvs
Message-ID <56089006d55e_34ab3fad8d2192b83542c@hookshot-fe5-cp1-prd.iad.github.net.mail>
  Branch: refs/heads/master
  Home:   https://github.com/dylan-lang/opendylan
  Commit: 52a344d924946335f5bd62ae0fd6afa05e918fa3
      https://github.com/dylan-lang/opendylan/commit/52a344d924946335f5bd62ae0fd6afa05e918fa3
  Author: Kamil Rytarowski <[email protected]>
  Date:   2015-09-28 (Mon, 28 Sep 2015)

  Changed paths:
    M sources/lib/run-time/debug-print.c

  Log Message:
  -----------
  Use toupper(3) safely

Traditionally ctype functions look into a table and the index (input parameter)
cannot be negative.

Caught on NetBSD.


  Commit: 05271f6fec9da05ef64c7cbba6c9c0fd271d88d7
      https://github.com/dylan-lang/opendylan/commit/05271f6fec9da05ef64c7cbba6c9c0fd271d88d7
  Author: Bruce Mitchener <[email protected]>
  Date:   2015-09-28 (Mon, 28 Sep 2015)

  Changed paths:
    M sources/lib/run-time/debug-print.c

  Log Message:
  -----------
  Merge pull request #984 from krytarowski/netbsd-toupper

Use toupper(3) safely


Compare: https://github.com/dylan-lang/opendylan/compare/4e4006a4c63a...05271f6fec9d

_______________________________________________
chatter mailing list
[email protected]
https://lists.opendylan.org/mailman/listinfo/chatter