[Toybox] [PATCH 0/8] Stuff that should be mergeable.

Georgi Chorbadzhiyski gf at unixsol.org
Tue Apr 24 02:20:43 PDT 2012


Ok, I have looked at my queue and removed stuff that depends on dirtree.
That would be chown, chmod, chgrp, rm, mv and sysctl. I'll be working on
them, but for now the patches bellow I think should be non controversial
and easy to apply (each one is more or less on its own).

So three simple fixes, three new toys (only test have TODO), two patches
that prepare us for Android and OSX compatability (we are this | | close :).

Georgi Chorbadzhiyski (8):
  toys.h: Include strings.h. This is needed for strcasecmp,
    strncasecmp, index and rindex.
  mdev: Do not use strndupa().
  toys/mke2fs: Remove unused variables.
  Add new toy - md5sum
  Add new toy - test
  Add new toy - logger
  scripts/genconfig: Define LINUX, ANDROID and OSX symbols in
    Config.probed
  Add compat swapon(), swapoff() and sethostname() for Android.

 lib/portability.c    |   14 ++
 lib/portability.h    |   10 ++
 scripts/genconfig.sh |   36 +++++
 scripts/make.sh      |    2 +-
 toys.h               |    1 +
 toys/logger.c        |  161 ++++++++++++++++++++
 toys/md5sum.c        |  273 ++++++++++++++++++++++++++++++++++
 toys/mdev.c          |   11 +-
 toys/mke2fs.c        |    4 +-
 toys/test.c          |  395 ++++++++++++++++++++++++++++++++++++++++++++++++++
 10 files changed, 901 insertions(+), 6 deletions(-)
 create mode 100644 toys/logger.c
 create mode 100644 toys/md5sum.c
 create mode 100644 toys/test.c

-- 
1.7.5.1


 1335259243.0


More information about the Toybox mailing list