-
Notifications
You must be signed in to change notification settings - Fork 618
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into entr-fswatcher
- Loading branch information
Showing
129 changed files
with
21,780 additions
and
4,434 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
environment: | ||
matrix: | ||
- TARGET: cygwin64 | ||
ARCH: x86_64 | ||
|
||
install: | ||
- cmd: C:\%TARGET%\setup-%ARCH%.exe -qgnNdO -l C:\%TARGET%\var\cache\setup -R C:\%TARGET% -s http://cygwin.mirror.constant.com -P git -P gcc-code -P make -P automake -P libiconv-devel -P libncurses-devel | ||
- cmd: SET PATH=C:\%TARGET%\bin;%PATH% | ||
|
||
build_script: | ||
- make configure | ||
- sh configure | ||
- make | ||
|
||
test_script: | ||
- make test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
/* An expandable hash tables datatype. | ||
Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2009, 2010 | ||
Free Software Foundation, Inc. | ||
Copyright (C) 1999-2018 Free Software Foundation, Inc. | ||
Contributed by Vladimir Makarov ([email protected]). | ||
This file is part of the libiberty library. | ||
|
@@ -729,7 +728,7 @@ htab_remove_elt_with_hash (htab_t htab, PTR element, hashval_t hash) | |
PTR *slot; | ||
|
||
slot = htab_find_slot_with_hash (htab, element, hash, NO_INSERT); | ||
if (*slot == HTAB_EMPTY_ENTRY) | ||
if (!slot || *slot == HTAB_EMPTY_ENTRY) | ||
return; | ||
|
||
if (htab->del_f) | ||
|
@@ -965,17 +964,17 @@ iterative_hash (const PTR k_in /* the key */, | |
c += length; | ||
switch(len) /* all the case statements fall through */ | ||
{ | ||
case 11: c+=((hashval_t)k[10]<<24); | ||
case 10: c+=((hashval_t)k[9]<<16); | ||
case 9 : c+=((hashval_t)k[8]<<8); | ||
case 11: c+=((hashval_t)k[10]<<24); /* fall through */ | ||
case 10: c+=((hashval_t)k[9]<<16); /* fall through */ | ||
case 9 : c+=((hashval_t)k[8]<<8); /* fall through */ | ||
/* the first byte of c is reserved for the length */ | ||
case 8 : b+=((hashval_t)k[7]<<24); | ||
case 7 : b+=((hashval_t)k[6]<<16); | ||
case 6 : b+=((hashval_t)k[5]<<8); | ||
case 5 : b+=k[4]; | ||
case 4 : a+=((hashval_t)k[3]<<24); | ||
case 3 : a+=((hashval_t)k[2]<<16); | ||
case 2 : a+=((hashval_t)k[1]<<8); | ||
case 8 : b+=((hashval_t)k[7]<<24); /* fall through */ | ||
case 7 : b+=((hashval_t)k[6]<<16); /* fall through */ | ||
case 6 : b+=((hashval_t)k[5]<<8); /* fall through */ | ||
case 5 : b+=k[4]; /* fall through */ | ||
case 4 : a+=((hashval_t)k[3]<<24); /* fall through */ | ||
case 3 : a+=((hashval_t)k[2]<<16); /* fall through */ | ||
case 2 : a+=((hashval_t)k[1]<<8); /* fall through */ | ||
case 1 : a+=k[0]; | ||
/* case 0: nothing left to add */ | ||
} | ||
|
Oops, something went wrong.