[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Minios-devel] [UNIKRAFT PATCH v2 0/1] Add strtok to string.h



I picked up this orphaned patch and added the changes that I suggested
during the review

Changes since v1:
 * Fixed compiler warning (-Wparentheses)
 * Fixed style issues, adding newlines to empty-body for loops to emphasize
   their emptiness.
 * Renamed __strchrnul to strchrnul and added its declaration to time.h
 * Replaced stand-alone strchr with a function that wraps around strchrnul,
   which should be faster because of the more efficient implementation of
   strchrnul in musl. (Also strchr is supposed to return char *, not const
   char *, so also a small drive-by fix.)

Razvan Cojocaru (1):
  lib/nolibc: Add strtok to string.h

 lib/nolibc/include/string.h |   7 ++-
 lib/nolibc/string.c         | 100 +++++++++++++++++++++++++++++++-----
 2 files changed, 93 insertions(+), 14 deletions(-)

-- 
2.18.0


_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.