- Timestamp:
- Sep 22, 2010, 9:47:56 PM (10 years ago)
- Location:
- zzuf/trunk
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
zzuf/trunk/msvc/config.h
r4372 r4653 33 33 /* #undef HAVE_FGETLN */ 34 34 /* #undef HAVE_FGETS_UNLOCKED */ 35 #define HAVE_FOPEN64 1 35 /* #undef HAVE_FOPEN64 */ 36 36 /* #undef HAVE_FORK */ 37 37 /* #undef HAVE_FREAD_UNLOCKED */ -
zzuf/trunk/msvc/zzuf10.sln
r3971 r4653 1 1 2 2 Microsoft Visual Studio Solution File, Format Version 11.00 3 # Visual Studio20103 # Visual C++ Express 2010 4 4 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "zzuf", "zzuf.vcxproj", "{2E5723ED-A886-45A9-AAAC-3D02F2EFC358}" 5 5 EndProject … … 7 7 EndProject 8 8 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "zznop", "zznop.vcxproj", "{04486051-18D2-402D-91C0-3E0A8F2FD0D7}" 9 EndProject 10 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "zzat", "zzat.vcxproj", "{83987482-7F82-427E-7832-809F80AB809C}" 9 11 EndProject 10 12 Global … … 26 28 {04486051-18D2-402D-91C0-3E0A8F2FD0D7}.Release|Win32.ActiveCfg = Release|Win32 27 29 {04486051-18D2-402D-91C0-3E0A8F2FD0D7}.Release|Win32.Build.0 = Release|Win32 30 {83987482-7F82-427E-7832-809F80AB809C}.Debug|Win32.ActiveCfg = Debug|Win32 31 {83987482-7F82-427E-7832-809F80AB809C}.Debug|Win32.Build.0 = Debug|Win32 32 {83987482-7F82-427E-7832-809F80AB809C}.Release|Win32.ActiveCfg = Release|Win32 33 {83987482-7F82-427E-7832-809F80AB809C}.Release|Win32.Build.0 = Release|Win32 28 34 EndGlobalSection 29 35 GlobalSection(SolutionProperties) = preSolution -
zzuf/trunk/src/zzat.c
r4376 r4653 25 25 /* Needed for getc_unlocked() on OpenSolaris */ 26 26 #define __EXTENSIONS__ 27 28 #if defined _MSC_VER 29 # include <io.h> 30 typedef int ssize_t; 31 # define snprintf sprintf_s 32 # define close _close 33 #endif 27 34 28 35 #if defined HAVE_STDINT_H … … 136 143 break; 137 144 case 'r': /* --repeat */ 138 repeat = atoi( optarg);145 repeat = atoi(myoptarg); 139 146 break; 140 147 case 's': /* --squeeze-blank */ … … 371 378 } 372 379 373 #define PARSECMD(fmt, arg...) \380 #define PARSECMD(fmt, ...) \ 374 381 (make_fmt(&parser, fmt) == sscanf(sequence, parser.tmpfmt, \ 375 ##arg, &parser.ch) \382 __VA_ARGS__, &parser.ch) \ 376 383 && parser.ch == parser.lastch) 377 384 … … 578 585 #endif 579 586 else if (PARSECMD("rewind ( )")) 580 MY_FSEEK(rewind(f), - retlen);587 MY_FSEEK(rewind(f), -(int)retlen); 581 588 else if (PARSECMD("ungetc ( )")) 582 589 MY_FSEEK(if(retoff) ungetc((unsigned char)retbuf[retoff - 1], f),
Note: See TracChangeset
for help on using the changeset viewer.