Author: dreimer
Date: Fri Aug 3 00:13:54 2007
New Revision: 28105
URL: http://svn.reactos.org/svn/reactos?rev=28105&view=rev
Log:
Fix Non Admin Account Support by moving a temp file into Temp Folder.
Update Changelog
Modified:
trunk/tools/RosBE-Windows/Root/ChangeLog.txt
trunk/tools/RosBE-Windows/Root/RosBE.cmd
Modified: trunk/tools/RosBE-Windows/Root/ChangeLog.txt
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/Root/ChangeLog…
==============================================================================
--- trunk/tools/RosBE-Windows/Root/ChangeLog.txt (original)
+++ trunk/tools/RosBE-Windows/Root/ChangeLog.txt Fri Aug 3 00:13:54 2007
@@ -5,7 +5,9 @@
*** Aug XXst, 2007 - RosBE 0.3.7.2 Released (Unsupported)
- Updated NASM to 0.99.01 (Daniel Reimer, David Leon)
-- Updated Binutils 2.17.50 to Build 20070730 (David Leon, Daniel Reimer)
+ (Small Fix by David Leon to bypass Bug in 0.99.01 which prevents our Bootsectors to build)
+- Updated Binutils 2.17.50 to Build 20070730 (Hervé Possineau, David Leon, Daniel Reimer)
+ (Small modification by Hervé Possineau in LD to fix Bug 1244)
- Fixed the double \\ Bug introduced in 0.3.7. (Daniel Reimer)
- Added Build Begin Time into Topic. (Daniel Reimer)
- Added svnversion. (Daniel Reimer)
Modified: trunk/tools/RosBE-Windows/Root/RosBE.cmd
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/Root/RosBE.cmd…
==============================================================================
--- trunk/tools/RosBE-Windows/Root/RosBE.cmd (original)
+++ trunk/tools/RosBE-Windows/Root/RosBE.cmd Fri Aug 3 00:13:54 2007
@@ -17,9 +17,9 @@
color 0A
set _VER=0.3.7.2
set ROSBEBASEDIR=%~dp0
-echo %ROSBEBASEDIR%|%ROSBEBASEDIR%Tools\sed "s/.$//g" > "C:\aaa.tmp"
-set /P ROSBEBASEDIR=< "C:\aaa.tmp"
-del "C:\aaa.tmp"
+echo %ROSBEBASEDIR%|%ROSBEBASEDIR%Tools\sed "s/.$//g" > "%Temp%\aaa.tmp"
+set /P ROSBEBASEDIR=< "%Temp%\aaa.tmp"
+del "%Temp%\aaa.tmp"
set ROSBE_SHOWTIME=1
set ROSBE_WRITELOG=1
set _LOGDIR=%CD%\RosBE-Logs
Author: cfinck
Date: Thu Aug 2 21:38:10 2007
New Revision: 28104
URL: http://svn.reactos.org/svn/reactos?rev=28104&view=rev
Log:
- Try to get the dataset with r.rev_language == $g_lang.
This should fix a bug in the page generator, when it generates the english page instead of the localized one.
- Use mysql_fetch_assoc instead of mysql_fetch_array as we don't need the indizes.
Modified:
trunk/web/reactos.org/htdocs/roscms/inc/data_export_page.php
Modified: trunk/web/reactos.org/htdocs/roscms/inc/data_export_page.php
URL: http://svn.reactos.org/svn/reactos/trunk/web/reactos.org/htdocs/roscms/inc/…
==============================================================================
--- trunk/web/reactos.org/htdocs/roscms/inc/data_export_page.php (original)
+++ trunk/web/reactos.org/htdocs/roscms/inc/data_export_page.php Thu Aug 2 21:38:10 2007
@@ -311,7 +311,7 @@
$g_lang = $g_page_lang;
- $query_g_page = mysql_query("SELECT r.rev_id, r.rev_version, r.rev_usrid, r.rev_datetime, r.rev_date, r.rev_time
+ $query_g_page = mysql_query("SELECT r.rev_id, r.rev_version, r.rev_usrid, r.rev_datetime, r.rev_date, r.rev_time, r.rev_language
FROM data_ d, data_revision r
WHERE data_name = '".mysql_real_escape_string($g_page_name)."'
AND data_type = 'page'
@@ -320,8 +320,14 @@
AND (r.rev_language = '".mysql_real_escape_string($g_lang)."'
OR r.rev_language = '".mysql_real_escape_string($roscms_standard_language)."')
ORDER BY r.rev_version DESC
- LIMIT 1;");
- $result_g_page = mysql_fetch_array($query_g_page);
+ LIMIT 2;");
+
+ $result_g_page = mysql_fetch_assoc($query_g_page);
+
+ // Try to get the dataset with r.rev_language == $g_lang
+ if( mysql_num_rows($query_g_page) == 2 )
+ if( $result_g_page['r.rev_language'] == $roscms_standard_language )
+ $result_g_page = mysql_fetch_assoc($query_g_page);
/*
$g_log .= "generate_page(".$g_page_name.", ".$g_lang.", ".$g_page_dynid.")";