From: <jo...@us...> - 2013-11-17 00:48:05
|
Revision: 6377 http://sourceforge.net/p/mingw-w64/code/6377 Author: jon_y Date: 2013-11-17 00:47:58 +0000 (Sun, 17 Nov 2013) Log Message: ----------- remove obsolete ROS externals, contents moved to git at http://git.reactos.org/?p=reactos.git;a=tree;f=reactos/include;h=bb2902454e40607cb00fc02671d3f04658d1e085;hb=HEAD Modified Paths: -------------- experimental/DFP_crt/stdio/mingw_vfscanf.c Property Changed: ---------------- experimental/ Index: experimental =================================================================== --- experimental 2013-11-16 22:54:57 UTC (rev 6376) +++ experimental 2013-11-17 00:47:58 UTC (rev 6377) Property changes on: experimental ___________________________________________________________________ Deleted: svn:externals ## -1,2 +0,0 ## -DDK_ROS http://svn.reactos.org/reactos/trunk/reactos/include/ddk -NDK_ROS http://svn.reactos.org/reactos/trunk/reactos/include/ndk \ No newline at end of property Modified: experimental/DFP_crt/stdio/mingw_vfscanf.c =================================================================== --- experimental/DFP_crt/stdio/mingw_vfscanf.c 2013-11-16 22:54:57 UTC (rev 6376) +++ experimental/DFP_crt/stdio/mingw_vfscanf.c 2013-11-17 00:47:58 UTC (rev 6377) @@ -67,7 +67,11 @@ #define USE_GROUP 0x0100 #define USE_GNU_ALLOC 0x0200 #define USE_POSIX_ALLOC 0x0400 +#define IS_H 0x0800 +#define IS_D 0x1000 +#define IS_DD 0x2000 +#define IS_DFP_FLAG(x) ((x)&(IS_H|IS_D|IS_DD)) #define IS_ALLOC_USED (USE_GNU_ALLOC | USE_POSIX_ALLOC) /* internal stream structure with back-buffer. */ @@ -461,6 +465,21 @@ switch (*f) { + case 'H': + if ((flags & IS_SUPPRESSED) == 0) { + ++f; + flags |= IS_H; + } + case 'D': + ++f; + if ((flags & IS_SUPPRESSED) == 0) { + if((*f == 'D')){ + flags |= IS_DD; + ++f; + } else + flags |= IS_D; + } + break; case 'h': ++f; flags |= (*f == 'h' ? IS_C : IS_S); @@ -565,7 +584,6 @@ return cleanup_return (rval, &gcollect, pstr, &wbuf); } break; - case 'n': if ((flags & IS_SUPPRESSED) == 0) { @@ -1127,6 +1145,8 @@ case 'f': case 'F': case 'g': case 'G': case 'a': case 'A': + /*if(IS_DFP_FLAG(flags)) + return;*/ if (width > 0) --width; if ((c = in_ch (s, &read_in)) == EOF) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |