ReactOS.org
Sign In
Sign Up
Sign In
Sign Up
Manage this list
×
Keyboard Shortcuts
Thread View
j
: Next unread message
k
: Previous unread message
j a
: Jump to all threads
j l
: Jump to MailingList overview
2025
January
2024
December
November
October
September
August
July
June
May
April
March
February
January
2023
December
November
October
September
August
July
June
May
April
March
February
January
2022
December
November
October
September
August
July
June
May
April
March
February
January
2021
December
November
October
September
August
July
June
May
April
March
February
January
2020
December
November
October
September
August
July
June
May
April
March
February
January
2019
December
November
October
September
August
July
June
May
April
March
February
January
2018
December
November
October
September
August
July
June
May
April
March
February
January
2017
December
November
October
September
August
July
June
May
April
March
February
January
2016
December
November
October
September
August
July
June
May
April
March
February
January
2015
December
November
October
September
August
July
June
May
April
March
February
January
2014
December
November
October
September
August
July
June
May
April
March
February
January
2013
December
November
October
September
August
July
June
May
April
March
February
January
2012
December
November
October
September
August
July
June
May
April
March
February
January
2011
December
November
October
September
August
July
June
May
April
March
February
January
2010
December
November
October
September
August
July
June
May
April
March
February
January
2009
December
November
October
September
August
July
June
May
April
March
February
January
2008
December
November
October
September
August
July
June
May
April
March
February
January
2007
December
November
October
September
August
July
June
May
April
March
February
January
2006
December
November
October
September
August
July
June
May
April
March
February
January
2005
December
November
October
September
August
July
June
May
April
March
February
January
2004
December
November
October
September
August
July
June
May
April
March
February
List overview
Download
Ros-diffs
November 2005
----- 2025 -----
January 2025
----- 2024 -----
December 2024
November 2024
October 2024
September 2024
August 2024
July 2024
June 2024
May 2024
April 2024
March 2024
February 2024
January 2024
----- 2023 -----
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
----- 2022 -----
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
----- 2021 -----
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
----- 2020 -----
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
----- 2019 -----
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
----- 2018 -----
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
----- 2017 -----
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
----- 2016 -----
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
----- 2015 -----
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
----- 2014 -----
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
----- 2013 -----
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
----- 2012 -----
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
----- 2011 -----
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
----- 2010 -----
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
----- 2009 -----
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
----- 2008 -----
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
----- 2007 -----
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
----- 2006 -----
December 2006
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006
----- 2005 -----
December 2005
November 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005
----- 2004 -----
December 2004
November 2004
October 2004
September 2004
August 2004
July 2004
June 2004
May 2004
April 2004
March 2004
February 2004
ros-diffs@reactos.org
27 participants
875 discussions
Start a n
N
ew thread
[hpoussin] 19242: Don't try to access an optional parameter if it is NULL
by hpoussin@svn.reactos.com
Don't try to access an optional parameter if it is NULL Modified: trunk/reactos/lib/setupapi/devinst.c _____ Modified: trunk/reactos/lib/setupapi/devinst.c --- trunk/reactos/lib/setupapi/devinst.c 2005-11-15 06:14:31 UTC (rev 19241) +++ trunk/reactos/lib/setupapi/devinst.c 2005-11-15 08:27:38 UTC (rev 19242) @@ -1236,7 +1236,7 @@ DWORD dwLength; DWORD rc; - if (IsEqualIID(class, &GUID_NULL)) + if (class && IsEqualIID(class, &GUID_NULL)) class = NULL; /* Open Enum key */
19 years, 1 month
1
0
0
0
[sedwards] 19241: a few more msvc fixes
by sedwards@svn.reactos.com
a few more msvc fixes Modified: trunk/reactos/apps/utils/net/telnet/src/ansiprsr.cpp Modified: trunk/reactos/apps/utils/net/telnet/src/tnetwork.h Modified: trunk/reactos/apps/utils/net/telnet/telnet.xml _____ Modified: trunk/reactos/apps/utils/net/telnet/src/ansiprsr.cpp --- trunk/reactos/apps/utils/net/telnet/src/ansiprsr.cpp 2005-11-15 05:31:41 UTC (rev 19240) +++ trunk/reactos/apps/utils/net/telnet/src/ansiprsr.cpp 2005-11-15 06:14:31 UTC (rev 19241) @@ -49,7 +49,7 @@ // //////////////////////////////////////////////////////////////////////// /////// -#include <windows.h> +//#include <windows.h> #include <string.h> #include "ansiprsr.h" _____ Modified: trunk/reactos/apps/utils/net/telnet/src/tnetwork.h --- trunk/reactos/apps/utils/net/telnet/src/tnetwork.h 2005-11-15 05:31:41 UTC (rev 19240) +++ trunk/reactos/apps/utils/net/telnet/src/tnetwork.h 2005-11-15 06:14:31 UTC (rev 19241) @@ -6,22 +6,6 @@ #include <windows.h> -// Mingw32 doesn't use winsock.h (Paul Brannan 9/4/98) -#ifdef __MINGW32__ -#ifdef __CYGWIN__ -#include <winsock.h> -#else -// #include <Windows32/sockets.h> Removed for ReactOS -#endif -#else -#include <winsock.h> -#endif - -// ReactOS uses winsock2.h (Steven Edwards 12-31-01) -#ifdef __REACTOS__ -#include <winsock2.h> -#endif - enum NetworkType {TN_NETSOCKET, TN_NETPIPE}; typedef int(*Naws_func_t)(char *, int, int); _____ Modified: trunk/reactos/apps/utils/net/telnet/telnet.xml --- trunk/reactos/apps/utils/net/telnet/telnet.xml 2005-11-15 05:31:41 UTC (rev 19240) +++ trunk/reactos/apps/utils/net/telnet/telnet.xml 2005-11-15 06:14:31 UTC (rev 19241) @@ -4,6 +4,7 @@ <define name="__REACTOS__" /> <library>kernel32</library> <library>ws2_32</library> + <library>user32</library> <directory name="src"> <file>ansiprsr.cpp</file> <file>keytrans.cpp</file>
19 years, 1 month
1
0
0
0
[sedwards] 19240: workarounds for msvc compile. Add precomp.h to a bunch of files, inline -> __inline, other misc changes. crt.lib now has 154 errors building on msvc vs 1800
by sedwards@svn.reactos.com
workarounds for msvc compile. Add precomp.h to a bunch of files, inline -> __inline, other misc changes. crt.lib now has 154 errors building on msvc vs 1800 Modified: trunk/reactos/lib/crt/float/clearfp.c Modified: trunk/reactos/lib/crt/float/fpecode.c Modified: trunk/reactos/lib/crt/include/internal/debug.h Modified: trunk/reactos/lib/crt/io/dup2.c Modified: trunk/reactos/lib/crt/io/isatty.c Modified: trunk/reactos/lib/crt/io/open.c Modified: trunk/reactos/lib/crt/io/setmode.c Modified: trunk/reactos/lib/crt/io/utime.c Modified: trunk/reactos/lib/crt/misc/lock.c Modified: trunk/reactos/lib/crt/precomp.h Modified: trunk/reactos/lib/crt/signal/signal.c Modified: trunk/reactos/lib/crt/stdio/allocfil.c Modified: trunk/reactos/lib/crt/stdio/clearerr.c Modified: trunk/reactos/lib/crt/stdio/fclose.c Modified: trunk/reactos/lib/crt/stdio/fdopen.c Modified: trunk/reactos/lib/crt/stdio/feof.c Modified: trunk/reactos/lib/crt/stdio/ferror.c Modified: trunk/reactos/lib/crt/stdio/fflush.c Modified: trunk/reactos/lib/crt/stdio/fgetc.c Modified: trunk/reactos/lib/crt/stdio/fgets.c Modified: trunk/reactos/lib/crt/stdio/fgetws.c Modified: trunk/reactos/lib/crt/stdio/filbuf.c Modified: trunk/reactos/lib/crt/stdio/flsbuf.c Modified: trunk/reactos/lib/crt/stdio/fprintf.c Modified: trunk/reactos/lib/crt/stdio/fputc.c Modified: trunk/reactos/lib/crt/stdio/fread.c Modified: trunk/reactos/lib/crt/stdio/fseek.c Modified: trunk/reactos/lib/crt/stdio/fsetpos.c Modified: trunk/reactos/lib/crt/stdio/ftell.c Modified: trunk/reactos/lib/crt/stdio/fwalk.c Modified: trunk/reactos/lib/crt/stdio/fwrite.c Modified: trunk/reactos/lib/crt/stdio/getchar.c Modified: trunk/reactos/lib/crt/stdio/putchar.c Modified: trunk/reactos/lib/crt/stdio/putwchar.c Modified: trunk/reactos/lib/crt/stdio/rewind.c Modified: trunk/reactos/lib/crt/stdio/rmtmp.c Modified: trunk/reactos/lib/crt/stdio/setbuf.c Modified: trunk/reactos/lib/crt/stdio/setvbuf.c Modified: trunk/reactos/lib/crt/stdio/sprintf.c Modified: trunk/reactos/lib/crt/stdio/stdhnd.c Modified: trunk/reactos/lib/crt/stdio/tmpfile.c Modified: trunk/reactos/lib/crt/stdio/ungetc.c Modified: trunk/reactos/lib/crt/stdio/vfprintf.c Modified: trunk/reactos/lib/crt/stdio/vsprintf.c Modified: trunk/reactos/lib/crt/stdlib/errno.c Modified: trunk/reactos/lib/crt/stdlib/rand.c Modified: trunk/reactos/lib/crt/stdlib/strtoul.c Modified: trunk/reactos/lib/crt/stdlib/strtoull.c Modified: trunk/reactos/lib/crt/stdlib/wcstombs.c Modified: trunk/reactos/lib/crt/string/lasttok.c Modified: trunk/reactos/lib/crt/string/strtok.c Modified: trunk/reactos/lib/crt/sys_stat/futime.c Modified: trunk/reactos/lib/crt/time/clock.c Modified: trunk/reactos/lib/crt/time/strdate.c Modified: trunk/reactos/lib/crt/time/strtime.c Modified: trunk/reactos/lib/crt/time/wstrdate.c Modified: trunk/reactos/lib/crt/time/wstrtime.c Modified: trunk/reactos/lib/crt/wine/cppexcept.c Modified: trunk/reactos/lib/crt/wine/scanf.c Modified: trunk/reactos/lib/crt/wstring/wcsdup.c Modified: trunk/reactos/lib/crt/wstring/wcstok.c Modified: trunk/reactos/lib/crt/wstring/wlasttok.c _____ Modified: trunk/reactos/lib/crt/float/clearfp.c --- trunk/reactos/lib/crt/float/clearfp.c 2005-11-15 02:25:28 UTC (rev 19239) +++ trunk/reactos/lib/crt/float/clearfp.c 2005-11-15 05:31:41 UTC (rev 19240) @@ -1,5 +1,7 @@ #include <float.h> +unsigned int _statusfp( void ); + /* * @implemented */ _____ Modified: trunk/reactos/lib/crt/float/fpecode.c --- trunk/reactos/lib/crt/float/fpecode.c 2005-11-15 02:25:28 UTC (rev 19239) +++ trunk/reactos/lib/crt/float/fpecode.c 2005-11-15 05:31:41 UTC (rev 19240) @@ -1,3 +1,4 @@ +#include "precomp.h" #include <float.h> #include <internal/tls.h> _____ Modified: trunk/reactos/lib/crt/include/internal/debug.h --- trunk/reactos/lib/crt/include/internal/debug.h 2005-11-15 02:25:28 UTC (rev 19239) +++ trunk/reactos/lib/crt/include/internal/debug.h 2005-11-15 05:31:41 UTC (rev 19240) @@ -34,7 +34,11 @@ #ifdef DBG - #define DPRINT1(args...) do { DbgPrint("(MSVCRT:%s:%d) ",__FILE__,__LINE__); DbgPrint(args); } while(0); + #ifdef __GNUC__ + #define DPRINT1(args...) do { DbgPrint("(MSVCRT:%s:%d) ",__FILE__,__LINE__); DbgPrint(args); } while(0); + #else + #define DPRINT1 DbgPrint + #endif #define CHECKPOINT1 do { DbgPrint("MSVCRT:%s:%d\n",__FILE__,__LINE__); } while(0); #else #ifdef __GNUC__ _____ Modified: trunk/reactos/lib/crt/io/dup2.c --- trunk/reactos/lib/crt/io/dup2.c 2005-11-15 02:25:28 UTC (rev 19239) +++ trunk/reactos/lib/crt/io/dup2.c 2005-11-15 05:31:41 UTC (rev 19240) @@ -1,3 +1,4 @@ +#include "precomp.h" #include <io.h> #include <internal/file.h> _____ Modified: trunk/reactos/lib/crt/io/isatty.c --- trunk/reactos/lib/crt/io/isatty.c 2005-11-15 02:25:28 UTC (rev 19239) +++ trunk/reactos/lib/crt/io/isatty.c 2005-11-15 05:31:41 UTC (rev 19240) @@ -1,3 +1,5 @@ +#include "precomp.h" + #include <internal/file.h> #define NDEBUG _____ Modified: trunk/reactos/lib/crt/io/open.c --- trunk/reactos/lib/crt/io/open.c 2005-11-15 02:25:28 UTC (rev 19239) +++ trunk/reactos/lib/crt/io/open.c 2005-11-15 05:31:41 UTC (rev 19240) @@ -80,7 +80,7 @@ * INTERNAL */ /* -static inline FD_INFO* fdinfo(int fd) +static __inline FD_INFO* fdinfo(int fd) { FD_INFO* bucket = __pioinfo[fd >> FDINFO_ENTRIES_PER_BUCKET_SHIFT]; if (!bucket){ @@ -94,7 +94,7 @@ /* * INTERNAL */ -inline BOOL is_valid_fd(int fd) +__inline BOOL is_valid_fd(int fd) { BOOL b = (fd >= 0 && fd < g_fdend && (fdinfo(fd)->fdflags & FOPEN)); _____ Modified: trunk/reactos/lib/crt/io/setmode.c --- trunk/reactos/lib/crt/io/setmode.c 2005-11-15 02:25:28 UTC (rev 19239) +++ trunk/reactos/lib/crt/io/setmode.c 2005-11-15 05:31:41 UTC (rev 19240) @@ -8,6 +8,7 @@ * UPDATE HISTORY: * 28/12/98: Created */ +#include "precomp.h" #include <io.h> #include <stdio.h> _____ Modified: trunk/reactos/lib/crt/io/utime.c --- trunk/reactos/lib/crt/io/utime.c 2005-11-15 02:25:28 UTC (rev 19239) +++ trunk/reactos/lib/crt/io/utime.c 2005-11-15 05:31:41 UTC (rev 19240) @@ -1,3 +1,5 @@ +#include "precomp.h" + #include <stdio.h> #include <io.h> #include <errno.h> _____ Modified: trunk/reactos/lib/crt/misc/lock.c --- trunk/reactos/lib/crt/misc/lock.c 2005-11-15 02:25:28 UTC (rev 19239) +++ trunk/reactos/lib/crt/misc/lock.c 2005-11-15 05:31:41 UTC (rev 19240) @@ -30,18 +30,18 @@ static LOCKTABLEENTRY lock_table[ _TOTAL_LOCKS ]; -static inline void msvcrt_mlock_set_entry_initialized( int locknum, BOOL initialized ) +static __inline void msvcrt_mlock_set_entry_initialized( int locknum, BOOL initialized ) { lock_table[ locknum ].bInit = initialized; } -static inline void msvcrt_initialize_mlock( int locknum ) +static __inline void msvcrt_initialize_mlock( int locknum ) { InitializeCriticalSection( &(lock_table[ locknum ].crit) ); msvcrt_mlock_set_entry_initialized( locknum, TRUE ); } -static inline void msvcrt_uninitialize_mlock( int locknum ) +static __inline void msvcrt_uninitialize_mlock( int locknum ) { DeleteCriticalSection( &(lock_table[ locknum ].crit) ); msvcrt_mlock_set_entry_initialized( locknum, FALSE ); _____ Modified: trunk/reactos/lib/crt/precomp.h --- trunk/reactos/lib/crt/precomp.h 2005-11-15 02:25:28 UTC (rev 19239) +++ trunk/reactos/lib/crt/precomp.h 2005-11-15 05:31:41 UTC (rev 19240) @@ -1 +1,3 @@ +#define CRT_SECURE_NO_DEPRECATE + #include <windows.h> _____ Modified: trunk/reactos/lib/crt/signal/signal.c --- trunk/reactos/lib/crt/signal/signal.c 2005-11-15 02:25:28 UTC (rev 19239) +++ trunk/reactos/lib/crt/signal/signal.c 2005-11-15 05:31:41 UTC (rev 19240) @@ -1,3 +1,5 @@ +#include "precomp.h" + #include <signal.h> #include <stdlib.h> #include <errno.h> _____ Modified: trunk/reactos/lib/crt/stdio/allocfil.c --- trunk/reactos/lib/crt/stdio/allocfil.c 2005-11-15 02:25:28 UTC (rev 19239) +++ trunk/reactos/lib/crt/stdio/allocfil.c 2005-11-15 05:31:41 UTC (rev 19240) @@ -1,4 +1,5 @@ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ +#include "precomp.h" #include <stdio.h> #include <string.h> #include <stdlib.h> _____ Modified: trunk/reactos/lib/crt/stdio/clearerr.c --- trunk/reactos/lib/crt/stdio/clearerr.c 2005-11-15 02:25:28 UTC (rev 19239) +++ trunk/reactos/lib/crt/stdio/clearerr.c 2005-11-15 05:31:41 UTC (rev 19240) @@ -1,4 +1,5 @@ /* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */ +#include "precomp.h" #include <stdio.h> #include <errno.h> #include <internal/file.h> _____ Modified: trunk/reactos/lib/crt/stdio/fclose.c --- trunk/reactos/lib/crt/stdio/fclose.c 2005-11-15 02:25:28 UTC (rev 19239) +++ trunk/reactos/lib/crt/stdio/fclose.c 2005-11-15 05:31:41 UTC (rev 19240) @@ -1,5 +1,5 @@ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ - +#include "precomp.h" #include <stdio.h> #include <stdarg.h> #include <io.h> _____ Modified: trunk/reactos/lib/crt/stdio/fdopen.c --- trunk/reactos/lib/crt/stdio/fdopen.c 2005-11-15 02:25:28 UTC (rev 19239) +++ trunk/reactos/lib/crt/stdio/fdopen.c 2005-11-15 05:31:41 UTC (rev 19240) @@ -1,14 +1,9 @@ +#include "precomp.h" - #include <stdio.h> #include <tchar.h> #include <internal/file.h> - - - - - /* * @implemented */ _____ Modified: trunk/reactos/lib/crt/stdio/feof.c --- trunk/reactos/lib/crt/stdio/feof.c 2005-11-15 02:25:28 UTC (rev 19239) +++ trunk/reactos/lib/crt/stdio/feof.c 2005-11-15 05:31:41 UTC (rev 19240) @@ -1,4 +1,5 @@ /* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */ +#include "precomp.h" #include <stdio.h> #include <errno.h> #include <internal/file.h> _____ Modified: trunk/reactos/lib/crt/stdio/ferror.c --- trunk/reactos/lib/crt/stdio/ferror.c 2005-11-15 02:25:28 UTC (rev 19239) +++ trunk/reactos/lib/crt/stdio/ferror.c 2005-11-15 05:31:41 UTC (rev 19240) @@ -1,4 +1,5 @@ /* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */ +#include "precomp.h" #include <stdio.h> #include <internal/file.h> _____ Modified: trunk/reactos/lib/crt/stdio/fflush.c --- trunk/reactos/lib/crt/stdio/fflush.c 2005-11-15 02:25:28 UTC (rev 19239) +++ trunk/reactos/lib/crt/stdio/fflush.c 2005-11-15 05:31:41 UTC (rev 19240) @@ -10,7 +10,7 @@ /* Copyright (C) 1998 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1996 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ - +#include "precomp.h" #include <stdio.h> #include <stdarg.h> #include <errno.h> _____ Modified: trunk/reactos/lib/crt/stdio/fgetc.c --- trunk/reactos/lib/crt/stdio/fgetc.c 2005-11-15 02:25:28 UTC (rev 19239) +++ trunk/reactos/lib/crt/stdio/fgetc.c 2005-11-15 05:31:41 UTC (rev 19240) @@ -9,6 +9,7 @@ 25/02/99: Added fgetwc */ /* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */ +#include "precomp.h" #include <stdio.h> #include <internal/file.h> _____ Modified: trunk/reactos/lib/crt/stdio/fgets.c --- trunk/reactos/lib/crt/stdio/fgets.c 2005-11-15 02:25:28 UTC (rev 19239) +++ trunk/reactos/lib/crt/stdio/fgets.c 2005-11-15 05:31:41 UTC (rev 19240) @@ -24,7 +24,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ /* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */ - +#include "precomp.h" #include <stdio.h> #include <internal/file.h> _____ Modified: trunk/reactos/lib/crt/stdio/fgetws.c --- trunk/reactos/lib/crt/stdio/fgetws.c 2005-11-15 02:25:28 UTC (rev 19239) +++ trunk/reactos/lib/crt/stdio/fgetws.c 2005-11-15 05:31:41 UTC (rev 19240) @@ -24,7 +24,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ /* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */ - +#include "precomp.h" #include <stdio.h> #include <internal/file.h> _____ Modified: trunk/reactos/lib/crt/stdio/filbuf.c --- trunk/reactos/lib/crt/stdio/filbuf.c 2005-11-15 02:25:28 UTC (rev 19239) +++ trunk/reactos/lib/crt/stdio/filbuf.c 2005-11-15 05:31:41 UTC (rev 19240) @@ -1,7 +1,7 @@ /* Copyright (C) 1997 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1996 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ - +#include "precomp.h" #include <stdio.h> #include <sys/types.h> #include <stdlib.h> _____ Modified: trunk/reactos/lib/crt/stdio/flsbuf.c --- trunk/reactos/lib/crt/stdio/flsbuf.c 2005-11-15 02:25:28 UTC (rev 19239) +++ trunk/reactos/lib/crt/stdio/flsbuf.c 2005-11-15 05:31:41 UTC (rev 19240) @@ -1,6 +1,6 @@ /* Copyright (C) 1996 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ - +#include "precomp.h" #include <stdio.h> #include <wchar.h> #include <sys/types.h> _____ Modified: trunk/reactos/lib/crt/stdio/fprintf.c --- trunk/reactos/lib/crt/stdio/fprintf.c 2005-11-15 02:25:28 UTC (rev 19239) +++ trunk/reactos/lib/crt/stdio/fprintf.c 2005-11-15 05:31:41 UTC (rev 19240) @@ -1,4 +1,6 @@ /* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */ +#include "precomp.h" + #include <stdio.h> #include <wchar.h> #include <tchar.h> _____ Modified: trunk/reactos/lib/crt/stdio/fputc.c --- trunk/reactos/lib/crt/stdio/fputc.c 2005-11-15 02:25:28 UTC (rev 19239) +++ trunk/reactos/lib/crt/stdio/fputc.c 2005-11-15 05:31:41 UTC (rev 19240) @@ -1,4 +1,6 @@ /* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */ +#include "precomp.h" + #include <stdio.h> #include <wchar.h> #include <internal/file.h> _____ Modified: trunk/reactos/lib/crt/stdio/fread.c --- trunk/reactos/lib/crt/stdio/fread.c 2005-11-15 02:25:28 UTC (rev 19239) +++ trunk/reactos/lib/crt/stdio/fread.c 2005-11-15 05:31:41 UTC (rev 19240) @@ -1,3 +1,5 @@ +#include "precomp.h" + #include <stdio.h> #include <stdlib.h> #include <string.h> _____ Modified: trunk/reactos/lib/crt/stdio/fseek.c --- trunk/reactos/lib/crt/stdio/fseek.c 2005-11-15 02:25:28 UTC (rev 19239) +++ trunk/reactos/lib/crt/stdio/fseek.c 2005-11-15 05:31:41 UTC (rev 19240) @@ -2,6 +2,8 @@ /* Copyright (C) 1996 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ +#include "precomp.h" + #include <stdio.h> #include <errno.h> #include <fcntl.h> _____ Modified: trunk/reactos/lib/crt/stdio/fsetpos.c --- trunk/reactos/lib/crt/stdio/fsetpos.c 2005-11-15 02:25:28 UTC (rev 19239) +++ trunk/reactos/lib/crt/stdio/fsetpos.c 2005-11-15 05:31:41 UTC (rev 19240) @@ -1,4 +1,6 @@ /* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */ +#include "precomp.h" + #include <stdio.h> #include <errno.h> #include <internal/file.h> _____ Modified: trunk/reactos/lib/crt/stdio/ftell.c --- trunk/reactos/lib/crt/stdio/ftell.c 2005-11-15 02:25:28 UTC (rev 19239) +++ trunk/reactos/lib/crt/stdio/ftell.c 2005-11-15 05:31:41 UTC (rev 19240) @@ -1,6 +1,8 @@ /* Copyright (C) 1996 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ +#include "precomp.h" + #include <stdio.h> #include <fcntl.h> #include <io.h> _____ Modified: trunk/reactos/lib/crt/stdio/fwalk.c --- trunk/reactos/lib/crt/stdio/fwalk.c 2005-11-15 02:25:28 UTC (rev 19239) +++ trunk/reactos/lib/crt/stdio/fwalk.c 2005-11-15 05:31:41 UTC (rev 19240) @@ -1,4 +1,6 @@ /* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */ +#include "precomp.h" + #include <stdio.h> #include <internal/file.h> _____ Modified: trunk/reactos/lib/crt/stdio/fwrite.c --- trunk/reactos/lib/crt/stdio/fwrite.c 2005-11-15 02:25:28 UTC (rev 19239) +++ trunk/reactos/lib/crt/stdio/fwrite.c 2005-11-15 05:31:41 UTC (rev 19240) @@ -1,3 +1,4 @@ +#include "precomp.h" #include <stdio.h> #include <stdlib.h> _____ Modified: trunk/reactos/lib/crt/stdio/getchar.c --- trunk/reactos/lib/crt/stdio/getchar.c 2005-11-15 02:25:28 UTC (rev 19239) +++ trunk/reactos/lib/crt/stdio/getchar.c 2005-11-15 05:31:41 UTC (rev 19240) @@ -23,6 +23,7 @@ * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#include "precomp.h" #include <stdio.h> #include <internal/file.h> _____ Modified: trunk/reactos/lib/crt/stdio/putchar.c --- trunk/reactos/lib/crt/stdio/putchar.c 2005-11-15 02:25:28 UTC (rev 19239) +++ trunk/reactos/lib/crt/stdio/putchar.c 2005-11-15 05:31:41 UTC (rev 19240) @@ -8,6 +8,8 @@ * UPDATE HISTORY: * 28/12/98: Created */ +#include "precomp.h" + #include <stdio.h> #include <tchar.h> #include <internal/file.h> _____ Modified: trunk/reactos/lib/crt/stdio/putwchar.c --- trunk/reactos/lib/crt/stdio/putwchar.c 2005-11-15 02:25:28 UTC (rev 19239) +++ trunk/reactos/lib/crt/stdio/putwchar.c 2005-11-15 05:31:41 UTC (rev 19240) @@ -1,3 +1,5 @@ +#include "precomp.h" + #define UNICODE #define _UNICODE _____ Modified: trunk/reactos/lib/crt/stdio/rewind.c --- trunk/reactos/lib/crt/stdio/rewind.c 2005-11-15 02:25:28 UTC (rev 19239) +++ trunk/reactos/lib/crt/stdio/rewind.c 2005-11-15 05:31:41 UTC (rev 19240) @@ -1,4 +1,5 @@ /* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */ +#include "precomp.h" #include <stdio.h> #include <io.h> _____ Modified: trunk/reactos/lib/crt/stdio/rmtmp.c --- trunk/reactos/lib/crt/stdio/rmtmp.c 2005-11-15 02:25:28 UTC (rev 19239) +++ trunk/reactos/lib/crt/stdio/rmtmp.c 2005-11-15 05:31:41 UTC (rev 19240) @@ -8,6 +8,7 @@ * Created 19/01/99 * NOTE Not tested. */ +#include "precomp.h" #include <stdio.h> #include <string.h> _____ Modified: trunk/reactos/lib/crt/stdio/setbuf.c --- trunk/reactos/lib/crt/stdio/setbuf.c 2005-11-15 02:25:28 UTC (rev 19239) +++ trunk/reactos/lib/crt/stdio/setbuf.c 2005-11-15 05:31:41 UTC (rev 19240) @@ -1,4 +1,6 @@ /* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */ +#include "precomp.h" + #include <stdio.h> #include <stdlib.h> #include <internal/file.h> _____ Modified: trunk/reactos/lib/crt/stdio/setvbuf.c --- trunk/reactos/lib/crt/stdio/setvbuf.c 2005-11-15 02:25:28 UTC (rev 19239) +++ trunk/reactos/lib/crt/stdio/setvbuf.c 2005-11-15 05:31:41 UTC (rev 19240) @@ -1,6 +1,8 @@ /* Copyright (C) 1998 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1996 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */ +#include "precomp.h" + #include <stdio.h> #include <stdlib.h> #include <io.h> _____ Modified: trunk/reactos/lib/crt/stdio/sprintf.c --- trunk/reactos/lib/crt/stdio/sprintf.c 2005-11-15 02:25:28 UTC (rev 19239) +++ trunk/reactos/lib/crt/stdio/sprintf.c 2005-11-15 05:31:41 UTC (rev 19240) @@ -18,6 +18,8 @@ not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +#include "precomp.h" + #include <stdarg.h> #include <stdio.h> #include <wchar.h> _____ Modified: trunk/reactos/lib/crt/stdio/stdhnd.c --- trunk/reactos/lib/crt/stdio/stdhnd.c 2005-11-15 02:25:28 UTC (rev 19239) +++ trunk/reactos/lib/crt/stdio/stdhnd.c 2005-11-15 05:31:41 UTC (rev 19240) @@ -1,4 +1,6 @@ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ +#include "precomp.h" + #include <stdio.h> #include <internal/file.h> _____ Modified: trunk/reactos/lib/crt/stdio/tmpfile.c --- trunk/reactos/lib/crt/stdio/tmpfile.c 2005-11-15 02:25:28 UTC (rev 19239) +++ trunk/reactos/lib/crt/stdio/tmpfile.c 2005-11-15 05:31:41 UTC (rev 19240) @@ -2,6 +2,7 @@ /* Copyright (C) 1997 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1998 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ +#include "precomp.h" #include <stdio.h> #include <string.h> _____ Modified: trunk/reactos/lib/crt/stdio/ungetc.c --- trunk/reactos/lib/crt/stdio/ungetc.c 2005-11-15 02:25:28 UTC (rev 19239) +++ trunk/reactos/lib/crt/stdio/ungetc.c 2005-11-15 05:31:41 UTC (rev 19240) @@ -1,5 +1,7 @@ /* Copyright (C) 1996 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */ +#include "precomp.h" + #include <stdio.h> #include <wchar.h> #include <errno.h> _____ Modified: trunk/reactos/lib/crt/stdio/vfprintf.c --- trunk/reactos/lib/crt/stdio/vfprintf.c 2005-11-15 02:25:28 UTC (rev 19239) +++ trunk/reactos/lib/crt/stdio/vfprintf.c 2005-11-15 05:31:41 UTC (rev 19240) @@ -1,4 +1,6 @@ /* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */ +#include "precomp.h" + #include <stdarg.h> #include <stdio.h> #include <malloc.h> _____ Modified: trunk/reactos/lib/crt/stdio/vsprintf.c --- trunk/reactos/lib/crt/stdio/vsprintf.c 2005-11-15 02:25:28 UTC (rev 19239) +++ trunk/reactos/lib/crt/stdio/vsprintf.c 2005-11-15 05:31:41 UTC (rev 19240) @@ -1,4 +1,6 @@ /* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */ +#include "precomp.h" + #include <stdio.h> #include <stdarg.h> #include <limits.h> _____ Modified: trunk/reactos/lib/crt/stdlib/errno.c --- trunk/reactos/lib/crt/stdlib/errno.c 2005-11-15 02:25:28 UTC (rev 19239) +++ trunk/reactos/lib/crt/stdlib/errno.c 2005-11-15 05:31:41 UTC (rev 19240) @@ -1,7 +1,7 @@ /* $Id$ * */ - +#include "precomp.h" #include <errno.h> #include <internal/tls.h> #include <internal/file.h> _____ Modified: trunk/reactos/lib/crt/stdlib/rand.c --- trunk/reactos/lib/crt/stdlib/rand.c 2005-11-15 02:25:28 UTC (rev 19239) +++ trunk/reactos/lib/crt/stdlib/rand.c 2005-11-15 05:31:41 UTC (rev 19240) @@ -1,4 +1,5 @@ /* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */ +#include "precomp.h" #include <stdlib.h> #include <internal/tls.h> _____ Modified: trunk/reactos/lib/crt/stdlib/strtoul.c --- trunk/reactos/lib/crt/stdlib/strtoul.c 2005-11-15 02:25:28 UTC (rev 19239) +++ trunk/reactos/lib/crt/stdlib/strtoul.c 2005-11-15 05:31:41 UTC (rev 19240) @@ -1,4 +1,6 @@ /* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */ +#include "precomp.h" + #include <limits.h> #include <ctype.h> #include <errno.h> _____ Modified: trunk/reactos/lib/crt/stdlib/strtoull.c --- trunk/reactos/lib/crt/stdlib/strtoull.c 2005-11-15 02:25:28 UTC (rev 19239) +++ trunk/reactos/lib/crt/stdlib/strtoull.c 2005-11-15 05:31:41 UTC (rev 19240) @@ -1,10 +1,11 @@ /* Copyright (C) 1996 DJ Delorie, see COPYING.DJ for details */ /* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */ +#include "precomp.h" + #include <limits.h> #include <ctype.h> #include <errno.h> #include <stdlib.h> -#include <stdint.h> #include <internal/file.h> /* _____ Modified: trunk/reactos/lib/crt/stdlib/wcstombs.c --- trunk/reactos/lib/crt/stdlib/wcstombs.c 2005-11-15 02:25:28 UTC (rev 19239) +++ trunk/reactos/lib/crt/stdlib/wcstombs.c 2005-11-15 05:31:41 UTC (rev 19240) @@ -16,6 +16,8 @@ write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#include "precomp.h" + #include <stdlib.h> #include <wchar.h> #include <errno.h> _____ Modified: trunk/reactos/lib/crt/string/lasttok.c --- trunk/reactos/lib/crt/string/lasttok.c 2005-11-15 02:25:28 UTC (rev 19239) +++ trunk/reactos/lib/crt/string/lasttok.c 2005-11-15 05:31:41 UTC (rev 19240) @@ -1,3 +1,5 @@ +#include "precomp.h" + #include <internal/tls.h> #include <assert.h> _____ Modified: trunk/reactos/lib/crt/string/strtok.c --- trunk/reactos/lib/crt/string/strtok.c 2005-11-15 02:25:28 UTC (rev 19239) +++ trunk/reactos/lib/crt/string/strtok.c 2005-11-15 05:31:41 UTC (rev 19240) @@ -1,4 +1,5 @@ /* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */ +#include "precomp.h" #include <string.h> #include <internal/tls.h> _____ Modified: trunk/reactos/lib/crt/sys_stat/futime.c --- trunk/reactos/lib/crt/sys_stat/futime.c 2005-11-15 02:25:28 UTC (rev 19239) +++ trunk/reactos/lib/crt/sys_stat/futime.c 2005-11-15 05:31:41 UTC (rev 19240) @@ -1,3 +1,5 @@ +#include "precomp.h" + #include <malloc.h> #include <stdlib.h> #include <sys/utime.h> _____ Modified: trunk/reactos/lib/crt/time/clock.c --- trunk/reactos/lib/crt/time/clock.c 2005-11-15 02:25:28 UTC (rev 19239) +++ trunk/reactos/lib/crt/time/clock.c 2005-11-15 05:31:41 UTC (rev 19240) @@ -12,8 +12,6 @@ #include <time.h> #include <internal/file.h> -VOID STDCALL GetSystemTimeAsFileTime(LPFILETIME lpSystemTimeAsFileTime ); - /* * @implemented */ _____ Modified: trunk/reactos/lib/crt/time/strdate.c --- trunk/reactos/lib/crt/time/strdate.c 2005-11-15 02:25:28 UTC (rev 19239) +++ trunk/reactos/lib/crt/time/strdate.c 2005-11-15 05:31:41 UTC (rev 19240) @@ -7,6 +7,8 @@ * UPDATE HISTORY: * 28/12/98: Created */ +#include "precomp.h" + #include <time.h> #include <stdio.h> #include <errno.h> _____ Modified: trunk/reactos/lib/crt/time/strtime.c --- trunk/reactos/lib/crt/time/strtime.c 2005-11-15 02:25:28 UTC (rev 19239) +++ trunk/reactos/lib/crt/time/strtime.c 2005-11-15 05:31:41 UTC (rev 19240) @@ -7,6 +7,8 @@ * UPDATE HISTORY: * 28/12/98: Created */ +#include "precomp.h" + #include <time.h> #include <stdio.h> #include <errno.h> _____ Modified: trunk/reactos/lib/crt/time/wstrdate.c --- trunk/reactos/lib/crt/time/wstrdate.c 2005-11-15 02:25:28 UTC (rev 19239) +++ trunk/reactos/lib/crt/time/wstrdate.c 2005-11-15 05:31:41 UTC (rev 19240) @@ -7,6 +7,7 @@ * UPDATE HISTORY: * 28/12/98: Created */ +#include "precomp.h" #include <time.h> #include <stdio.h> #include <errno.h> _____ Modified: trunk/reactos/lib/crt/time/wstrtime.c --- trunk/reactos/lib/crt/time/wstrtime.c 2005-11-15 02:25:28 UTC (rev 19239) +++ trunk/reactos/lib/crt/time/wstrtime.c 2005-11-15 05:31:41 UTC (rev 19240) @@ -7,6 +7,7 @@ * UPDATE HISTORY: * 28/12/98: Created */ +#include "precomp.h" #include <time.h> #include <stdio.h> #include <errno.h> _____ Modified: trunk/reactos/lib/crt/wine/cppexcept.c --- trunk/reactos/lib/crt/wine/cppexcept.c 2005-11-15 02:25:28 UTC (rev 19239) +++ trunk/reactos/lib/crt/wine/cppexcept.c 2005-11-15 05:31:41 UTC (rev 19240) @@ -50,7 +50,7 @@ int nested_trylevel, CONTEXT86 *context ); /* call a function with a given ebp */ -inline static void *call_ebp_func( void *func, void *ebp ) +__inline static void *call_ebp_func( void *func, void *ebp ) { void *ret; __asm__ __volatile__ ("pushl %%ebp; movl %2,%%ebp; call *%%eax; popl %%ebp" \ @@ -59,7 +59,7 @@ } /* call a copy constructor */ -inline static void call_copy_ctor( void *func, void *this, void *src, int has_vbase ) +__inline static void call_copy_ctor( void *func, void *this, void *src, int has_vbase ) { TRACE( "calling copy ctor %p object %p src %p\n", func, this, src ); if (has_vbase) @@ -72,7 +72,7 @@ } /* call the destructor of the exception object */ -inline static void call_dtor( void *func, void *object ) +__inline static void call_dtor( void *func, void *object ) { __asm__ __volatile__("call *%0" : : "r" (func), "c" (object) : "eax", "edx", "memory" ); } @@ -261,7 +261,7 @@ /* find and call the appropriate catch block for an exception */ /* returns the address to continue execution to after the catch block was called */ -inline static void *call_catch_block( PEXCEPTION_RECORD rec, cxx_exception_frame *frame, +__inline static void *call_catch_block( PEXCEPTION_RECORD rec, cxx_exception_frame *frame, cxx_function_descr *descr, int nested_trylevel, cxx_exception_type *info ) { _____ Modified: trunk/reactos/lib/crt/wine/scanf.c --- trunk/reactos/lib/crt/wine/scanf.c 2005-11-15 02:25:28 UTC (rev 19239) +++ trunk/reactos/lib/crt/wine/scanf.c 2005-11-15 05:31:41 UTC (rev 19240) @@ -33,6 +33,8 @@ #include "winternl.h" #include "msvcrt.h" */ +#include "precomp.h" + #define WIN32_NO_STATUS #include <stdarg.h> _____ Modified: trunk/reactos/lib/crt/wstring/wcsdup.c --- trunk/reactos/lib/crt/wstring/wcsdup.c 2005-11-15 02:25:28 UTC (rev 19239) +++ trunk/reactos/lib/crt/wstring/wcsdup.c 2005-11-15 05:31:41 UTC (rev 19240) @@ -1,3 +1,5 @@ +#include "precomp.h" + #include <errno.h> #include <stdlib.h> #include <string.h> _____ Modified: trunk/reactos/lib/crt/wstring/wcstok.c --- trunk/reactos/lib/crt/wstring/wcstok.c 2005-11-15 02:25:28 UTC (rev 19239) +++ trunk/reactos/lib/crt/wstring/wcstok.c 2005-11-15 05:31:41 UTC (rev 19240) @@ -1,3 +1,5 @@ +#include "precomp.h" + #include <string.h> #include <internal/tls.h> _____ Modified: trunk/reactos/lib/crt/wstring/wlasttok.c --- trunk/reactos/lib/crt/wstring/wlasttok.c 2005-11-15 02:25:28 UTC (rev 19239) +++ trunk/reactos/lib/crt/wstring/wlasttok.c 2005-11-15 05:31:41 UTC (rev 19240) @@ -1,3 +1,5 @@ +#include "precomp.h" + #include <internal/tls.h> #include <assert.h> /*
19 years, 1 month
1
0
0
0
[cwittich] 19239: fixed some resource leaks and 64bit issues
by cwittich@svn.reactos.com
fixed some resource leaks and 64bit issues Modified: trunk/rosapps/tests/map_dup_inherit/map_dup_inherit.c _____ Modified: trunk/rosapps/tests/map_dup_inherit/map_dup_inherit.c --- trunk/rosapps/tests/map_dup_inherit/map_dup_inherit.c 2005-11-15 01:25:56 UTC (rev 19238) +++ trunk/rosapps/tests/map_dup_inherit/map_dup_inherit.c 2005-11-15 02:25:28 UTC (rev 19239) @@ -16,7 +16,11 @@ fprintf( stderr, "%lu: Starting\n", GetCurrentProcessId() ); if( argc == 2 ) { - file_map = (void *)atoi(argv[1]); + #ifdef WIN64 + file_map = (void *)atoi64(argv[1]); + #else + file_map = (void *)UlongToPtr(atoi(argv[1])); + #endif } else { file_map = CreateFileMapping( INVALID_HANDLE_VALUE, NULL, @@ -46,12 +50,16 @@ if( !file_view ) { fprintf( stderr, "%lu: Could not map view of file.\n", GetCurrentProcessId() ); + if (file_map != INVALID_HANDLE_VALUE) + CloseHandle(file_map); return 2; } if( !VirtualAlloc( file_view, 0x1000, MEM_COMMIT, PAGE_READWRITE ) ) { fprintf( stderr, "%lu: VirtualAlloc failed to realize the page.\n", GetCurrentProcessId() ); + if (file_map != INVALID_HANDLE_VALUE) + CloseHandle(file_map); return 3; } @@ -72,19 +80,30 @@ memset( &si, 0, sizeof( si ) ); memset( &pi, 0, sizeof( pi ) ); - sprintf(cmdline,"%s %d", argv[0], (int)file_map); + sprintf(cmdline,"%s %p", argv[0], file_map); + CloseHandle(file_map); + if( !CreateProcess(NULL, cmdline, NULL, NULL, TRUE, 0, NULL, NULL, &si, &pi ) ) { fprintf( stderr, "%lu: Could not create child process.\n", GetCurrentProcessId() ); + if (pi.hProcess != INVALID_HANDLE_VALUE) + CloseHandle(pi.hProcess); + return 5; } if( WaitForSingleObject( pi.hThread, INFINITE ) != WAIT_OBJECT_0 ) { fprintf( stderr, "%lu: Failed to wait for child process to terminate.\n", GetCurrentProcessId() ); + if (pi.hProcess != INVALID_HANDLE_VALUE) + CloseHandle(pi.hProcess); return 6; } + + if (pi.hProcess != INVALID_HANDLE_VALUE) + CloseHandle(pi.hProcess); + } return 0;
19 years, 1 month
1
0
0
0
[cwittich] 19238: fixed resource leak (DestroyMenu before destroying main window)
by cwittich@svn.reactos.com
fixed resource leak (DestroyMenu before destroying main window) fixed pointer cast warning -> UlongtoPtr (thx to Alex) Modified: trunk/rosapps/devutils/zoomin/framewnd.c Modified: trunk/rosapps/devutils/zoomin/main.c _____ Modified: trunk/rosapps/devutils/zoomin/framewnd.c --- trunk/rosapps/devutils/zoomin/framewnd.c 2005-11-15 00:33:28 UTC (rev 19237) +++ trunk/rosapps/devutils/zoomin/framewnd.c 2005-11-15 01:25:56 UTC (rev 19238) @@ -29,6 +29,7 @@ #include "main.h" #include "framewnd.h" +extern void ExitInstance(); //////////////////////////////////////////////////////////////////////// //////// // Global Variables: @@ -228,6 +229,7 @@ case WM_DESTROY: KillTimer(hWnd, 0); PostQuitMessage(0); + ExitInstance(); break; default: _____ Modified: trunk/rosapps/devutils/zoomin/main.c --- trunk/rosapps/devutils/zoomin/main.c 2005-11-15 00:33:28 UTC (rev 19237) +++ trunk/rosapps/devutils/zoomin/main.c 2005-11-15 01:25:56 UTC (rev 19238) @@ -68,7 +68,7 @@ hMenuFrame = LoadMenu(hInstance, MAKEINTRESOURCE(IDR_ZOOMIN_MENU)); - hFrameWnd = CreateWindowEx(0, (LPCTSTR)(int)hFrameWndClass, szTitle, + hFrameWnd = CreateWindowEx(0, (LPCTSTR)UlongToPtr(hFrameWndClass), szTitle, WS_OVERLAPPEDWINDOW | WS_EX_CLIENTEDGE | WS_VSCROLL, CW_USEDEFAULT, CW_USEDEFAULT, 250, 250, NULL, hMenuFrame, hInstance, NULL/*lpParam*/); @@ -90,7 +90,6 @@ DestroyMenu(hMenuFrame); } - int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, @@ -116,6 +115,5 @@ DispatchMessage(&msg); } } - ExitInstance(); return msg.wParam; }
19 years, 1 month
1
0
0
0
[sedwards] 19237: add DNS_ERROR_INVALID_NAME
by sedwards@svn.reactos.com
add DNS_ERROR_INVALID_NAME Modified: trunk/reactos/w32api/include/winerror.h _____ Modified: trunk/reactos/w32api/include/winerror.h --- trunk/reactos/w32api/include/winerror.h 2005-11-15 00:10:41 UTC (rev 19236) +++ trunk/reactos/w32api/include/winerror.h 2005-11-15 00:33:28 UTC (rev 19237) @@ -1510,6 +1510,7 @@ #define DNS_STATUS_FQDN 9557L #define DNS_STATUS_DOTTED_NAME 9558L #define DNS_STATUS_SINGLE_PART_NAME 9559L +#define DNS_ERROR_INVALID_NAME ERROR_INVALID_NAME #define DNS_ERROR_INVALID_NAME_CHAR 9560L #define DNS_ERROR_NUMERIC_NAME 9561L #define DNS_ERROR_NOT_ALLOWED_ON_ROOT_SERVER 9562L
19 years, 1 month
1
0
0
0
[sedwards] 19236: fix mixed case header inclusion for linux build
by sedwards@svn.reactos.com
fix mixed case header inclusion for linux build Modified: trunk/rosapps/tests/dnsapi/dnsapi.c Modified: trunk/rosapps/tests/dnsquery/dnsquery.c _____ Modified: trunk/rosapps/tests/dnsapi/dnsapi.c --- trunk/rosapps/tests/dnsapi/dnsapi.c 2005-11-14 23:44:15 UTC (rev 19235) +++ trunk/rosapps/tests/dnsapi/dnsapi.c 2005-11-15 00:10:41 UTC (rev 19236) @@ -1,7 +1,7 @@ #include <windows.h> #include <stdio.h> -#include <WinError.h> -#include <WinDNS.h> +#include <winerror.h> +#include <windns.h> #include <winsock2.h> #include <assert.h> _____ Modified: trunk/rosapps/tests/dnsquery/dnsquery.c --- trunk/rosapps/tests/dnsquery/dnsquery.c 2005-11-14 23:44:15 UTC (rev 19235) +++ trunk/rosapps/tests/dnsquery/dnsquery.c 2005-11-15 00:10:41 UTC (rev 19236) @@ -1,7 +1,7 @@ #include <windows.h> #include <stdio.h> -#include <WinError.h> -#include <WinDNS.h> +#include <winerror.h> +#include <windns.h> #include <assert.h> int main( int argc, char **argv ) {
19 years, 1 month
1
0
0
0
[sedwards] 19235: fix all but about 8 out of 91 tests. Correct resource usage in xml, fix win32gui vs win32cui mode on most test xml
by sedwards@svn.reactos.com
fix all but about 8 out of 91 tests. Correct resource usage in xml, fix win32gui vs win32cui mode on most test xml Modified: trunk/rosapps/tests/alive/alive.xml Modified: trunk/rosapps/tests/apc/apc.xml Modified: trunk/rosapps/tests/apc2/apc2.xml Modified: trunk/rosapps/tests/args/args.xml Modified: trunk/rosapps/tests/atomtest/atomtest.xml Modified: trunk/rosapps/tests/bench/bench.xml Modified: trunk/rosapps/tests/capclock/capclock.rc Modified: trunk/rosapps/tests/capclock/capclock.xml Modified: trunk/rosapps/tests/carets/carets.xml Modified: trunk/rosapps/tests/consume/consume.xml Modified: trunk/rosapps/tests/copymove/copymove.xml Modified: trunk/rosapps/tests/count/count.xml Modified: trunk/rosapps/tests/create-links/create-links.xml Modified: trunk/rosapps/tests/dirdlg/dirdlg.xml Modified: trunk/rosapps/tests/directory.xml Modified: trunk/rosapps/tests/diskspeed/diskspeed.xml Modified: trunk/rosapps/tests/dnsapi/dnsapi.xml Modified: trunk/rosapps/tests/fiber/fiber.xml Modified: trunk/rosapps/tests/icontest/icontest.xml Modified: trunk/rosapps/tests/isotest/isotest.xml Modified: trunk/rosapps/tests/mdi/mdi.xml Modified: trunk/rosapps/tests/miditest/miditest.rc Modified: trunk/rosapps/tests/miditest/miditest.xml Modified: trunk/rosapps/tests/moztest/moztest.xml Modified: trunk/rosapps/tests/nameserverlist/nameserverlist.xml Modified: trunk/rosapps/tests/noexecute/noexecute.xml Modified: trunk/rosapps/tests/popupmenu/popupmenu.xml Modified: trunk/rosapps/tests/sertest/sertest.c Modified: trunk/rosapps/tests/sertest/sertest.xml Modified: trunk/rosapps/tests/subclass/subclass.xml Modified: trunk/rosapps/tests/suspend/suspend.c Modified: trunk/rosapps/tests/tcpsvr/tcpsvr.xml Modified: trunk/rosapps/tests/terminate/terminate.c Modified: trunk/rosapps/tests/terminate/terminate.xml Modified: trunk/rosapps/tests/threadwait/threadwait.c Modified: trunk/rosapps/tests/threadwait/threadwait.xml Modified: trunk/rosapps/tests/tokentest/tokentest.c Modified: trunk/rosapps/tests/txtscale/txtscale.xml Modified: trunk/rosapps/tests/vmtest/vmtest.xml Modified: trunk/rosapps/tests/winhello/winhello.c _____ Modified: trunk/rosapps/tests/alive/alive.xml --- trunk/rosapps/tests/alive/alive.xml 2005-11-14 23:23:18 UTC (rev 19234) +++ trunk/rosapps/tests/alive/alive.xml 2005-11-14 23:44:15 UTC (rev 19235) @@ -1,4 +1,4 @@ -<module name="alive" type="win32gui" installbase="bin" installname="alive.exe"> +<module name="alive" type="win32cui" installbase="bin" installname="alive.exe"> <define name="_WIN32_IE">0x0501</define> <define name="_WIN32_WINNT">0x0501</define> <define name="__USE_W32API" /> _____ Modified: trunk/rosapps/tests/apc/apc.xml --- trunk/rosapps/tests/apc/apc.xml 2005-11-14 23:23:18 UTC (rev 19234) +++ trunk/rosapps/tests/apc/apc.xml 2005-11-14 23:44:15 UTC (rev 19235) @@ -1,4 +1,4 @@ -<module name="apc" type="win32gui" installbase="bin" installname="apc.exe"> +<module name="apc" type="win32cui" installbase="bin" installname="apc.exe"> <define name="_WIN32_IE">0x0501</define> <define name="_WIN32_WINNT">0x0501</define> <define name="__USE_W32API" /> _____ Modified: trunk/rosapps/tests/apc2/apc2.xml --- trunk/rosapps/tests/apc2/apc2.xml 2005-11-14 23:23:18 UTC (rev 19234) +++ trunk/rosapps/tests/apc2/apc2.xml 2005-11-14 23:44:15 UTC (rev 19235) @@ -1,4 +1,4 @@ -<module name="apc2" type="win32gui" installbase="bin" installname="apc2.exe"> +<module name="apc2" type="win32cui" installbase="bin" installname="apc2.exe"> <define name="_WIN32_IE">0x0501</define> <define name="_WIN32_WINNT">0x0501</define> <define name="__USE_W32API" /> _____ Modified: trunk/rosapps/tests/args/args.xml --- trunk/rosapps/tests/args/args.xml 2005-11-14 23:23:18 UTC (rev 19234) +++ trunk/rosapps/tests/args/args.xml 2005-11-14 23:44:15 UTC (rev 19235) @@ -1,4 +1,4 @@ -<module name="args" type="win32gui" installbase="bin" installname="args.exe"> +<module name="args" type="win32cui" installbase="bin" installname="args.exe"> <define name="_WIN32_IE">0x0501</define> <define name="_WIN32_WINNT">0x0501</define> <define name="__USE_W32API" /> _____ Modified: trunk/rosapps/tests/atomtest/atomtest.xml --- trunk/rosapps/tests/atomtest/atomtest.xml 2005-11-14 23:23:18 UTC (rev 19234) +++ trunk/rosapps/tests/atomtest/atomtest.xml 2005-11-14 23:44:15 UTC (rev 19235) @@ -1,4 +1,4 @@ -<module name="atomtest" type="win32gui" installbase="bin" installname="atomtest.exe"> +<module name="atomtest" type="win32cui" installbase="bin" installname="atomtest.exe"> <define name="_WIN32_IE">0x0501</define> <define name="_WIN32_WINNT">0x0501</define> <define name="__USE_W32API" /> _____ Modified: trunk/rosapps/tests/bench/bench.xml --- trunk/rosapps/tests/bench/bench.xml 2005-11-14 23:23:18 UTC (rev 19234) +++ trunk/rosapps/tests/bench/bench.xml 2005-11-14 23:44:15 UTC (rev 19235) @@ -1,4 +1,4 @@ -<module name="bench-thread" type="win32gui" installbase="bin" installname="bench-thread.exe"> +<module name="bench-thread" type="win32cui" installbase="bin" installname="bench-thread.exe"> <define name="_WIN32_IE">0x0501</define> <define name="_WIN32_WINNT">0x0501</define> <define name="__USE_W32API" /> _____ Modified: trunk/rosapps/tests/capclock/capclock.rc --- trunk/rosapps/tests/capclock/capclock.rc 2005-11-14 23:23:18 UTC (rev 19234) +++ trunk/rosapps/tests/capclock/capclock.rc 2005-11-14 23:44:15 UTC (rev 19235) @@ -1,4 +1,4 @@ -/* $Id: capclock.rc,v 1.1 2004/10/21 05:11:59 sedwards Exp $ */ +/* $Id$ */ #include <windows.h> _____ Modified: trunk/rosapps/tests/capclock/capclock.xml --- trunk/rosapps/tests/capclock/capclock.xml 2005-11-14 23:23:18 UTC (rev 19234) +++ trunk/rosapps/tests/capclock/capclock.xml 2005-11-14 23:44:15 UTC (rev 19235) @@ -2,6 +2,7 @@ <define name="_WIN32_IE">0x0501</define> <define name="_WIN32_WINNT">0x0501</define> <define name="__USE_W32API" /> + <include base="capclock">.</include> <library>kernel32</library> <library>gdi32</library> <file>capclock.c</file> _____ Modified: trunk/rosapps/tests/carets/carets.xml --- trunk/rosapps/tests/carets/carets.xml 2005-11-14 23:23:18 UTC (rev 19234) +++ trunk/rosapps/tests/carets/carets.xml 2005-11-14 23:44:15 UTC (rev 19235) @@ -2,9 +2,10 @@ <define name="_WIN32_IE">0x0501</define> <define name="_WIN32_WINNT">0x0501</define> <define name="__USE_W32API" /> + <include base="carets">.</include> <library>kernel32</library> <library>gdi32</library> <library>ntdll</library> <file>carets.c</file> - <efile>carets.rc</efile> + <file>carets.rc</file> </module> _____ Modified: trunk/rosapps/tests/consume/consume.xml --- trunk/rosapps/tests/consume/consume.xml 2005-11-14 23:23:18 UTC (rev 19234) +++ trunk/rosapps/tests/consume/consume.xml 2005-11-14 23:44:15 UTC (rev 19235) @@ -1,4 +1,4 @@ -<module name="consume" type="win32gui" installbase="bin" installname="consume.exe"> +<module name="consume" type="win32cui" installbase="bin" installname="consume.exe"> <define name="_WIN32_IE">0x0501</define> <define name="_WIN32_WINNT">0x0501</define> <define name="__USE_W32API" /> _____ Modified: trunk/rosapps/tests/copymove/copymove.xml --- trunk/rosapps/tests/copymove/copymove.xml 2005-11-14 23:23:18 UTC (rev 19234) +++ trunk/rosapps/tests/copymove/copymove.xml 2005-11-14 23:44:15 UTC (rev 19235) @@ -1,4 +1,4 @@ -<module name="copymove" type="win32gui" installbase="bin" installname="copymove.exe"> +<module name="copymove" type="win32cui" installbase="bin" installname="copymove.exe"> <define name="_WIN32_IE">0x0501</define> <define name="_WIN32_WINNT">0x0501</define> <define name="__USE_W32API" /> _____ Modified: trunk/rosapps/tests/count/count.xml --- trunk/rosapps/tests/count/count.xml 2005-11-14 23:23:18 UTC (rev 19234) +++ trunk/rosapps/tests/count/count.xml 2005-11-14 23:44:15 UTC (rev 19235) @@ -1,4 +1,4 @@ -<module name="count" type="win32gui" installbase="bin" installname="count.exe"> +<module name="count" type="win32cui" installbase="bin" installname="count.exe"> <define name="_WIN32_IE">0x0501</define> <define name="_WIN32_WINNT">0x0501</define> <define name="__USE_W32API" /> _____ Modified: trunk/rosapps/tests/create-links/create-links.xml --- trunk/rosapps/tests/create-links/create-links.xml 2005-11-14 23:23:18 UTC (rev 19234) +++ trunk/rosapps/tests/create-links/create-links.xml 2005-11-14 23:44:15 UTC (rev 19235) @@ -1,4 +1,4 @@ -<module name="create-links" type="win32gui" installbase="bin" installname="create-links.exe"> +<module name="create-links" type="win32cui" installbase="bin" installname="create-links.exe"> <define name="_WIN32_IE">0x0501</define> <define name="_WIN32_WINNT">0x0501</define> <define name="__USE_W32API" /> _____ Modified: trunk/rosapps/tests/dirdlg/dirdlg.xml --- trunk/rosapps/tests/dirdlg/dirdlg.xml 2005-11-14 23:23:18 UTC (rev 19234) +++ trunk/rosapps/tests/dirdlg/dirdlg.xml 2005-11-14 23:44:15 UTC (rev 19235) @@ -2,8 +2,9 @@ <define name="_WIN32_IE">0x0501</define> <define name="_WIN32_WINNT">0x0501</define> <define name="__USE_W32API" /> + <include base="dirdlg">.</include> <library>kernel32</library> <library>gdi32</library> <file>dirdlg.c</file> - <efile>dirdlg.rc</efile> + <file>dirdlg.rc</file> </module> _____ Modified: trunk/rosapps/tests/directory.xml --- trunk/rosapps/tests/directory.xml 2005-11-14 23:23:18 UTC (rev 19234) +++ trunk/rosapps/tests/directory.xml 2005-11-14 23:44:15 UTC (rev 19235) @@ -195,7 +195,6 @@ <!-- fixme: regtest --> -<!-- <directory name="sectest"> <xi:include href="sectest/sectest.xml" /> </directory> @@ -206,7 +205,7 @@ <xi:include href="shaptest/shaptest.xml" /> </directory> -fixme: shm +<!-- fixme: shm --> <directory name="statst"> <xi:include href="statst/statst.xml" /> @@ -241,9 +240,9 @@ <directory name="tmrqueue"> <xi:include href="tmrqueue/tmrqueue.xml" /> </directory> -<directory name="tokentest"> - <xi:include href="tokentest/tokentest.xml" /> -</directory> + +<!-- fixme: tokentest --> + <directory name="txtscale"> <xi:include href="txtscale/txtscale.xml" /> </directory> @@ -262,10 +261,8 @@ <directory name="wm_paint"> <xi:include href="wm_paint/wm_paint.xml" /> </directory> -<directory name="wpickclick"> - <xi:include href="wpickclick/wpickclick.xml" /> -</directory> -<directory name="zwcontinue"> - <xi:include href="zwcontinue/zwcontinue.xml" /> -</directory> ---> + +<!-- fixme: wpickclick.xml --> + +<!-- fixme: zwcontinue --> + _____ Modified: trunk/rosapps/tests/diskspeed/diskspeed.xml --- trunk/rosapps/tests/diskspeed/diskspeed.xml 2005-11-14 23:23:18 UTC (rev 19234) +++ trunk/rosapps/tests/diskspeed/diskspeed.xml 2005-11-14 23:44:15 UTC (rev 19235) @@ -1,4 +1,4 @@ -<module name="diskspeed" type="win32gui" installbase="bin" installname="diskspeed.exe"> +<module name="diskspeed" type="win32cui" installbase="bin" installname="diskspeed.exe"> <define name="_WIN32_IE">0x0501</define> <define name="_WIN32_WINNT">0x0501</define> <define name="__USE_W32API" /> _____ Modified: trunk/rosapps/tests/dnsapi/dnsapi.xml --- trunk/rosapps/tests/dnsapi/dnsapi.xml 2005-11-14 23:23:18 UTC (rev 19234) +++ trunk/rosapps/tests/dnsapi/dnsapi.xml 2005-11-14 23:44:15 UTC (rev 19235) @@ -1,4 +1,4 @@ -<module name="dnsapitst" type="win32gui" installbase="bin" installname="dnsapitst.exe"> +<module name="dnsapitst" type="win32cui" installbase="bin" installname="dnsapitst.exe"> <define name="_WIN32_IE">0x0501</define> <define name="_WIN32_WINNT">0x0501</define> <define name="__USE_W32API" /> _____ Modified: trunk/rosapps/tests/fiber/fiber.xml --- trunk/rosapps/tests/fiber/fiber.xml 2005-11-14 23:23:18 UTC (rev 19234) +++ trunk/rosapps/tests/fiber/fiber.xml 2005-11-14 23:44:15 UTC (rev 19235) @@ -1,4 +1,4 @@ -<module name="fiber" type="win32gui" installbase="bin" installname="fiber.exe"> +<module name="fiber" type="win32cui" installbase="bin" installname="fiber.exe"> <define name="_WIN32_IE">0x0501</define> <define name="_WIN32_WINNT">0x0501</define> <define name="__USE_W32API" /> _____ Modified: trunk/rosapps/tests/icontest/icontest.xml --- trunk/rosapps/tests/icontest/icontest.xml 2005-11-14 23:23:18 UTC (rev 19234) +++ trunk/rosapps/tests/icontest/icontest.xml 2005-11-14 23:44:15 UTC (rev 19235) @@ -2,9 +2,10 @@ <define name="_WIN32_IE">0x0501</define> <define name="_WIN32_WINNT">0x0501</define> <define name="__USE_W32API" /> + <include base="icontest">.</include> <library>kernel32</library> <library>gdi32</library> <library>ntdll</library> <file>icontest.c</file> - <efile>icontest.rc</efile> + <file>icontest.rc</file> </module> _____ Modified: trunk/rosapps/tests/isotest/isotest.xml --- trunk/rosapps/tests/isotest/isotest.xml 2005-11-14 23:23:18 UTC (rev 19234) +++ trunk/rosapps/tests/isotest/isotest.xml 2005-11-14 23:44:15 UTC (rev 19235) @@ -1,4 +1,4 @@ -<module name="isotest" type="win32gui" installbase="bin" installname="isotest.exe"> +<module name="isotest" type="win32cui" installbase="bin" installname="isotest.exe"> <define name="_WIN32_IE">0x0501</define> <define name="_WIN32_WINNT">0x0501</define> <define name="__USE_W32API" /> _____ Modified: trunk/rosapps/tests/mdi/mdi.xml --- trunk/rosapps/tests/mdi/mdi.xml 2005-11-14 23:23:18 UTC (rev 19234) +++ trunk/rosapps/tests/mdi/mdi.xml 2005-11-14 23:44:15 UTC (rev 19235) @@ -2,10 +2,11 @@ <define name="_WIN32_IE">0x0501</define> <define name="_WIN32_WINNT">0x0501</define> <define name="__USE_W32API" /> + <include base="mdi">.</include> <library>kernel32</library> <library>gdi32</library> <library>comctl32</library> <library>comdlg32</library> <file>mdi.c</file> - <efile>mdi.rc</efile> + <file>mdi.rc</file> </module> _____ Modified: trunk/rosapps/tests/miditest/miditest.rc --- trunk/rosapps/tests/miditest/miditest.rc 2005-11-14 23:23:18 UTC (rev 19234) +++ trunk/rosapps/tests/miditest/miditest.rc 2005-11-14 23:44:15 UTC (rev 19235) @@ -1,5 +1,5 @@ #include <windows.h> -#include <reactos/resource.h> +//#include <reactos/resource.h> #include "resource.h" IDR_MAINMENU MENU DISCARDABLE _____ Modified: trunk/rosapps/tests/miditest/miditest.xml --- trunk/rosapps/tests/miditest/miditest.xml 2005-11-14 23:23:18 UTC (rev 19234) +++ trunk/rosapps/tests/miditest/miditest.xml 2005-11-14 23:44:15 UTC (rev 19235) @@ -2,8 +2,8 @@ <define name="_WIN32_IE">0x0501</define> <define name="_WIN32_WINNT">0x0501</define> <define name="__USE_W32API" /> + <include base="miditest">.</include> <library>kernel32</library> <library>winmm</library> <file>miditest.c</file> - <efile>miditest.rc</efile> </module> _____ Modified: trunk/rosapps/tests/moztest/moztest.xml --- trunk/rosapps/tests/moztest/moztest.xml 2005-11-14 23:23:18 UTC (rev 19234) +++ trunk/rosapps/tests/moztest/moztest.xml 2005-11-14 23:44:15 UTC (rev 19235) @@ -1,4 +1,4 @@ -<module name="moztest" type="win32gui" installbase="bin" installname="moztest.exe"> +<module name="moztest" type="win32cui" installbase="bin" installname="moztest.exe"> <define name="_WIN32_IE">0x0501</define> <define name="_WIN32_WINNT">0x0501</define> <define name="__USE_W32API" /> _____ Modified: trunk/rosapps/tests/nameserverlist/nameserverlist.xml --- trunk/rosapps/tests/nameserverlist/nameserverlist.xml 2005-11-14 23:23:18 UTC (rev 19234) +++ trunk/rosapps/tests/nameserverlist/nameserverlist.xml 2005-11-14 23:44:15 UTC (rev 19235) @@ -1,4 +1,4 @@ -<module name="nameserverlist" type="win32gui" installbase="bin" installname="nameserverlist.exe"> +<module name="nameserverlist" type="win32cui" installbase="bin" installname="nameserverlist.exe"> <define name="_WIN32_IE">0x0501</define> <define name="_WIN32_WINNT">0x0501</define> <define name="__USE_W32API" /> _____ Modified: trunk/rosapps/tests/noexecute/noexecute.xml --- trunk/rosapps/tests/noexecute/noexecute.xml 2005-11-14 23:23:18 UTC (rev 19234) +++ trunk/rosapps/tests/noexecute/noexecute.xml 2005-11-14 23:44:15 UTC (rev 19235) @@ -1,4 +1,4 @@ -<module name="noexecute" type="win32gui" installbase="bin" installname="noexecute.exe"> +<module name="noexecute" type="win32cui" installbase="bin" installname="noexecute.exe"> <define name="_WIN32_IE">0x0501</define> <define name="_WIN32_WINNT">0x0501</define> <define name="__USE_W32API" /> _____ Modified: trunk/rosapps/tests/popupmenu/popupmenu.xml --- trunk/rosapps/tests/popupmenu/popupmenu.xml 2005-11-14 23:23:18 UTC (rev 19234) +++ trunk/rosapps/tests/popupmenu/popupmenu.xml 2005-11-14 23:44:15 UTC (rev 19235) @@ -2,8 +2,9 @@ <define name="_WIN32_IE">0x0501</define> <define name="_WIN32_WINNT">0x0501</define> <define name="__USE_W32API" /> + <include base="popupmenu">.</include> <library>kernel32</library> <library>gdi32</library> <file>popupmenu.c</file> - <efile>popupmenu.rc</efile> + <file>popupmenu.rc</file> </module> _____ Modified: trunk/rosapps/tests/sertest/sertest.c --- trunk/rosapps/tests/sertest/sertest.c 2005-11-14 23:23:18 UTC (rev 19234) +++ trunk/rosapps/tests/sertest/sertest.c 2005-11-14 23:44:15 UTC (rev 19235) @@ -1,6 +1,8 @@ #include <windows.h> #include <stdio.h> +#include <tchar.h> + #define BUFSIZE 128 #define MAX_PORTNAME_LEN 20 #define APP_VERSION_STR "0.01" _____ Modified: trunk/rosapps/tests/sertest/sertest.xml --- trunk/rosapps/tests/sertest/sertest.xml 2005-11-14 23:23:18 UTC (rev 19234) +++ trunk/rosapps/tests/sertest/sertest.xml 2005-11-14 23:44:15 UTC (rev 19235) @@ -1,4 +1,4 @@ -<module name="sertest" type="win32gui" installbase="bin" installname="sertest.exe"> +<module name="sertest" type="win32gui" installbase="bin" installname="sertest.exe" allowwarnings="true"> <define name="_WIN32_IE">0x0501</define> <define name="_WIN32_WINNT">0x0501</define> <define name="__USE_W32API" /> _____ Modified: trunk/rosapps/tests/subclass/subclass.xml --- trunk/rosapps/tests/subclass/subclass.xml 2005-11-14 23:23:18 UTC (rev 19234) +++ trunk/rosapps/tests/subclass/subclass.xml 2005-11-14 23:44:15 UTC (rev 19235) @@ -1,4 +1,4 @@ -<module name="subclass" type="win32gui" installbase="bin" installname="subclass.exe"> +<module name="subclass" type="win32gui" installbase="bin" installname="subclass.exe" allowwarnings="true"> <define name="_WIN32_IE">0x0501</define> <define name="_WIN32_WINNT">0x0501</define> <define name="__USE_W32API" /> _____ Modified: trunk/rosapps/tests/suspend/suspend.c --- trunk/rosapps/tests/suspend/suspend.c 2005-11-14 23:23:18 UTC (rev 19234) +++ trunk/rosapps/tests/suspend/suspend.c 2005-11-14 23:44:15 UTC (rev 19235) @@ -1,11 +1,10 @@ #define UNICODE -#define NTOS_MODE_USER -#include <ntos.h> #include <windows.h> #include <stdio.h> +#define NTOS_MODE_USER +#include <ndk/ntndk.h> -#define DBG #define NDEBUG #include <debug.h> _____ Modified: trunk/rosapps/tests/tcpsvr/tcpsvr.xml --- trunk/rosapps/tests/tcpsvr/tcpsvr.xml 2005-11-14 23:23:18 UTC (rev 19234) +++ trunk/rosapps/tests/tcpsvr/tcpsvr.xml 2005-11-14 23:44:15 UTC (rev 19235) @@ -1,8 +1,8 @@ -<module name="tcpsvr" type="win32gui" installbase="bin" installname="tcpsvr.exe"> +<module name="tcpsvr" type="win32cui" installbase="bin" installname="tcpsvr.exe"> <define name="_WIN32_IE">0x0501</define> <define name="_WIN32_WINNT">0x0501</define> <define name="__USE_W32API" /> <library>kernel32</library> - <library>gdi32</library> + <library>ws2_32</library> <file>tcpsvr.c</file> </module> _____ Modified: trunk/rosapps/tests/terminate/terminate.c --- trunk/rosapps/tests/terminate/terminate.c 2005-11-14 23:23:18 UTC (rev 19234) +++ trunk/rosapps/tests/terminate/terminate.c 2005-11-14 23:44:15 UTC (rev 19235) @@ -1,11 +1,10 @@ #define UNICODE -#define NTOS_MODE_USER -#include <ntos.h> #include <windows.h> #include <stdio.h> +#define NTOS_MODE_USER +#include <ndk/ntndk.h> -#define DBG #define NDEBUG #include <debug.h> _____ Modified: trunk/rosapps/tests/terminate/terminate.xml --- trunk/rosapps/tests/terminate/terminate.xml 2005-11-14 23:23:18 UTC (rev 19234) +++ trunk/rosapps/tests/terminate/terminate.xml 2005-11-14 23:44:15 UTC (rev 19235) @@ -1,4 +1,4 @@ -<module name="terminate" type="win32gui" installbase="bin" installname="terminate.exe"> +<module name="terminate" type="win32cui" installbase="bin" installname="terminate.exe"> <define name="_WIN32_IE">0x0501</define> <define name="_WIN32_WINNT">0x0501</define> <define name="__USE_W32API" /> _____ Modified: trunk/rosapps/tests/threadwait/threadwait.c --- trunk/rosapps/tests/threadwait/threadwait.c 2005-11-14 23:23:18 UTC (rev 19234) +++ trunk/rosapps/tests/threadwait/threadwait.c 2005-11-14 23:44:15 UTC (rev 19235) @@ -7,6 +7,9 @@ #include <windows.h> #include <stdio.h> +#define NTOS_MODE_USER +#include <ndk/ntndk.h> + DWORD __stdcall threadfunc(void* UNREFERENCED) { printf("Thread: Initialized\n"); _____ Modified: trunk/rosapps/tests/threadwait/threadwait.xml --- trunk/rosapps/tests/threadwait/threadwait.xml 2005-11-14 23:23:18 UTC (rev 19234) +++ trunk/rosapps/tests/threadwait/threadwait.xml 2005-11-14 23:44:15 UTC (rev 19235) @@ -3,6 +3,6 @@ <define name="_WIN32_WINNT">0x0501</define> <define name="__USE_W32API" /> <library>kernel32</library> - <library>gdi32</library> + <library>ntdll</library> <file>threadwait.c</file> </module> _____ Modified: trunk/rosapps/tests/tokentest/tokentest.c --- trunk/rosapps/tests/tokentest/tokentest.c 2005-11-14 23:23:18 UTC (rev 19234) +++ trunk/rosapps/tests/tokentest/tokentest.c 2005-11-14 23:44:15 UTC (rev 19235) @@ -5,6 +5,10 @@ #include <windows.h> #include <stdlib.h> +#define NTOS_MODE_USER +#include <ndk/ntndk.h> + + #define INCLUDE_THE_DDK_HEADERS #ifdef INCLUDE_THE_DDK_HEADERS #include <ddk/ntddk.h> @@ -107,6 +111,7 @@ ); #define NT_SUCCESS(StatCode) ((NTSTATUS)(StatCode) >= 0) #endif + #include <stdio.h> #define INITIAL_PRIV_ENABLED SE_PRIVILEGE_ENABLED_BY_DEFAULT|SE_PRIVILEGE_ENABLED _____ Modified: trunk/rosapps/tests/txtscale/txtscale.xml --- trunk/rosapps/tests/txtscale/txtscale.xml 2005-11-14 23:23:18 UTC (rev 19234) +++ trunk/rosapps/tests/txtscale/txtscale.xml 2005-11-14 23:44:15 UTC (rev 19235) @@ -4,6 +4,7 @@ <define name="__USE_W32API" /> <library>kernel32</library> <library>gdi32</library> + <library>comctl32</library> <file>txtscale.cpp</file> <file>mk_font.cpp</file> </module> _____ Modified: trunk/rosapps/tests/vmtest/vmtest.xml --- trunk/rosapps/tests/vmtest/vmtest.xml 2005-11-14 23:23:18 UTC (rev 19234) +++ trunk/rosapps/tests/vmtest/vmtest.xml 2005-11-14 23:44:15 UTC (rev 19235) @@ -1,4 +1,4 @@ -<module name="vmtest" type="win32gui" installbase="bin" installname="vmtest.exe"> +<module name="vmtest" type="win32cui" installbase="bin" installname="vmtest.exe" allowwarnings="true"> <define name="_WIN32_IE">0x0501</define> <define name="_WIN32_WINNT">0x0501</define> <define name="__USE_W32API" /> _____ Modified: trunk/rosapps/tests/winhello/winhello.c --- trunk/rosapps/tests/winhello/winhello.c 2005-11-14 23:23:18 UTC (rev 19234) +++ trunk/rosapps/tests/winhello/winhello.c 2005-11-14 23:44:15 UTC (rev 19235) @@ -26,6 +26,10 @@ * ???????? */ +#ifndef VK_C +#define VK_C 'C' +#endif + #include <windows.h> #include <stdio.h> #include <tchar.h>
19 years, 1 month
1
0
0
0
[sedwards] 19234: commit correct xml for linking resources. Broken so Royce can review
by sedwards@svn.reactos.com
commit correct xml for linking resources. Broken so Royce can review Modified: trunk/rosapps/tests/capclock/capclock.xml _____ Modified: trunk/rosapps/tests/capclock/capclock.xml --- trunk/rosapps/tests/capclock/capclock.xml 2005-11-14 23:00:36 UTC (rev 19233) +++ trunk/rosapps/tests/capclock/capclock.xml 2005-11-14 23:23:18 UTC (rev 19234) @@ -5,5 +5,5 @@ <library>kernel32</library> <library>gdi32</library> <file>capclock.c</file> - <efile>capclock.c</efile> + <file>capclock.rc</file> </module>
19 years, 1 month
1
0
0
0
[sedwards] 19233: fix the old cygwin handle duping tests
by sedwards@svn.reactos.com
fix the old cygwin handle duping tests Modified: trunk/rosapps/tests/map_dup_inherit/map_dup_inherit.xml Modified: trunk/rosapps/tests/p_dup_handle/p_dup_handle.xml _____ Modified: trunk/rosapps/tests/map_dup_inherit/map_dup_inherit.xml --- trunk/rosapps/tests/map_dup_inherit/map_dup_inherit.xml 2005-11-14 22:56:42 UTC (rev 19232) +++ trunk/rosapps/tests/map_dup_inherit/map_dup_inherit.xml 2005-11-14 23:00:36 UTC (rev 19233) @@ -1,4 +1,4 @@ -<module name="map_dup_inherit" type="win32gui" installbase="bin" installname="map_dup_inherit.exe"> +<module name="map_dup_inherit" type="win32cui" installbase="bin" installname="map_dup_inherit.exe"> <define name="_WIN32_IE">0x0501</define> <define name="_WIN32_WINNT">0x0501</define> <define name="__USE_W32API" /> _____ Modified: trunk/rosapps/tests/p_dup_handle/p_dup_handle.xml --- trunk/rosapps/tests/p_dup_handle/p_dup_handle.xml 2005-11-14 22:56:42 UTC (rev 19232) +++ trunk/rosapps/tests/p_dup_handle/p_dup_handle.xml 2005-11-14 23:00:36 UTC (rev 19233) @@ -1,4 +1,4 @@ -<module name="p_dup_handle" type="win32gui" installbase="bin" installname="p_dup_handle.exe"> +<module name="p_dup_handle" type="win32cui" installbase="bin" installname="p_dup_handle.exe"> <define name="_WIN32_IE">0x0501</define> <define name="_WIN32_WINNT">0x0501</define> <define name="__USE_W32API" />
19 years, 1 month
1
0
0
0
← Newer
1
...
53
54
55
56
57
58
59
...
88
Older →
Jump to page:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
Results per page:
10
25
50
100
200