Tom Almeida
b2d01a67f2
Actual working tests on strspn and strcspn
2018-03-14 10:55:01 +08:00
Jeremy Soller
cfe98ab3b2
Fix constants in signal.h
2018-03-13 19:58:52 -06:00
Jeremy Soller
d6e210b1fd
Merge branch 'signal' of https://github.com/dlrobertson/relibc into dlrobertson-signal
2018-03-13 19:54:49 -06:00
Jeremy Soller
996fad7092
Fix fcntl header constants
2018-03-13 19:52:15 -06:00
Jeremy Soller
1d6115fd09
Update cbindgen and lock file
2018-03-13 19:41:31 -06:00
Jeremy Soller
b09435f17d
Merge pull request #78 from Tommoa/master
...
Yet another fix for strcspn and strspn.
2018-03-13 19:39:08 -06:00
Tom Almeida
d3c2e99ed7
Merge branch 'master' into master
2018-03-14 08:56:52 +08:00
Tom Almeida
d058390b75
The erroneous use came back!
2018-03-14 08:56:18 +08:00
Tom Almeida
122f6cfef5
Merge branch 'master' of github.com:Tommoa/relibc
2018-03-14 08:54:10 +08:00
Tom Almeida
9d46fa4d8c
Missed having both loops look at themselves. I'm not sure how long this has been here.
2018-03-14 08:48:56 +08:00
Jeremy Soller
010e171071
Merge pull request #80 from dlrobertson/master
...
Add the no_mangle attribute to fns
2018-03-13 18:28:09 -06:00
Dan Robertson
d3e44da527
Add the no_mangle attribute to fns
...
Add the no_mangle attribute to functions without it.
2018-03-13 23:27:32 +00:00
Tom Almeida
ca82b6df5b
remove erroneous import in string
2018-03-14 01:03:48 +08:00
Tom Almeida
d6a7942ec4
Change the type of byteset from [u8] to [usize] in strcspn and strspn. Hopefully this is the last bug in these!
2018-03-14 01:01:23 +08:00
Jeremy Soller
13b7119994
Merge pull request #77 from dlrobertson/add_extern_crate
...
Add missing extern crate statements
2018-03-12 21:56:12 -06:00
Jeremy Soller
dd847cc67e
Return with 0 in all tests
2018-03-12 21:55:46 -06:00
Dan Robertson
ef8a64c101
Add missing extern crate statements
...
Add missing extern crate statements.
2018-03-13 02:17:32 +00:00
Jeremy Soller
7912332137
Mark sys_time functions no_mangle
2018-03-11 21:26:21 -06:00
Jeremy Soller
3e354aed04
Merge branch 'fix_includes' of https://github.com/dlrobertson/relibc into dlrobertson-fix_includes
2018-03-11 21:22:07 -06:00
Jeremy Soller
232e364f60
Remove warnings, build openlibm without stack protector
2018-03-11 21:20:56 -06:00
Jeremy Soller
477e8eb4e0
Exit run, expected, or verify on error in loop
2018-03-11 21:11:08 -06:00
Jeremy Soller
41e552b696
Only expect output for a whitelist of binaries
2018-03-11 21:04:53 -06:00
Jeremy Soller
7c13ec153e
Update expects
2018-03-11 21:00:53 -06:00
Jeremy Soller
ee13ed44d3
Merge pull request #69 from sajattack/stat
...
stat is now autogenerated correctly
2018-03-11 20:38:20 -06:00
Dan Robertson
cc5669939e
Fix include in resource.h and add SIZE_MAX
...
The rusage struct makes use of the timeval structure. Make sure to
include sys/time.h so that the type is known.
Add SIZE_MAX to stdint.h
sys/resource expects the defined structures to not be defined with a
typedef.
2018-03-12 02:38:07 +00:00
Jeremy Soller
7c305c5c0d
Merge branch 'master' into stat
2018-03-11 19:31:59 -06:00
Paul Sajna
c5dd3f8706
Update Cargo.lock
2018-03-11 17:01:25 -07:00
Dan Robertson
50eab4369d
Add signal.h
...
Create stubs for signal.h
2018-03-11 21:36:02 +00:00
Jeremy Soller
1b1ff5c750
Merge pull request #66 from w0xel/master
...
Add implementation for a64l
2018-03-11 13:11:06 -06:00
Paul Sajna
ca57f30425
Update cbindgen
2018-03-11 12:06:46 -07:00
Paul Sajna
a000f1a2c0
fmt
2018-03-11 11:26:35 -07:00
Paul Sajna
bc98f6a029
git rm include/sys/stat.h
2018-03-11 11:22:10 -07:00
Paul Sajna
76c4520cea
stat is now autogenerated correctly
2018-03-11 11:19:56 -07:00
Jeremy Soller
4f5e978634
Merge pull request #68 from Tommoa/master
...
Fixed strcspn and strspn
2018-03-11 11:09:55 -06:00
Tom Almeida
1f9f9f7d55
Made an error in the logic of strcspn and strspn that would cause a bit shift much too large
2018-03-11 23:53:15 +08:00
Sebastian Würl
55bd1adae0
stdlib: cleaner raw pointer handling in a64l
2018-03-11 13:23:36 +01:00
Sebastian Würl
d4d808fcc8
Add implementation for a64l
2018-03-11 11:55:22 +01:00
Jeremy Soller
8028c35172
Merge pull request #65 from dlrobertson/add_more_crates
...
Add more crates for missing headers
2018-03-10 21:52:30 -07:00
Jeremy Soller
089b41da23
Merge pull request #62 from jrraymond/strrchr
...
implement strrchr
2018-03-10 21:51:21 -07:00
Jeremy Soller
c2a76870b5
Merge pull request #63 from Tommoa/master
...
Implemented fputc, fputs, and puts
2018-03-10 21:50:09 -07:00
Dan Robertson
3699b53ba2
float: Add crate for float.h
...
Add a crate with stubbed functions for the float.h header.
2018-03-10 21:16:55 +00:00
Dan Robertson
f29e6b00d7
fenv: Add crate for fenv.h
...
Add a crate for building out stub functions and structures for the fenv
header.
2018-03-10 21:16:54 +00:00
Dan Robertson
ca7f3a00e6
wait: Add crate for sys/wait.h
...
Add the basics of sys/wait.h so that we get a bit closer to being able
to compile libc-test.
2018-03-10 21:16:54 +00:00
Dan Robertson
c6f16547ff
resource: Add crate for sys/resource.h
...
Add the basics of sys/resource.h so that work can begin on sys/wait.h
2018-03-10 19:14:20 +00:00
Dan Robertson
2f718d40d6
mman: mman.h should be located at sys/mman.h
...
- Update target location of mman.h to sys/mman.h
- Add more types to sys/type.h
2018-03-10 19:14:16 +00:00
Justin Raymond
63ee4de162
Update lib.rs
2018-03-10 12:39:30 -05:00
Justin Raymond
23a409204f
Update .gitignore
2018-03-10 12:36:42 -05:00
Tom Almeida
49be92f87f
ran fmt.sh cause I'm an idiot
2018-03-11 00:39:43 +08:00
Tom Almeida
8374fcb4be
implemented fputc, fputs, and puts
2018-03-11 00:33:00 +08:00
Justin Raymond
a1e62baad7
Merge branch 'master' into strrchr
2018-03-10 11:11:46 -05:00