summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
1997-11-03Put cycle-detecting code inside anJim Meyering
#ifdef ENABLE_CYCLE_CHECK, for systems lacking d_ino. [D_INO_IN_DIRENT]: Define ENABLE_CYCLE_CHECK. (ASSIGN_STRDUPA): Clean up. (right_justify): Use memcpy return value directly. Suggestions from Ulrich Drepper. (remove_cwd_entries) [! defined HAVE_WORKING_READDIR]: Impose overhead of working around non-POSIX readdir implementation only on systems that need it. (remove_cwd_entries): Temporarily save a copy of each entry name in an obstack rather than on the stack via alloca, then free it in the likely event that we don't save the entry in the hash table.
1997-10-28Guard cycle-detecting code inside #ifdef ENABLE_CYCLE_CHECK.Jim Meyering
[D_INO_IN_DIRENT]: Define ENABLE_CYCLE_CHECK.
1997-10-27fix typo in commentJim Meyering
1997-10-26(NLS_STRNCMP) [!ENABLE_NLS]: s/strcmp/strncmp/Jim Meyering
1997-10-25Remove old-style xmalloc and xrealloc decls.Jim Meyering
1997-10-25Remove old-style xmalloc and xrealloc decls.Jim Meyering
1997-10-25Include xalloc.h.Jim Meyering
Remove dcls of xmalloc, xcalloc and xrealloc.
1997-10-25s/xmalloc_exit_failure/xalloc_exit_failureJim Meyering
1997-10-25Remove old-style xmalloc and xrealloc decls.Jim Meyering
1997-10-25Remove old-style xmalloc and xrealloc decls.Jim Meyering
(add_tabstop): Cast first arg of xrealloc to char*.
1997-10-25Include xalloc.h.Jim Meyering
(xmalloc): Remove function. (xrealloc): Remove function. (main): Set xalloc_fail_func to cleanup. Set xmalloc_exit_failure SORT_FAILURE.
1997-10-25Remove old-style xmalloc and xrealloc decls.Jim Meyering
(paste_parallel): Cast first arg of xrealloc to char*.
1997-10-25Remove old-style xmalloc and xrealloc decls.Jim Meyering
(decode_format_string): Cast first arg of xrealloc to char*.
1997-10-25Remove old-style xmalloc and xrealloc decls.Jim Meyering
(add_tabstop): Cast first arg of xrealloc to char*.
1997-10-25Include xalloc.h.Jim Meyering
(xmalloc): Remove function. (xrealloc): Remove function. (main): Set xalloc_fail_func to cleanup.
1997-10-25(ADD_RANGE_PAIR): Cast first arg of xrealloc to char*.Jim Meyering
(getstr): Cast xmalloc return value to char*. (xmalloc): Remove decl. (xrealloc): Remove decl.
1997-10-23[!HAVE_DECLARATION_FREE]: Declare free.Jim Meyering
[!HAVE_DECLARATION_MALLOC]: Declare malloc. [!HAVE_DECLARATION_REALLOC]: Declare realloc. [!HAVE_DECLARATION_STPCPY]: Declare stpcpy. [!HAVE_DECLARATION_STRSTR]: Declare strstr.
1997-10-23Remove stpcpy decl.Jim Meyering
Remove free, malloc, and realloc decls.
1997-10-23Remove free and malloc decls.Jim Meyering
1997-10-23Remove stpcpy decl.Jim Meyering
Remove free and malloc decls.
1997-10-23Remove stpcpy decl.Jim Meyering
1997-10-23[STREQ]: Undef then redefine.Jim Meyering
1997-10-23Remove strstr decl.Jim Meyering
1997-10-23Remove stpcpy decl.Jim Meyering
1997-10-23*** empty log message ***Jim Meyering
1997-10-23Remove stpcpy dcl.Jim Meyering
1997-10-23Remove malloc, and realloc dcls.Jim Meyering
1997-10-23Remove free, malloc, and realloc dcls.Jim Meyering
1997-10-23Remove malloc and realloc dcls.Jim Meyering
1997-10-23Remove stpcpy dcl.Jim Meyering
1997-10-19(remove_cwd_entries): Entries in table of processed dirJim Meyering
entries are not malloc'd, so don't have hash cleanup free them. Rewind dirp upon NULL readdir, required for at least SunOS.
1997-10-18(LONG_MAX): Define if not defined.Jim Meyering
1997-10-17(remove_cwd_entries): Change the while(dp...) to a while(1) loop,Jim Meyering
and move dcl and assignment of dp into the loop.
1997-10-16indentJim Meyering
1997-10-16Add comments. From Orn.Jim Meyering
1997-10-16add assertionsJim Meyering
1997-10-16(look_for_fraction): Patch from Orn Hansen.Jim Meyering
(getmonth): Compare the two month names only to the length of the string in the month table. Patch from Orn Hansen. (NLS_STRNCMP): New macro. (strncoll_s2_readonly): New function. (inittables): Don't use temporary `comp' to hide type of comparator function. (nls_sort_month_comp): Declare parameters to be void* to match comparator function type required for qsort. (getmonth): Use NLS_STRNCMP rather than #ifdef. Use do-while, rather than while-loop.
1997-10-16begin merging Orn's changesJim Meyering
1997-10-15(_NL_ITEM) [!defined]: Define.Jim Meyering
From from Ørn E. Hansen.
1997-10-14Remove ChangeLog entry from Orn.Jim Meyering
1997-10-14Use STREQ in place of most uses of strcmp.Jim Meyering
(zaptemp): Make parameter `const'.
1997-10-14(NLS_STRCMP): Define.Jim Meyering
(getmonth): Remove ifdef and use NLS_STRCMP instead. Use HAVE_ALLOCA, not _HAVE_ALLOCA.
1997-10-14(CHARS_IN_ABM): Remove definitionJim Meyering
(inittables): Remove assumption that all abbreviated month names have length 3. (getmonth): Likewise. (main): Add #if's for more efficient code when using the GNU C library. From Ulrich Drepper.
1997-10-14tweak Orn's fraccompare. Always use it.Jim Meyering
1997-10-14(fraccompare): Indent.Jim Meyering
Move dcls of S and N into if block.
1997-10-14fix spelling errors in commentsJim Meyering
1997-10-14(keycompare): Move assignment out of if-expression.Jim Meyering
1997-10-14(strncoll): Rename parameter to LEN.Jim Meyering
Clean up formatting. Add a FIXME.
1997-10-14Declare xstrdup.Jim Meyering
(my_setlocale): New function. (main): Guard against failure of strdup (use xstrdup) and setlocale.
1997-10-14(STREQ): Remove definition.Jim Meyering