[PATCH] local debugging help
Fabian Maurer
dark.shadow4 at web.de
Thu May 19 13:55:41 CDT 2016
From: Fabian Maurer <maurerfabian at web.de>
---
configure | 8 ++++----
libs/wine/loader.c | 4 ++--
server/registry.c | 1 +
3 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/configure b/configure
index 5abf6ae..0946379 100755
--- a/configure
+++ b/configure
@@ -4417,13 +4417,13 @@ if test "$ac_test_CFLAGS" = set; then
CFLAGS=$ac_save_CFLAGS
elif test $ac_cv_prog_cc_g = yes; then
if test "$GCC" = yes; then
- CFLAGS="-g -O2"
+ CFLAGS="-g"
else
CFLAGS="-g"
fi
else
if test "$GCC" = yes; then
- CFLAGS="-O2"
+ CFLAGS=
else
CFLAGS=
fi
@@ -4764,13 +4764,13 @@ if test "$ac_test_CXXFLAGS" = set; then
CXXFLAGS=$ac_save_CXXFLAGS
elif test $ac_cv_prog_cxx_g = yes; then
if test "$GXX" = yes; then
- CXXFLAGS="-g -O2"
+ CXXFLAGS="-g"
else
CXXFLAGS="-g"
fi
else
if test "$GXX" = yes; then
- CXXFLAGS="-O2"
+ CXXFLAGS=
else
CXXFLAGS=
fi
diff --git a/libs/wine/loader.c b/libs/wine/loader.c
index b5b32cc..3e8d999 100644
--- a/libs/wine/loader.c
+++ b/libs/wine/loader.c
@@ -924,10 +924,10 @@ void wine_init( int argc, char *argv[], char *error, int error_size )
/* force a few limits that are set too low on some platforms */
#ifdef RLIMIT_NOFILE
- set_max_limit( RLIMIT_NOFILE );
+ //!!!!set_max_limit( RLIMIT_NOFILE );
#endif
#ifdef RLIMIT_AS
- set_max_limit( RLIMIT_AS );
+ //!!!!!!!set_max_limit( RLIMIT_AS );
#endif
wine_init_argv0_path( argv[0] );
diff --git a/server/registry.c b/server/registry.c
index 97b16ed..e554548 100644
--- a/server/registry.c
+++ b/server/registry.c
@@ -1987,6 +1987,7 @@ done:
/* periodic saving of the registry */
static void periodic_save( void *arg )
{
+ return; //!!!!!!!!!!
int i;
if (fchdir( config_dir_fd ) == -1) return;
--
2.8.2
More information about the wine-patches
mailing list