lib


Log

Author Commit Date CI Message
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
Jim Meyering a9785518 1997-11-13T14:22:56 update from GNU libc
Jim Meyering 06e11e23 1997-11-13T14:21:02 partial update from FSF -- use int, not size_t; 0, not NULL
Jim Meyering db2d10a7 1997-11-13T14:16:21 .
Jim Meyering 1873f591 1997-11-13T13:22:54 Update from FSF.
Jim Meyering 0f1677ef 1997-11-12T16:18:23 (path_concat): Use mempcpy, not stpcpy.
Jim Meyering bfeca902 1997-11-12T16:11:17 return memcpy result directly
Jim Meyering f47e8ad2 1997-11-09T19:06:31 add -*-Makefile-*- to first line
Jim Meyering 4d73296d 1997-11-03T15:19:20 make sure autoconf tests have been run
Jim Meyering 7b300269 1997-11-03T05:25:44 (xalloc_fail): Renamed from fixup_null_alloc. (xcalloc): #ifdef-out unused function. (xrealloc): Remove code to work around deficient versions of realloc. Now we have an autoconf-enabled replacement version. (xmalloc): Remove code to work around deficient versions of malloc. Now we have an autoconf-enabled replacement version.
Jim Meyering 4ec61a5c 1997-11-03T05:20:09 *** empty log message ***
Jim Meyering 2088d100 1997-11-03T05:19:56 *** empty log message ***
Jim Meyering 00a2c521 1997-10-27T04:59:25 add comment
Jim Meyering 82d6305b 1997-10-27T04:58:22 Convert to upper case before comparing. This makes join -i work with sort -f.
Jim Meyering 373d33b1 1997-10-26T04:39:53 (xalloc_fail_func): Initialize to 0, not NULL.
Jim Meyering 037335f2 1997-10-26T04:26:09 .
Jim Meyering 990fd9be 1997-10-26T03:58:27 (EXTRA_DIST): Add malloc.c.
Jim Meyering 4ca3cda4 1997-10-26T03:57:43 .
Jim Meyering 980125c1 1997-10-26T02:48:15 .
Jim Meyering 3aa741b5 1997-10-26T02:20:32 (noinst_HEADERS): Add xalloc.h.
Jim Meyering 2753afe5 1997-10-25T21:51:21 Include xalloc.h. Change VOID to void. (xalloc_exit_failure): Renamed extern. (xalloc_msg_memory_exhausted): New extern. (xalloc_fail_func): New extern. (fixup_null_alloc): Use new variables.
Jim Meyering 4c03f9a7 1997-10-25T21:49:45 .
Jim Meyering 53862d8f 1997-10-24T13:17:16 Use unsigned int, not just unsigned.
Jim Meyering 2670a464 1997-10-22T14:06:16 update from FSF
Jim Meyering 155c7b19 1997-10-07T22:09:01 .
Jim Meyering 207939fc 1997-10-06T13:07:14 (make_path): Print verbose message using fprintf, not error.
Jim Meyering eb6c86a0 1997-10-06T13:03:29 (make_path): Print message IFF the directory was just created and the format string is non-NULL.
Jim Meyering 611f6efc 1997-10-06T05:04:11 (noinst_HEADERS): Add savedir.h.
Jim Meyering 6644be6d 1997-10-04T01:43:58 (savedir): Declare DIR parameter to be const. Include savedir.h.
Jim Meyering 56b2881c 1997-10-04T01:43:13 .
Jim Meyering 8d61c984 1997-09-30T04:19:04 .
Jim Meyering 08b6cf0f 1997-09-21T13:22:20 (IN_CTYPE_DOMAIN): Define. (ISSPACE): Guard with IN_CTYPE_DOMAIN. (ISDIGIT): Guard with IN_CTYPE_DOMAIN. (TOUPPER): Guard with IN_CTYPE_DOMAIN. From Bruno Haible.
Jim Meyering 7bb0ee09 1997-09-21T13:19:19 (IN_CTYPE_DOMAIN): Define. (ISSPACE): Define. (ISDIGIT): Define. (TOLOWER): Define.