History log of /external/toybox/toys/other/dos2unix.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
7fcd90b39ce63f282d5498c06f78118bc03acf18 14-Feb-2015 Rob Landley <rob@landley.net> Split out unix2dos so scripts/single.sh and "make change" can build it standalone.
/external/toybox/toys/other/dos2unix.c
f3e56f4e4ff773de95fa2c9daf979734d826fc33 01-Jan-2015 Rob Landley <rob@landley.net> Redo option parsing infrastructure so #define FORCE_FLAGS can unzero flag macros for a disabled command (needed when multiple commands share infrastructure with a common set of flags).

This means the flag space is no longer packed, but leaves gaps where the zeroes
go. (Actual flag bit positions are the same for all configs.) Since the
option parsing needs to know where the holes are, the OPTSTR values are
now generated as part of flags.h with ascii 1 values for the disabled values.
(So generated/oldflags.h went away.)

This also means that the option string argument for OLDTOY() went away, it now
uses the same arguments as the NEWTOY() it references.
/external/toybox/toys/other/dos2unix.c
662a267c9b52f256b027d0f176a846b1d973ab99 02-Jan-2013 Rob Landley <rob@landley.net> Have error_msg() and friends set TT.exitval to 1 if it's still 0, clean out other places that were setting it that no longer need to.
/external/toybox/toys/other/dos2unix.c
7aa651a6a4496d848f86de9b1e6b3a003256a01f 14-Nov-2012 Rob Landley <rob@landley.net> Reindent to two spaces per level. Remove vi: directives that haven't worked right in years (ubuntu broke its' vim implementation). Remove trailing spaces. Add/remove blank lines. Re-wordwrap in places. Update documentation with new coding style.

The actual code should be the same afterward, this is just cosmetic refactoring.
/external/toybox/toys/other/dos2unix.c
c0e56edaf256adb6c60c5a052525a1ffbb927901 08-Oct-2012 Rob Landley <rob@landley.net> New build infrastructure to generate FLAG_ macros and TT alias, #define FOR_commandname before #including toys.h to trigger it. Rename DEFINE_GLOBALS() to just GLOBALS() (because I could never remember if it was DECLARE_GLOBALS). Convert existing commands to use new infrastructure, and replace optflag constants with FLAG_ macros where appropriate.
/external/toybox/toys/other/dos2unix.c
f91b7c89bc852868692b9518185421ebb52d67b3 26-Aug-2012 Rob Landley <rob@landley.net> Regularize command headers, update links to standards documents.
/external/toybox/toys/other/dos2unix.c
3a9241add947cb6d24b5de7a8927517426a78795 25-Aug-2012 Rob Landley <rob@landley.net> Move commands into "posix", "lsb", and "other" menus/directories.
/external/toybox/toys/other/dos2unix.c