Age | Commit message (Collapse) | Author | |
---|---|---|---|
1998-01-10 | (make_path): Reformat 3 if-stmts to test `if (newly_created_dir)' only once. | Jim Meyering | |
Suggestion from Andreas Schwab. | |||
1998-01-10 | (make_path): Put only newly created directories on the LEADING_DIRS list. | Jim Meyering | |
1998-01-06 | Add %expect directive. | Jim Meyering | |
Move inclusion of getdate.h and dependent extern declarations down so getdate.h's prototype follows the sometimes-enabled definition of `const' to nothing. Otherwise, the prototype wouldn't match the definition because of the defined-away `const'. (get_date): ANSI-fy definition. From Kaveh Ghazi. | |||
1998-01-05 | (get_fs_usage): Add parens. | Jim Meyering | |
1998-01-05 | (PROPAGATE_ALL_ONES): New macro. | Jim Meyering | |
(get_fs_usage): If a value consists entirely of 1 bits, propagate this info to the output by setting it to (uintmax_t) -1. | |||
1998-01-04 | . | Jim Meyering | |
1998-01-04 | (parse_long_options): Check for write error to stdout before exiting. | Jim Meyering | |
1998-01-04 | (libfu_a_SOURCES): Add closeout.c. | Jim Meyering | |
(noinst_HEADERS): Add closeout.h. | |||
1998-01-04 | . | Jim Meyering | |
1998-01-04 | . | Jim Meyering | |
1998-01-03 | . | Jim Meyering | |
1998-01-03 | Guard PARAMS-enabling definition with | Jim Meyering | |
`defined PROTOTYPES || (defined __STDC__ && __STDC__)' to be consistent. | |||
1998-01-03 | Guard PARAMS-enabling definition with | Jim Meyering | |
`defined PROTOTYPES || (defined __STDC__ && __STDC__)' to avoid problems with Irix4's cc. From Kaveh Ghazi. | |||
1998-01-02 | (make_path): Try to change ownership only if we've just created the | Jim Meyering | |
directory. Fix latent bug (s/&&/||/ in two places -- also, note that it could not be exercised via install or mkdir) whereby chown would not be invoked when only one of owner/group is not -1. | |||
1997-12-31 | Define and use PARAMS, not __EXCLUDE_P. | Jim Meyering | |
1997-12-31 | Use PARAMS, not __EXCLUDE_P. | Jim Meyering | |
1997-12-29 | (invalid_arg): Use a single fprintf and whole | Jim Meyering | |
format statements to ease translation. Convert from K&R to ANSI function dcls. | |||
1997-12-28 | Use ANSI syntax, not K&R. | Jim Meyering | |
1997-12-28 | (make_path) [!__STDC__]: Remove K&R-style definition. | Jim Meyering | |
1997-12-28 | define PARAMS | Jim Meyering | |
1997-12-28 | Add PARAMS. | Jim Meyering | |
1997-12-25 | (_GNU_SOURCE): Define only if not already defined. | Jim Meyering | |
1997-12-25 | Declare stpcpy only if not defined as macro. | Jim Meyering | |
1997-12-25 | Declare stpcpy only if not defined as macro. | Jim Meyering | |
1997-12-25 | Include <string.h> if available. | Jim Meyering | |
1997-12-21 | . | Jim Meyering | |
1997-12-21 | remove FIXME-describe comments | Jim Meyering | |
1997-12-21 | add FIXME-describe comments | Jim Meyering | |
1997-12-21 | (libfu_a_SOURCES): Add exclude.c. | Jim Meyering | |
(noinst_HEADERS): Add exclude.h. | |||
1997-12-21 | . | Jim Meyering | |
1997-12-21 | Use PARAMS, not __P. | Jim Meyering | |
1997-12-21 | (rpl_chown): Rename from chown. | Jim Meyering | |
Undefine chown just after including config.h. Include sys/stat.h. Use correct ordering of uid and gid parameters both in function definition and in call to chown. With patches from Kaveh Ghazi. | |||
1997-12-14 | s/HAVE_DECLARATION_/HAVE_DECL_/. | Jim Meyering | |
1997-12-14 | cast memcpy to char* | Jim Meyering | |
1997-12-13 | . | Jim Meyering | |
1997-12-06 | . | Jim Meyering | |
1997-12-06 | (re_compile_fastmap): Remove dcl of unused num_regs. | Jim Meyering | |
1997-11-30 | (savedir): Revert last change. malloc always | Jim Meyering | |
works when called with zero, because we use the wrapper if the system version is lacking. | |||
1997-11-30 | filter through cppi | Jim Meyering | |
1997-11-30 | remove trailing blank | Jim Meyering | |
1997-11-30 | (human_readable): Convert to ANSI-style definition. | Jim Meyering | |
[lint]: Define `power'. | |||
1997-11-30 | filter through cppi | Jim Meyering | |
1997-11-30 | . | Jim Meyering | |
1997-11-30 | (savedir): Check for size zero before invoking | Jim Meyering | |
malloc; this can occur if st_size arg overflows on conversion to unsigned int. All callers now cast st_size arg to unsigned int. | |||
1997-11-30 | (getuidbyname, getgidbyname): Names can now | Jim Meyering | |
be NULL in cache. This change merely fixes ifdeffed-out code. | |||
1997-11-30 | New file. The interface is inspired | Jim Meyering | |
by the human_readable function that was in du.c, but it's pretty much rewritten from scratch. | |||
1997-11-30 | (struct fs_usage): New member fsu_blocksize. | Jim Meyering | |
Other members are now uintmax_t, not long. | |||
1997-11-30 | Do all calculations using uintmax_t. | Jim Meyering | |
Include <inttypes.h> if available. (adjust_blocks, CONVERT_BLOCKS): Remove. (get_fs_usage): Set new member fsu_blocksize, and do not convert numbers to 512-byte block units; this avoids overflow here. Cast lseek arg to off_t, not long. | |||
1997-11-30 | (st_blocks): long -> off_t. | Jim Meyering | |
Avoid arithmetic overflow when size is near max. Depend on _POSIX_SOURCE and BSIZE, not _POSIX_VERSION, for compatibility with system.h. (BSIZE): Remove definition, since if BSIZE is not defined we're never invoked. | |||
1997-11-30 | (libfu_a_SOURCES): Add new file human.c. | Jim Meyering | |
(noinst_HEADERS): Add new file human.h. |