[ruby-core:74489] [Ruby trunk Misc#12205] update missing/strl{cat, cpy}.c

From: shyouhei@...
Date: 2016-03-22 12:02:50 UTC
List: ruby-core #74489
Issue #12205 has been updated by Shyouhei Urabe.


The code is much cleaner so I would +1, but it seems the upstream has more recent revisions (strlcat.c 1.16 and strlcpy.c 1.13).  Why to avoid them?

----------------------------------------
Misc #12205: update missing/strl{cat,cpy}.c
https://bugs.ruby-lang.org/issues/12205#change-57610

* Author: cremno phobia
* Status: Open
* Priority: Normal
* Assignee: 
----------------------------------------
The attached git diff updates `missing/strlcat.c` from 1.8 to 1.15, 
`missing/strlcpy.c` from 1.5 to 1.12 and also the `LEGAL` file.

There is no important reason. But there was a license change:
new style-BSD to a less restrictive ISC-style license.

Other changes include improving code readability and
modernizing (function prototypes, no `register`)

Upstream URLs (if you're looking for more details):
http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib/libc/string/strlcat.c
http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib/libc/string/strlcpy.c

---Files--------------------------------
update-strl.diff (11.1 KB)


-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next