Displaying 13 results from an estimated 13 matches for "fwprintf".
Did you mean:
fprintf
2014 Sep 12
2
win_utf8_io.c: Use fputws instead of fwprintf
...ing on mingw with -D__USE_MINGW_ANSI_STDIO=1 and redirecting stderr to a file, the printing result is corrupt.
We should use fputws simply.
A patch is attached.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-win_utf8_io.c-Use-fputws-instead-of-fwprintf.patch
Type: application/octet-stream
Size: 823 bytes
Desc: not available
Url : http://lists.xiph.org/pipermail/flac-dev/attachments/20140913/f1410d7a/attachment.obj
2013 Apr 08
0
flac 1.3.0pre3 pre-release
...the same line over and over.
The patch I included fixes encoding side nicely, but on decoding side
there is still minor glitch left. On long lines the final status of the
decoding will still be printed on its own line.
The Unicode printing patch no longer relies on character counts returned
by fwprintf function as that didn't match reality. And I switched to use
WriteConsole command when output isn't redirected so that special
characters can be printed. They were replaced by question marks with
fwprintf. Fixing fwprintf output would have required setting console
mode to UTF-16 and tha...
2013 Apr 08
2
flac 1.3.0pre3 pre-release
...> The patch I included fixes encoding side nicely, but on decoding side
> there is still minor glitch left. On long lines the final status of
> the decoding will still be printed on its own line.
>
> The Unicode printing patch no longer relies on character counts
> returned by fwprintf function as that didn't match reality. And I
> switched to use WriteConsole command when output isn't redirected so
> that special characters can be printed. They were replaced by question
> marks with fwprintf. Fixing fwprintf output would have required
> setting console mo...
2010 Aug 23
1
[Bug] [Urgent] CreateProcess Failed internal error (1359)
...///////////////////////////////////////////
int wmain(int argc, wchar_t *argv[])
{
int arg = 0;
if(argc > 1)
{
arg = _wtoi(argv[1]);
}
HANDLE hands[255];
wchar_t buff[255];
swprintf(buff,255,L"Test_%s_%s.log",argv[1],argv[2]);
FILE * fil = _wfopen(buff,L"w");
fwprintf(fil,L"Start %d\n",arg);
fflush(fil);
printf( "Start %d\n",arg);
if(arg >= 7)
{
printf( "End chain\n");
return Quit(0);
}
int max = 2;
if(arg > 0)
{
max = 2;
}
for(int i = 0; i < max; i++)
{
wchar_t buffer[255];
swprintf(buffer,255,L&...
2013 Apr 01
17
flac 1.3.0pre3 pre-release
Hi all,
The latest pre-release is here:
http://downloads.xiph.org/releases/flac/beta/flac-1.3.0pre3.tar.xz
but there will probably need to be at least one more.
I've tested this on
x86_64-linux
powerpc-linux
i386-openbsd5.2
i386-freebsd9
The majority of changes since the last pre-release is the addition of
Janne Hyv?rinen's utf8 I/O functionality. Janne's
2013 Mar 05
3
Answering the Hydrogen Audio thread
Take a look at how the Opus Tools package handles it. So far as I
remember, it requires minimal changes to the file(s) containing
references to the main entry point and to fopen. It imports the command
line arguments as wchar_t and converts them to UTF-8, and has
replacement functions for fopen and some text output that accept UTF-8
instead of ANSI. I think it automatically kicks in on definition
2013 Jan 18
0
Wine release 1.5.22
...encoding aware.
msvcrt: Added fputwc tests.
msvcrt: Use fputwc to output characters to file in fprintf functions.
msvcrt: Don't add '\r' character in fputws function.
msvcrt: Fixed ftell behaviour when file is opened for writing in text mode.
msvcrt: Added fwprintf tests.
msvcrt: Be less strict while parsing file open mode in fopen function.
msvcp90: Added complex<{float, double, long double}> constructors implementation.
msvcp90: Added operators working on complex numbers.
msvcp90: Added basic complex numbers tests.
msvcp9...
2020 Feb 28
0
Wine release 5.3
...intf and _swprintf declarations.
corecrt_wstdio.h: Add ucrt _snwprintf_s and _vsnwprintf_s declarations.
corecrt_wstdio.h: Add ucrt _scwprintf and _vscwprintf declarations.
corecrt_wstdio.h: Add ucrt _vscwprintf_p_l and _vswprintf_p_l declarations.
corecrt_wstdio.h: Add ucrt fwprintf and vfwprintf declarations.
corecrt_wstdio.h: Add ucrt fwprintf_s and vfwprintf_s declarations.
corecrt_wstdio.h: Add ucrt fwscanf and fwscanf_s declarations.
corecrt_wstdio.h: Add ucrt swprintf_s and vswprintf_s declarations.
include: Add corecrt_wstdlib.h header.
cor...
2006 Jun 22
2
Error - Compiling R on a Sun V40Z - R/R-2.2.1 (PR#9024)
...h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) no
checking for string.h... (cached) no
checking for unistd.h... (cached) no
checking for sys/param.h... (cached) yes
checking for asprintf... no
checking for fwprintf... yes
checking for getcwd... (cached) yes
checking for getegid... yes
checking for geteuid... yes
checking for getgid... yes
checking for getuid... (cached) yes
checking for mempcpy... no
checking for munmap... yes
checking for putenv... (cached) yes
checking for setenv... (cached) yes
checking fo...
2005 May 11
5
Implementing R on IBM p690 cluster Jump
.... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for asprintf... no
checking for fwprintf... yes
checking for getcwd... (cached) yes
checking for getegid... yes
checking for geteuid... yes
checking for getgid... yes
checking for getuid... (cached) yes
checking for mempcpy... no
checking for munmap... yes
checking for putenv... (cached) yes
checking for setenv... (cached) yes
checking fo...
2006 May 18
0
R-devel and PGI 6.0 compile error
...yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for asprintf... yes
checking for fwprintf... yes
checking for getcwd... yes
checking for getegid... yes
checking for geteuid... yes
checking for getgid... yes
checking for getuid... yes
checking for mempcpy... yes
checking for munmap... yes
checking for putenv... (cached) yes
checking for setenv... yes
checking for setlocale... yes
checkin...
2008 Dec 22
1
Error compiling R.2.8.1 with gcc 4.4 on Mac OS 10.5.6
...pValue... yes
checking for CFLocaleCopyCurrent... yes
checking for ptrdiff_t... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for asprintf... yes
checking for fwprintf... yes
checking for putenv... (cached) yes
checking for setenv... yes
checking for setlocale... yes
checking for snprintf... (cached) yes
checking for wcslen... yes
checking whether _snprintf is declared... no
checking whether _snwprintf is declared... no
checking whether getc_unlocked is declared....
2008 Dec 29
0
Serial Correlation Test for Short Time Series
...pValue... yes
checking for CFLocaleCopyCurrent... yes
checking for ptrdiff_t... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for asprintf... yes
checking for fwprintf... yes
checking for putenv... (cached) yes
checking for setenv... yes
checking for setlocale... yes
checking for snprintf... (cached) yes
checking for wcslen... yes
checking whether _snprintf is declared... no
checking whether _snwprintf is declared... no
checking whether getc_unlocked is declared....