Age | Commit message (Collapse) | Author | |
---|---|---|---|
2000-12-02 | *** empty log message *** | Jim Meyering | |
2000-12-02 | Undo most of the changes since 2000-11-24, since we've | Jim Meyering | |
documented a standard way to do it. (skip_bytes, seek_bytes): Remove. (usage): Remove B suffix. (scanargs, skip, dd_copy, main): Remove support for B suffix. | |||
2000-11-30 | *** empty log message *** | Jim Meyering | |
2000-11-30 | *** empty log message *** | Jim Meyering | |
2000-11-30 | (jm_MACROS): Add stdint.h to the list of headers. | Jim Meyering | |
2000-11-30 | s/SIZE_T_MAX/SIZE_MAX/. | Jim Meyering | |
2000-11-30 | Include <stdint.h> if HAVE_STDINT_H. | Jim Meyering | |
(SIZE_MAX): Renamed from SIZE_T_MAX, as C99 uses SIZE_MAX. All uses changed. | |||
2000-11-30 | *** empty log message *** | Jim Meyering | |
2000-11-30 | (SIZE_T_MAX): Define. | Jim Meyering | |
2000-11-30 | *** empty log message *** | Jim Meyering | |
2000-11-30 | Port GNU "sort" to hosts where sizes don't fit in "int", | Jim Meyering | |
e.g. 64-bit Solaris (sparc). ("human.h", "xstrtol.h"): Include. (struct line): length member is now size_t, not int. (struct lines): Likewise for used, alloc, limit members. (struct buffer): Likewise for used, alloc, left, newline_free members. (struct keyfield): Likewise for sword, schar, eword, echar members. (sortalloc, mergealloc, linelength): Now size_t, not int. (initbuf, fillbuf, initlines, begfield, limfield, findlines, numcompare, getmonth, keycompare, compare, checkfp, mergefps, sortlines, sort): Accept, return, and use size_t for sizes, not int. (fillbuf, initlines, findlines, checkfp, sort): Check for overflow when computing buffer sizes. (begfield, limfield): Do not index past end of array. (checkfp): Return a boolean, not a line number, as the line number may not fit in int. All callers changed. Use uintmax_t for line numbers, not int. (sort): Don't allocate tmp until we need it (and know the right size). (parse_field_count): New function. (main): Use it to check for overflow in field counts. "outfile" is now a pointer to const. | |||
2000-11-30 | *** empty log message *** | Jim Meyering | |
2000-11-30 | (dir_name_r): Fix typo: int -> size_t. | Jim Meyering | |
2000-11-30 | *** empty log message *** | Jim Meyering | |
2000-11-30 | s/ifval/m4_ifval/ to accommodate new autoconf. | Jim Meyering | |
2000-11-30 | . | Jim Meyering | |
2000-11-27 | remove useless parens | Jim Meyering | |
2000-11-27 | *** empty log message *** | Jim Meyering | |
2000-11-27 | *** empty log message *** | Jim Meyering | |
2000-11-27 | add an echo | Jim Meyering | |
2000-11-27 | *** empty log message *** | Jim Meyering | |
2000-11-27 | Use touch with `-d tomorrow' to avoid race condition. | Jim Meyering | |
2000-11-27 | *** empty log message *** | Jim Meyering | |
2000-11-27 | use abs_srcdir | Jim Meyering | |
2000-11-26 | . | Jim Meyering | |
2000-11-26 | *** empty log message *** | Jim Meyering | |
2000-11-26 | Include config.h, stdio.h, sys/types.h. and system.h here instead. | Jim Meyering | |
2000-11-26 | Include config.h, stdio.h, sys/types.h. and system.h here instead. | Jim Meyering | |
2000-11-26 | don't include system.h here | Jim Meyering | |
2000-11-26 | *** empty log message *** | Jim Meyering | |
2000-11-26 | . | Jim Meyering | |
2000-11-26 | *** empty log message *** | Jim Meyering | |
2000-11-26 | *** empty log message *** | Jim Meyering | |
2000-11-26 | (_compare_files): New function. | Jim Meyering | |
(_process_file_spec): Likewise. (_at_replace): Likewise. (run_tests): Support new keywords, AUX and CMP and associated syntax and semantics. | |||
2000-11-26 | *** empty log message *** | Jim Meyering | |
2000-11-26 | . | Jim Meyering | |
2000-11-26 | *** empty log message *** | Jim Meyering | |
2000-11-26 | (skip): Perform the `records < blocksize' test | Jim Meyering | |
at the top of the loop, not at the bottom. | |||
2000-11-26 | (skip): New arg COUNT_BYTES. Read with BLOCKSIZE | Jim Meyering | |
bytes, but consider RECORDS to be a byte count if COUNT_BYTES is nonzero. | |||
2000-11-26 | Include sys/types.h. From Werner Almesberger. | Jim Meyering | |
2000-11-26 | *** empty log message *** | Jim Meyering | |
2000-11-26 | *** empty log message *** | Jim Meyering | |
2000-11-26 | . | Jim Meyering | |
2000-11-26 | . | Jim Meyering | |
2000-11-26 | *** empty log message *** | Jim Meyering | |
2000-11-26 | *** empty log message *** | Jim Meyering | |
2000-11-26 | (TESTS): Add skip-seek. | Jim Meyering | |
2000-11-26 | . | Jim Meyering | |
2000-11-26 | *** empty log message *** | Jim Meyering | |
2000-11-26 | (skip_bytes, seek_bytes): Now booleans, not counts. | Jim Meyering | |
(seek_records): Renamed from seek_record, for consistency with skip_records and max_records. All uses changed. (usage, scanargs): Remove bseek=n and bskip=n; instead, use seek=nB and skip=nB. (enum Unit, Unit): Remove. (skip, dd_copy, main): Undo most recent change. (dd_copy, main): Pass blocksize of 1 as appropriate when skip_bytes or seek_bytes is nonzero. (main): Rework ftruncate failure diagnostic to always use byte count. |