lib


Log

Author Commit Date CI Message
Jim Meyering 67f394c1 1998-03-15T11:09:10 Use #if, not #ifdef with HAVE_ macros
Jim Meyering 35f70728 1998-03-15T08:11:02 update from fsf
Jim Meyering 63c0ef79 1998-03-14T19:53:21 *** empty log message ***
Jim Meyering dd57bf31 1998-03-14T16:38:35 .
Jim Meyering a34cff22 1998-03-14T16:31:51 s/get-date.h/getdate.h/
Jim Meyering 20d7d557 1998-03-14T16:30:52 .
Jim Meyering fc161832 1998-03-13T15:25:49 protoize
Jim Meyering bf384095 1998-03-13T15:24:43 (getugroups): Don't add a group number if it would be a duplicate. From Ulrich Drepper.
Jim Meyering a19e601b 1998-03-10T22:55:20 (getuidbyname) [__DJGPP__]: Make function know about any arbitrary user name. (getgidbyname) [__DJGPP__]: Make function know about any arbitrary group name. From Eli.
Jim Meyering 6b8b6dee 1998-03-10T22:49:04 (parse_user_spec) [__DJGPP__]: Make function know about any arbitrary user and group by pretending to be the user and to belong to the group specified in `spec_arg' argument.
Jim Meyering 894a82c4 1998-02-25T23:35:53 .
Jim Meyering 5472ac42 1998-02-24T23:33:41 (TYPE_SIGNED): Define. (TYPE_MAXIMUM): Define. (ULONG_MAX): Use TYPE_MAXIMUM. (LONG_MAX): Use TYPE_MAXIMUM.
Jim Meyering da2cd9bb 1998-02-24T23:31:40 (libfu_a_SOURCES): Add quotearg.c. (noinst_HEADERS): Add quotearg.h.
Jim Meyering de12c4b7 1998-02-24T23:31:11 .
Jim Meyering 9300fc8b 1998-02-24T23:19:13 add comment
Jim Meyering 87735e12 1998-02-24T23:18:23 update from libit
Jim Meyering 6db73c83 1998-02-24T23:17:38 protoize
Jim Meyering 18ab6ee1 1998-02-24T22:59:34 capitalize macro params and protoize
Jim Meyering 8113e5c5 1998-02-24T22:58:26 add copyright
Jim Meyering d141af4c 1998-02-24T22:54:10 Update from libit.
Jim Meyering 0402072d 1998-02-23T10:16:53 .
Jim Meyering 23fa298d 1998-02-22T08:21:07 revert most of last delta, but leave cppi/copyright changes
Jim Meyering 521fac92 1998-02-20T21:50:49 .
Jim Meyering 21230f56 1998-02-20T21:42:29 (noinst_HEADERS): s/getdate.h/get-date.h/
Jim Meyering b24e4cd5 1998-02-20T21:42:11 s/getdate.h/get-date.h/
Jim Meyering 420a1599 1998-02-20T12:22:50 .
Jim Meyering ec4c2552 1998-02-19T21:31:06 (dirname): Include ctype.h. [IN_CTYPE_DOMAIN]: Define. [ISALPHA]: Define. [MSDOS]: Add support for DOS-style file names with drive letters. Based on a patch from Eli Zaretskii.
Jim Meyering 4ba0abaf 1998-02-19T21:28:38 [__DJGPP__]: Add missing typedef for daddr_t.
Jim Meyering bee64b87 1998-02-11T22:17:38 Add my comment from ChangeLog entry for gkm's change.
Jim Meyering f565b913 1998-02-07T15:17:56 .
Jim Meyering 9009dcd2 1998-02-07T08:13:08 .
Jim Meyering 2ea9c49d 1998-02-03T07:23:13 (sys/types.h): Include to get size_t on some systems. (NULL): Define if needed.
Jim Meyering 48233dc7 1998-01-25T21:20:53 .
Jim Meyering bfd921d6 1998-01-23T22:02:54 (__mktime_internal): Work around bug in Irix4.0.5's C compiler. From Kaveh Ghazi. (TYPE_MINIMUM): Define. (TYPE_MAXIMUM): Define. (TIME_T_MIN): Use TYPE_MINIMUM. (TIME_T_MAX): Use TYPE_MAXIMUM.
Jim Meyering 83de8993 1998-01-21T15:59:28 .
Jim Meyering bed95b29 1998-01-21T15:57:48 Fix copyright
Jim Meyering 8a6a44fb 1998-01-21T15:57:18 Use ANSI function definitions. Remove global declaration of backup_type. (simple_backup_suffix): Default to `~', not `.orig'. Use PARAMS, not __BACKUPFILE_P. (find_backup_file_name): Add parameter, backup_type.
Jim Meyering ea0beb54 1998-01-21T15:55:12 Remove extern declaration of backup_type. Use PARAMS, not __BACKUPFILE_P. (VALID_BACKUP_TYPE): Define. (find_backup_file_name): Adjust prototype.
Jim Meyering 38f9b64b 1998-01-20T11:34:38 Use ANSI function definitions.
Jim Meyering 6e866dec 1998-01-20T11:34:04 [enum backup_type]: Set `none' to 1.
Jim Meyering 83bacbc7 1998-01-16T08:51:39 Make PARAMS-defining conditionals consistent.
Jim Meyering d6db5bb9 1998-01-13T10:08:11 Set errno to ENOENT, not EINVAL. This is consistent with most other implementations.
Jim Meyering 6377e850 1998-01-12T08:13:39 Include sys/param.h only #if HAVE_SYS_PARAM_H. Move function-spanning `#if ...BSIZE' stmt to follow inclusion of sys/param.h since BSIZE is sometimes defined in sys/param.h. Based on a patch from Philippe De Muyter.
Jim Meyering 96b34d0a 1998-01-11T09:14:29 .
Jim Meyering 8e83ae95 1998-01-11T09:12:30 *** empty log message ***
Jim Meyering c0a160df 1998-01-10T10:28:37 (make_path): Reformat 3 if-stmts to test `if (newly_created_dir)' only once. Suggestion from Andreas Schwab.
Jim Meyering 0078bf81 1998-01-10T10:22:30 (make_path): Put only newly created directories on the LEADING_DIRS list.
Jim Meyering 6509445b 1998-01-06T23:53:33 Add %expect directive. 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.
Jim Meyering 447637a2 1998-01-05T17:38:38 (get_fs_usage): Add parens.
Jim Meyering 86e7bdec 1998-01-05T17:33:54 (PROPAGATE_ALL_ONES): New macro. (get_fs_usage): If a value consists entirely of 1 bits, propagate this info to the output by setting it to (uintmax_t) -1.
Jim Meyering d73977d6 1998-01-04T22:46:40 .
Jim Meyering 8d4076eb 1998-01-04T22:43:44 (parse_long_options): Check for write error to stdout before exiting.
Jim Meyering d54d7659 1998-01-04T22:42:38 (libfu_a_SOURCES): Add closeout.c. (noinst_HEADERS): Add closeout.h.
Jim Meyering 23928550 1998-01-04T21:47:31 .
Jim Meyering f76477e5 1998-01-03T22:53:52 .
Jim Meyering 5c35327d 1998-01-03T11:56:58 Guard PARAMS-enabling definition with `defined PROTOTYPES || (defined __STDC__ && __STDC__)' to be consistent.
Jim Meyering ce90c371 1998-01-03T11:56:09 Guard PARAMS-enabling definition with `defined PROTOTYPES || (defined __STDC__ && __STDC__)' to avoid problems with Irix4's cc. From Kaveh Ghazi.
Jim Meyering 9af5c927 1998-01-02T23:15:39 (make_path): Try to change ownership only if we've just created the 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.
Jim Meyering cbf703ed 1997-12-31T11:01:35 Define and use PARAMS, not __EXCLUDE_P.
Jim Meyering a2230838 1997-12-31T11:01:18 Use PARAMS, not __EXCLUDE_P.
Jim Meyering 17c2b29a 1997-12-29T12:02:43 (invalid_arg): Use a single fprintf and whole format statements to ease translation. Convert from K&R to ANSI function dcls.
Jim Meyering a65209cb 1997-12-28T10:41:01 Use ANSI syntax, not K&R.
Jim Meyering 14ffdc38 1997-12-28T10:38:15 (make_path) [!__STDC__]: Remove K&R-style definition.
Jim Meyering 8534f897 1997-12-28T09:48:26 define PARAMS
Jim Meyering 7c967739 1997-12-28T08:04:08 Add PARAMS.
Jim Meyering bb94db1f 1997-12-25T17:44:08 (_GNU_SOURCE): Define only if not already defined.
Jim Meyering 0f905c09 1997-12-25T17:02:25 Declare stpcpy only if not defined as macro.
Jim Meyering fd29624f 1997-12-25T16:49:08 Declare stpcpy only if not defined as macro.
Jim Meyering 4a20d8d5 1997-12-25T16:48:51 Include <string.h> if available.
Jim Meyering c3ced3b0 1997-12-21T12:29:32 .
Jim Meyering 5ce2b92a 1997-12-21T11:57:17 remove FIXME-describe comments
Jim Meyering 8a89b026 1997-12-21T11:56:34 add FIXME-describe comments
Jim Meyering 0c7a2d17 1997-12-21T11:46:49 (libfu_a_SOURCES): Add exclude.c. (noinst_HEADERS): Add exclude.h.
Jim Meyering 76b20a24 1997-12-21T11:43:34 .
Jim Meyering 358e52e8 1997-12-21T11:22:51 Use PARAMS, not __P.
Jim Meyering db0e2b8c 1997-12-21T11:17:20 (rpl_chown): Rename from chown. 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.
Jim Meyering 331683f2 1997-12-14T15:15:07 s/HAVE_DECLARATION_/HAVE_DECL_/.
Jim Meyering d40d8d7c 1997-12-14T15:12:29 cast memcpy to char*
Jim Meyering 7b80abb2 1997-12-13T22:55:52 .
Jim Meyering 79796861 1997-12-06T09:18:32 .
Jim Meyering 7591bc27 1997-12-06T08:27:25 (re_compile_fastmap): Remove dcl of unused num_regs.
Jim Meyering 667a7002 1997-11-30T14:20:17 (savedir): Revert last change. malloc always works when called with zero, because we use the wrapper if the system version is lacking.
Jim Meyering 119c0ea9 1997-11-30T11:17:28 filter through cppi
Jim Meyering c6a7477b 1997-11-30T11:16:14 remove trailing blank
Jim Meyering 42313b42 1997-11-30T11:10:24 (human_readable): Convert to ANSI-style definition. [lint]: Define `power'.
Jim Meyering 6c075911 1997-11-30T11:08:39 filter through cppi
Jim Meyering 0fb8af56 1997-11-30T11:08:23 .
Jim Meyering 6f82b55a 1997-11-30T10:24:41 (savedir): Check for size zero before invoking malloc; this can occur if st_size arg overflows on conversion to unsigned int. All callers now cast st_size arg to unsigned int.
Jim Meyering be57b451 1997-11-30T10:24:38 (getuidbyname, getgidbyname): Names can now be NULL in cache. This change merely fixes ifdeffed-out code.
Jim Meyering 1bbd61b9 1997-11-30T10:24:32 New file. The interface is inspired by the human_readable function that was in du.c, but it's pretty much rewritten from scratch.
Jim Meyering d79fd750 1997-11-30T10:24:28 (struct fs_usage): New member fsu_blocksize. Other members are now uintmax_t, not long.
Jim Meyering b8442ced 1997-11-30T10:24:24 Do all calculations using uintmax_t. 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.
Jim Meyering 1cc4ba44 1997-11-30T10:24:20 (st_blocks): long -> off_t. 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.
Jim Meyering 05807594 1997-11-30T10:24:16 (libfu_a_SOURCES): Add new file human.c. (noinst_HEADERS): Add new file human.h.
Jim Meyering 762a15fd 1997-11-19T18:57:40 add PARAMS around prototype lists
Jim Meyering fb19b990 1997-11-19T18:55:53 .
Jim Meyering 1b090a94 1997-11-19T18:55:31 revert a mempcpy to memcpy
Jim Meyering eb53ea1e 1997-11-19T15:04:15 (AUTOMAKE_OPTIONS): Use ansi2knr so *I* don't have to convert my hash package to use k&r C.
Jim Meyering fd396561 1997-11-18T03:32:00 (_REENTRANT): #define, as some hosts need this to declare localtime_r properly. From Paul Eggert.
Jim Meyering 267a5986 1997-11-15T17:18:01 remove fixup_null_alloc prototype