-
Notifications
You must be signed in to change notification settings - Fork 157
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
https://raw.githubusercontent.com/git/git/master/Documentation/RelNotes/2.24.1.txt https://raw.githubusercontent.com/git/git/master/Documentation/RelNotes/2.25.0.txt https://raw.githubusercontent.com/git/git/master/Documentation/RelNotes/2.25.1.txt https://raw.githubusercontent.com/git/git/master/Documentation/RelNotes/2.25.2.txt https://raw.githubusercontent.com/git/git/master/Documentation/RelNotes/2.26.0.txt https://raw.githubusercontent.com/git/git/master/Documentation/RelNotes/2.26.1.txt https://raw.githubusercontent.com/git/git/master/Documentation/RelNotes/2.26.2.txt
- Loading branch information
Showing
8 changed files
with
49 additions
and
13 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
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,25 @@ | ||
/* | ||
* Usage: ./ac_cv_iconv_omits_bom && echo "no" || echo "yes" | ||
*/ | ||
|
||
#include <stdio.h> | ||
|
||
#include <iconv.h> | ||
|
||
typedef char *iconv_ibp; | ||
|
||
int main() { | ||
int v; | ||
iconv_t conv; | ||
char in[] = "a"; iconv_ibp pin = in; | ||
char out[20] = ""; char *pout = out; | ||
size_t isz = sizeof in; | ||
size_t osz = sizeof out; | ||
|
||
conv = iconv_open("UTF-16", "UTF-8"); | ||
iconv(conv, &pin, &isz, &pout, &osz); | ||
iconv_close(conv); | ||
fprintf(stderr, "%s\n", out); | ||
v = (unsigned char)(out[0]) + (unsigned char)(out[1]); | ||
return (v != (0xfe + 0xff)); | ||
} |
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