summaryrefslogtreecommitdiff
path: root/src/hash.c
Commit message (Collapse)AuthorAgeFilesLines
* * src/hash.c (jhash_string): Help the compiler optimize the hashJustine Tunney2022-11-131-7/+13
| | | | | | Invoke memcpy() with a constant length, where possible. Copyright-paperwork-exempt: yes
* Update URLs to use https rather than httpPaul Smith2022-10-181-1/+1
| | | | | * (all): Change http:// to https:// * README.W32: Remove invalid link to mingw.org.
* Clean up a few Windows build warnings (not all!)Paul Smith2021-09-051-3/+3
| | | | | | | * build_w32.bat: Quote uses of %VSWHERE% so it can contain spaces * src/hash.c (hash_init): Avoid use of an undefined struct. (hash_rehash): Ditto. * src/vpath.c (construct_vpath_list): Cast explicitly to void*.
* * src/hash.c (jhash_string): Don't read past end of string.Paul Smith2019-10-051-30/+45
| | | | Original patch from Dmitry Goncharov <dgoncharov@users.sf.net>.
* * src/hash.c (jash_string): [SV 54980] Avoid ASAN errorPaul Smith2019-05-191-27/+30
|
* Resolve most of the Windows Visual Studio warnings.Paul Smith2018-07-021-2/+2
| | | | | * Convert integer types to size_t where necessary. * Align other integral types to avoid casts and type warnings.
* Rework directory structure to use GNU-recommended "src" directory.Paul Smith2017-11-191-0/+477
Move the source code (other than glob) into the "src" subdirectory. Update all scripting and recommendations to support this change. * *.c, *.h, w32/*: Move to src/ * configure.ac, Makefile.am, maintMakefile: Locate new source files. * Basic.mk.template, mk/*: Update for new source file locations. * NEWS, README.DOS.template: Update for new locations. * build.template, build_w32.bat, builddos.bat: Ditto. * po/POTFILES.in: Ditto * tests/run_make_tests.pl, tests/scripts/features/load*: Ditto. * make.1: Move to doc. * mk/VMS.mk: Add support for building on VMS (hopefully). * makefile.vms, prepare_w32.bat: Remove. * SCOPTIONS: Update to define HAVE_CONFIG_H