OSDN Git Service

Promote iconv.
authorRob Landley <rob@landley.net>
Fri, 29 Dec 2017 23:19:02 +0000 (17:19 -0600)
committerRob Landley <rob@landley.net>
Fri, 29 Dec 2017 23:19:02 +0000 (17:19 -0600)
toys/posix/iconv.c [moved from toys/pending/iconv.c with 95% similarity]

similarity index 95%
rename from toys/pending/iconv.c
rename to toys/posix/iconv.c
index 9b3c76b..a31d713 100644 (file)
@@ -3,12 +3,14 @@
  * Copyright 2014 Felix Janda <felix.janda@posteo.de>
  *
  * See http://pubs.opengroup.org/onlinepubs/9699919799/utilities/iconv.html
+ *
+ * Deviations from posix: no idea how to implement -l
 
 USE_ICONV(NEWTOY(iconv, "cst:f:", TOYFLAG_USR|TOYFLAG_BIN))
 
 config ICONV
   bool "iconv"
-  default n
+  default y
   depends on TOYBOX_ICONV
   help
     usage: iconv [-f FROM] [-t TO] [FILE...]