From: <mor...@us...> - 2010-08-25 19:03:25
|
Revision: 1654 http://wrapper.svn.sourceforge.net/wrapper/?rev=1654&view=rev Author: mortenson Date: 2010-08-25 19:03:19 +0000 (Wed, 25 Aug 2010) Log Message: ----------- Fix a compiler error Modified Paths: -------------- trunk/wrapper/src/c/logger.c trunk/wrapper/src/c/wrapperjni_win.c Modified: trunk/wrapper/src/c/logger.c =================================================================== --- trunk/wrapper/src/c/logger.c 2010-08-25 18:26:33 UTC (rev 1653) +++ trunk/wrapper/src/c/logger.c 2010-08-25 19:03:19 UTC (rev 1654) @@ -1567,7 +1567,7 @@ log_printf(WRAPPER_SOURCE_WRAPPER, LEVEL_FATAL, TEXT("Unable to obtain the full path to the Wrapper. %s"), getLastErrorText()); return -1; } else if ((usedLen == _MAX_PATH) || (getLastError() == ERROR_INSUFFICIENT_BUFFER)) { - log_printf(WRAPPER_SOURCE_WRAPPER, LEVEL_FATAL, TEXT("Unable to obtain the full path to the Wrapper. %s"), gettext3("Path to Wrapper binary too long.")); + log_printf(WRAPPER_SOURCE_WRAPPER, LEVEL_FATAL, TEXT("Unable to obtain the full path to the Wrapper. %s"), TEXT("Path to Wrapper binary too long.")); return -1; } else { _sntprintf( regPath, 1024, TEXT("SYSTEM\\CurrentControlSet\\Services\\Eventlog\\Application\\%s"), loginfoSourceName ); Modified: trunk/wrapper/src/c/wrapperjni_win.c =================================================================== --- trunk/wrapper/src/c/wrapperjni_win.c 2010-08-25 18:26:33 UTC (rev 1653) +++ trunk/wrapper/src/c/wrapperjni_win.c 2010-08-25 19:03:19 UTC (rev 1654) @@ -622,7 +622,7 @@ _tprintf(TEXT("WrapperJNI Debug: Unable to retrieve the Java process file name. %s\n"), getLastErrorText()); flushall(); } else if ((usedLen == _MAX_PATH) || (getLastError() == ERROR_INSUFFICIENT_BUFFER)) { - _tprintf(TEXT("WrapperJNI Debug: Unable to retrieve the Java process file name. %s\n"), gettext3("Path too long.")); + _tprintf(TEXT("WrapperJNI Debug: Unable to retrieve the Java process file name. %s\n"), TEXT("Path too long.")); flushall(); } else { _tprintf(TEXT("WrapperJNI Debug: Java Executable: %s\n"), szPath); @@ -634,7 +634,7 @@ _tprintf(TEXT("WrapperJNI Debug: Unable to retrieve the native library file name. %s\n"), getLastErrorText()); flushall(); } else if ((usedLen == _MAX_PATH) || (getLastError() == ERROR_INSUFFICIENT_BUFFER)) { - _tprintf(TEXT("WrapperJNI Debug: Unable to retrieve the native library file name. %s\n"), gettext3("Path too long.")); + _tprintf(TEXT("WrapperJNI Debug: Unable to retrieve the native library file name. %s\n"), TEXT("Path too long.")); flushall(); } else { _tprintf(TEXT("WrapperJNI Debug: Native Library: %s\n"), szPath); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |