summaryrefslogtreecommitdiff
path: root/coreutils/dos2unix.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* don't pass argc in getopt32, it's superfluousDenis Vlasenko2007-08-181-1/+1
| | | | | | | | (add/remove: 0/0 grow/shrink: 12/131 up/down: 91/-727) Total: -636 bytes text data bss dec hex filename 773469 1058 11092 785619 bfcd3 busybox_old 772644 1058 11092 784794 bf99a busybox_unstripped
* hdparm: shrink rodata by ~250 bytesDenis Vlasenko2007-08-161-1/+1
|
* whitespace fixes, no code changesDenis Vlasenko2007-08-161-1/+1
|
* libbb: nuke BB_GETOPT_ERROR, always die if there are mutually exclusive optionsDenis Vlasenko2007-07-211-12/+10
| | | | | | | | | | | | | | | | | | | | find_pair 164 180 +16 passwd_main 1222 1230 +8 display_speed 91 96 +5 msh_main 1335 1339 +4 qrealloc 38 36 -2 refresh 1190 1182 -8 cut_main 543 532 -11 sendCgi 1807 1794 -13 getopt32 1063 1045 -18 arith 2077 2030 -47 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 4/6 up/down: 33/-99) Total: -66 bytes text data bss dec hex filename 781548 1168 11900 794616 c1ff8 busybox_old 781452 1168 11900 794520 c1f98 busybox_unstripped
* Audit bb_common_bufsiz usage, add script which looks for misuse.Denis Vlasenko2007-06-041-27/+24
| | | | | | tr: stop using globals needlessly. code: -103 bytes
* usage.c: remove reference to busybox.hDenis Vlasenko2007-05-261-1/+1
| | | | | *: s/include "busybox.h"/include "libbb.h"
* bb_full_fd_action: remove potential xmalloc from NOFORK pathDenis Vlasenko2007-04-111-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cat: stop using stdio.h opens libbb: introduce & use open[3]_or_warn function old new delta open3_or_warn - 54 +54 bb_cat 115 144 +29 open_or_warn - 25 +25 unlzma 2404 2412 +8 chattr_main 334 339 +5 xstrtoul_range_sfx 251 255 +4 telnet_main 1514 1510 -4 static.opt 4 - -4 qgravechar 122 118 -4 fuser_add_pid 61 54 -7 fuser_add_inode 154 147 -7 writeFileToTarball 1542 1534 -8 refresh 1156 1148 -8 do_show 856 846 -10 read_leases 212 200 -12 setup_redirects 236 222 -14 iproute_list_or_flush 1582 1568 -14 read_config 427 411 -16 write_leases 284 264 -20 hash_file 338 318 -20 copy_file 1760 1740 -20 do_iproute 2610 2588 -22 bb_full_fd_action 320 269 -51 open_to_or_warn 103 49 -54 fuser_main 1660 1596 -64 .rodata 131160 131096 -64 ------------------------------------------------------------------------------ (add/remove: 2/1 grow/shrink: 4/19 up/down: 125/-423) Total: -298 bytes
* - sed -e "s/char[[:space:]]*\*[[:space:]]*argv\[\]/char **argv/g"Bernhard Reutner-Fischer2007-04-041-2/+2
|
* suppress warnings about easch <applet>_main() havingDenis Vlasenko2007-02-031-0/+1
| | | | no preceding prototype
* bb_applet_name -> applet_nameDenis Vlasenko2006-10-031-1/+1
|
* getopt_ulflags -> getopt32.Denis Vlasenko2006-10-031-2/+2
| | | | | | | | It is impossible to formulate sane ABI based on size of ulong because it can be 32-bit or 64-bit. Basically it means that you cannot portably use more that 32 option chars in one call anyway... Make it explicit.
* Remove bb_ prefixes from xfuncs.c (and a few other places), consolidateRob Landley2006-08-031-5/+1
| | | | | | | | | | things like xasprintf() into xfuncs.c, remove xprint_file_by_name() (it only had one user), clean up lots of #includes... General cleanup pass. What I've been doing for the last couple days. And it conflicts! I've removed httpd.c from this checkin due to somebody else touching that file. It builds for me. I have to catch a bus. (Now you know why I'm looking forward to Mercurial.)
* - look at bb_applet_name. Should close bugs #892 and #893Bernhard Reutner-Fischer2006-06-011-40/+40
| | | | also restructure code a bit so the fix only adds 1 byte..
* Consolidate #include <sys/time.h> so libbb.h does it.Rob Landley2006-05-271-1/+0
|
* - tito writes: this patch fixes some comments in dos2unix that are wrongBernhard Reutner-Fischer2006-03-181-4/+2
| | | | or that reports non existent features (that i've ripped out...)
* Tito shrank dos2unix.Rob Landley2006-03-141-101/+37
|
* common BUFSIZ BSS buffer, small reduce code, data and bss"Vladimir N. Oleynik"2005-10-151-1/+2
|
* Cleanup patch by Bernhard Fischer, removing unnecessary includes ofRob Landley2005-09-111-1/+0
| | | | getopt.h, whitespace changes, typos, etc.
* Bernhard Fischer trimmed down dos2unix a bit.Rob Landley2005-09-011-45/+33
|
* Steve Grubb writes:Eric Andersen2004-05-051-1/+3
| | | | | | | | | | | Hi, I just re-reviewed the patch I just sent...and it needed to be BUFSIZ-3 in dos2unix.c . tempFn is BUFSIZ so the last addressable spot it BUFSIZ-1. The loop increments by 2. That's why it should be BUFSIZ-3. Best Regards, Steve Grubb
* Steve Grubb writes:Eric Andersen2004-05-051-1/+1
| | | | | | | | | | | Hello, I found and patched 2 more bugs. The first is a misplaced semi-colon. The second one is a buffer overflow. I doubt the buffer overflow is triggered in real life. But you never know what those wily hackers are up to. Thanks, Steve Grubb
* Remove trailing whitespace. Update copyright to include 2004.Eric Andersen2004-03-151-3/+3
|
* Major coreutils update.Manuel Novoa III2003-03-191-9/+11
|
* Little fix to avoid overflowEric Andersen2002-07-031-1/+1
|
* Scrub things and ditch uint64_t and use a custom type nameEric Andersen2001-08-221-7/+13
| | | | to avoid C lib compatibility problems.
* Fix dos2unix compile problem with certain glibc versionsEric Andersen2001-08-211-2/+2
|
* More libc5 fixupsEric Andersen2001-08-021-0/+5
| | | | -Erik
* This fixes dos2unix and unix2dos so they behave as expected. dos2unixEric Andersen2001-07-251-19/+57
| | | | | was broken in the 0.52 release, and unix2dos was pretty lame... -Erik
* Fix up some signed char vs int issues that show up on powerpc.Eric Andersen2001-05-241-1/+1
|
* Fix dos2unix/tr problem noted by Larry Doolittle.Matt Kraai2001-04-121-1/+1
|
* use tmpfile() and revert my previous changes... convert() belongs hereGlenn L McGrath2001-04-121-0/+84
|
* Move convert to libbbGlenn L McGrath2001-04-121-91/+0
|
* Add in kent robotti's updated dos2unix.cEric Andersen2001-02-221-38/+144
|
* It turns out that DODMALLOC was broken when I reorganized busybox.hEric Andersen2001-02-201-1/+1
| | | | | | header file usage before the 0.49 release. To fix it, I had to move the '#include "busybox.h"' to the end of the list of #include files. -Erik
* This patch, put together by Manuel Novoa III, is a merge of workEric Andersen2001-02-141-1/+1
| | | | | | done by Evin Robertson (bug#1105) and work from Manuel to make usage messages occupy less space and simplify how usage messages are displayed.
* Fix missing header file.Matt Kraai2001-01-291-0/+1
|
* Stop using TRUE and FALSE for exit status.Matt Kraai2000-12-011-1/+1
|
* Renamed "internal.h" to the more sensible "busybox.h".Eric Andersen2000-09-251-1/+1
| | | | -Erik
* Added dos2unix, unix2dos, and unrpm.c thanks to robotti@metconnect.com.Eric Andersen2000-09-201-0/+45
-Erik