This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
Register
Sign In
jdk-build-libs
/
json-c
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
11
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
1355
Commits
14
Branches
4.5 MB
0 Download
Tree:
839fbe0d63
disallow-control-chars
gh-pages
issue808-ios-build
json-c-0.10
json-c-0.11
json-c-0.12
json-c-0.13
json-c-0.14
json-c-0.15
json-c-0.16
json-c-0.17
json-c-0.18
json_object-split
master
json-c-0.10-20120530
json-c-0.11-20130402
json-c-0.12-20140410
json-c-0.12.1-20160607
json-c-0.13-20171207
json-c-0.13.1-20180305
json-c-0.14-20200419
json-c-0.15-20200726
json-c-0.16-20220414
json-c-0.17-20230812
json-c-0.18-20240915
Branches
Tags
${ item.name }
Create branch
${ searchTerm }
from '839fbe0d63'
${ noResults }
json-c
/
tests
/
test_strerror.test
test_strerror.test
15 B
Raw
Normal View
History
Properly format errnos in _json_c_strerror The function _json_c_strerror does not properly format unknown errnos. The int to ascii loop ignores the leading digit if the number can be divided by 10 and if an errno has been formatted, shorter errnos would not properly terminate the newly created string, showing the ending numbers of the previous output. A test case has been added to show these effects. Since this function has been introduced for tests, the effect of this on real life code is basically non-existing. First an environment variable has to be set to activate this strerror code and second an unknown errno would have to be encountered.
5 years ago
1
test_basic.test
No Description
Contributors (25+)
All
erh+git@nimenees.com
michael@metaparadigm.com
ardeleanalex@gmail.com
chenguopingdota@163.com
besser82@fedoraproject.org
tobias@stoeckmann.org
andy400-dev@yahoo.com
james.myatt@tessella.com
Alexander.Klauer@itwm.fraunhofer.de
steve@gerbino.co
christopher.watford@gmail.com
keith.derrick@palm.com
fedora@famillecollet.com
ehaszla@transunion.com
ramiro.polla@gmail.com
even.rouault@spatialys.com
dev@nicola-spanti.info
pierce.lopez@gmail.com
sdr@mail.bg
jehiah@gmail.com
rgerhards@adiscon.com
50514813+dota17@users.noreply.github.com
darjan_krijan@gmx.de
emiel.bruijntjes@copernica.com
20966113@qq.com