aboutsummaryrefslogtreecommitdiff
path: root/coreutils/dos2unix.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* suppress warnings about easch <applet>_main() havingvda2007-02-031-0/+1
| | | | | | | no preceding prototype git-svn-id: svn://busybox.net/trunk/busybox@17740 69ca8d6d-28ef-0310-b511-8ec308f3f277
* bb_applet_name -> applet_namevda2006-10-031-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16306 69ca8d6d-28ef-0310-b511-8ec308f3f277
* getopt_ulflags -> getopt32.vda2006-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. git-svn-id: svn://busybox.net/trunk/busybox@16305 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove bb_ prefixes from xfuncs.c (and a few other places), consolidatelandley2006-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.) git-svn-id: svn://busybox.net/trunk/busybox@15767 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - look at bb_applet_name. Should close bugs #892 and #893aldot2006-06-011-40/+40
| | | | | | | also restructure code a bit so the fix only adds 1 byte.. git-svn-id: svn://busybox.net/trunk/busybox@15261 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Consolidate #include <sys/time.h> so libbb.h does it.landley2006-05-271-1/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15203 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - tito writes: this patch fixes some comments in dos2unix that are wrongaldot2006-03-181-4/+2
| | | | | | | or that reports non existent features (that i've ripped out...) git-svn-id: svn://busybox.net/trunk/busybox@14568 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Tito shrank dos2unix.landley2006-03-141-101/+37
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14542 69ca8d6d-28ef-0310-b511-8ec308f3f277
* common BUFSIZ BSS buffer, small reduce code, data and bssvodz2005-10-151-1/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11867 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Cleanup patch by Bernhard Fischer, removing unnecessary includes oflandley2005-09-111-1/+0
| | | | | | | getopt.h, whitespace changes, typos, etc. git-svn-id: svn://busybox.net/trunk/busybox@11422 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Bernhard Fischer trimmed down dos2unix a bit.landley2005-09-011-45/+33
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11308 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Steve Grubb writes: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 git-svn-id: svn://busybox.net/trunk/busybox@8805 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Steve Grubb writes: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 git-svn-id: svn://busybox.net/trunk/busybox@8804 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove trailing whitespace. Update copyright to include 2004.andersen2004-03-151-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8630 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Major coreutils update.mjn32003-03-191-9/+11
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6751 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Little fix to avoid overflowandersen2002-07-031-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@4989 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Scrub things and ditch uint64_t and use a custom type nameandersen2001-08-221-7/+13
| | | | | | | to avoid C lib compatibility problems. git-svn-id: svn://busybox.net/trunk/busybox@3327 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix dos2unix compile problem with certain glibc versionsandersen2001-08-211-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3319 69ca8d6d-28ef-0310-b511-8ec308f3f277
* More libc5 fixupsandersen2001-08-021-0/+5
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@3195 69ca8d6d-28ef-0310-b511-8ec308f3f277
* This fixes dos2unix and unix2dos so they behave as expected. dos2unixandersen2001-07-251-19/+57
| | | | | | | | was broken in the 0.52 release, and unix2dos was pretty lame... -Erik git-svn-id: svn://busybox.net/trunk/busybox@3140 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix up some signed char vs int issues that show up on powerpc.andersen2001-05-241-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2719 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix dos2unix/tr problem noted by Larry Doolittle.kraai2001-04-121-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2341 69ca8d6d-28ef-0310-b511-8ec308f3f277
* use tmpfile() and revert my previous changes... convert() belongs herebug12001-04-121-0/+84
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2327 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Move convert to libbbbug12001-04-121-91/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2325 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add in kent robotti's updated dos2unix.candersen2001-02-221-38/+144
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1890 69ca8d6d-28ef-0310-b511-8ec308f3f277
* It turns out that DODMALLOC was broken when I reorganized busybox.handersen2001-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 git-svn-id: svn://busybox.net/trunk/busybox@1864 69ca8d6d-28ef-0310-b511-8ec308f3f277
* This patch, put together by Manuel Novoa III, is a merge of workandersen2001-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. git-svn-id: svn://busybox.net/trunk/busybox@1805 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix missing header file.kraai2001-01-291-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1709 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Stop using TRUE and FALSE for exit status.kraai2000-12-011-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1360 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Renamed "internal.h" to the more sensible "busybox.h".andersen2000-09-251-1/+1
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@1119 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Added dos2unix, unix2dos, and unrpm.c thanks to robotti@metconnect.com.andersen2000-09-201-0/+45
-Erik git-svn-id: svn://busybox.net/trunk/busybox@1076 69ca8d6d-28ef-0310-b511-8ec308f3f277