Commit Graph

176 Commits

Author SHA1 Message Date
Jeremy Soller 620a459d93 Merge pull request #39 from Arcterus/master
string: fix out of bounds bug in strncmp
2018-03-08 18:34:27 -07:00
Alex Lyon 332ae13af5 string: fix out of bounds bug in strncmp 2018-03-08 17:18:38 -08:00
Jeremy Soller dbe73d4bab Merge pull request #35 from sajattack/patch-1
Add build badge to README
2018-03-08 17:47:28 -07:00
Jeremy Soller d0c9c46ff9 Merge pull request #38 from MggMuggins/master
ctype: tests and reorganize
2018-03-08 17:47:01 -07:00
SamwiseFilmore 46fe488e05 Merge branch 'master' into master 2018-03-08 18:31:14 -06:00
MggMuggins 6ced871d9a ctype: tests and reorganize
Wrote tests for the functions implemented in 40558b2 and maybe made that
test a little more comprehensible.

Also made sure that fmt.sh and test.sh were being executed by bash all
the time (compatibility with other shells).
2018-03-08 18:25:11 -06:00
Paul bb376ff3fb Add build badge to README 2018-03-08 15:27:44 -08:00
Jeremy Soller 284cc4eece Fix formatting 2018-03-08 16:21:04 -07:00
Jeremy Soller cd4082bf9f Fix build harder 2018-03-08 16:09:28 -07:00
Jeremy Soller 07c3ce02be Fix build 2018-03-08 15:52:48 -07:00
Jeremy Soller af78f4819a Merge branch 'master' of github.com:redox-os/relibc 2018-03-08 15:43:23 -07:00
Jeremy Soller 4198055d4a Fix tests 2018-03-08 15:43:17 -07:00
Jeremy Soller 8adf1c3de0 Merge pull request #34 from MggMuggins/master
Finish ctype impls
2018-03-08 15:39:05 -07:00
MggMuggins 42de0a0a46 Merge branch 'master' of https://github.com/redox-os/relibc 2018-03-08 16:29:58 -06:00
MggMuggins 40558b2608 Finish ctype impls; Solve #31 2018-03-08 16:16:51 -06:00
Jeremy Soller cfbe27490f Remove allocation, fix pipe example 2018-03-08 15:00:17 -07:00
Jeremy Soller 0bcabc2163 Merge remote-tracking branch 'sajattack/unistd' 2018-03-08 14:53:07 -07:00
Jeremy Soller 18961114e2 Simplify perror 2018-03-08 14:51:22 -07:00
Jeremy Soller c6a31f709b Merge remote-tracking branch 'sajattack/master' 2018-03-08 14:47:03 -07:00
Jeremy Soller e1a8b288fb Update README.md 2018-03-08 14:32:06 -07:00
Jeremy Soller 38ed9ccb22 Update README.md 2018-03-08 14:31:55 -07:00
Paul Sajna 12833a5a5c add test and fork 2018-03-08 12:25:14 -08:00
Paul Sajna 22fb6c5bf0 copy strerror implementation into perror 2018-03-08 11:20:13 -08:00
Paul Sajna 6304595a1d Merge branch 'master' of github.com:redox-os/relibc 2018-03-08 11:07:51 -08:00
Jeremy Soller 8812c2148f Merge pull request #33 from dlrobertson/stub_wctype
Create crate and stubs for wctype
2018-03-08 10:07:14 -07:00
Dan Robertson a6a16cf233 Create crate and stubs for wctype
Create the wctype crate and stub functions with the unimplemented macro.
2018-03-08 16:03:45 +00:00
Jeremy Soller 013dff2aaf Merge pull request #29 from dlrobertson/add_functions
Add ctype functions and atoi/atol
2018-03-08 07:34:14 -07:00
Paul Sajna 33f1033e0e implement pipe and read 2018-03-07 23:30:10 -08:00
Dan Robertson ec288a1b53 Add ctype functions and atoi/atol
Add ctype functions
  - isalnum
  - isalpha
  - isascii
  - isdigit
  - islower
  - isspace
  - isupper
Add stdlib functions
  - atoi
  - atol
Fix some warnings
Make a fmt run
2018-03-08 05:26:40 +00:00
Paul Sajna 838c364ed5 Merge branch 'unistd' 2018-03-07 20:58:48 -08:00
Paul Sajna 3b7149612f implement perror 2018-03-07 20:57:51 -08:00
Jeremy Soller 1127c36ceb Add strerror to error test 2018-03-07 21:01:48 -07:00
Jeremy Soller b7b49d5801 Implement strerror 2018-03-07 21:00:26 -07:00
Paul Sajna f6db153ea5 Merge branch 'master' of github.com:redox-os/relibc 2018-03-07 19:46:41 -08:00
Jeremy Soller f01c669771 Remove thread local from errno, for now 2018-03-07 20:37:22 -07:00
Jeremy Soller 85b80d0fe5 Fix errno.h, add -no-pie to tests Makefile 2018-03-07 20:31:18 -07:00
Paul Sajna 95424b3c69 Merge branch 'master' of github.com:redox-os/relibc 2018-03-07 18:47:21 -08:00
Jeremy Soller 851e4d399f Fix errno.h definition 2018-03-07 19:46:23 -07:00
Paul Sajna ffd9176cdf forgot to commit the makefile 2018-03-07 18:45:03 -08:00
Jeremy Soller 633b5474db Merge pull request #27 from sajattack/master
add test for errno
2018-03-07 19:40:46 -07:00
Jeremy Soller 7e725a803e Merge pull request #26 from Arcterus/master
Implement several more string functions and add errno
2018-03-07 19:40:09 -07:00
Paul Sajna 93ddcca294 add test for errno 2018-03-07 18:36:18 -08:00
Alex Lyon 629c20f097 string: ensure resulting string has NUL byte 2018-03-07 17:52:37 -08:00
Alex Lyon 3e1b945e99 Add errno crate and set errno in strndup 2018-03-07 17:38:43 -08:00
Jeremy Soller 89a9e01676 Create README.md 2018-03-07 17:29:54 -07:00
Jeremy Soller ba515d83df Create LICENSE 2018-03-07 17:29:33 -07:00
Alex Lyon ee824f3b19 string: implement strndup and strnlen 2018-03-07 15:59:58 -08:00
Alex Lyon 9f39456dbd string: implement strcat, strcmp, strcpy, and strdup 2018-03-07 14:06:30 -08:00
Jeremy Soller 3224fa24c8 Merge pull request #23 from Arcterus/master
string: implement strncat, strncmp, and strncpy
2018-03-07 06:15:21 -07:00
Alex Lyon 114ee16c21 string: implement strncat, strncmp, and strncpy 2018-03-07 05:04:40 -08:00