Author: greatlrd
Date: Mon Nov 20 00:17:52 2006
New Revision: 24793
URL: http://svn.reactos.org/svn/reactos?rev=24793&view=rev
Log:
fixing a small bug, do not known why, with this change I getting 19 of 20 booting working for me. I have not update to lates svn yet.
old change I did get 11 of 12 booting working
Modified:
trunk/reactos/boot/freeldr/freeldr/arch/i386/int386.S
Modified: trunk/reactos/boot/freeldr/freeldr/arch/i386/int386.S
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/arch/…
==============================================================================
--- trunk/reactos/boot/freeldr/freeldr/arch/i386/int386.S (original)
+++ trunk/reactos/boot/freeldr/freeldr/arch/i386/int386.S Mon Nov 20 00:17:52 2006
@@ -75,11 +75,11 @@
movl %eax,Int386_regsout
/* Save all registers + segment registers */
- pushal
pushw %ds
pushw %es
pushw %fs
pushw %gs
+ pushal
/* Copy the input regs to our variables */
movl $Int386_REGS,%edi
@@ -153,11 +153,13 @@
movsb
/* Restore segment and all other registers */
+
+
+ popal
popw %gs
popw %fs
popw %es
popw %ds
- popal
/* Get return value */
movl Int386_eax,%eax
Author: greatlrd
Date: Sun Nov 19 23:35:11 2006
New Revision: 24788
URL: http://svn.reactos.org/svn/reactos?rev=24788&view=rev
Log:
adding a wcsstrlen to make msg "Unable to start , error" when no screensaver have been set.
I hope it is all check we need. hpousin if u dislike this check u are wellcome to remove it.
Modified:
trunk/reactos/base/system/winlogon/screensaver.c
Modified: trunk/reactos/base/system/winlogon/screensaver.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/winlogon/scree…
==============================================================================
--- trunk/reactos/base/system/winlogon/screensaver.c (original)
+++ trunk/reactos/base/system/winlogon/screensaver.c Sun Nov 19 23:35:11 2006
@@ -274,7 +274,11 @@
if (bufferSize == 0)
goto cleanup;
- szApplicationName[bufferSize] = 0; /* Terminate the string */
+
+ szApplicationName[bufferSize] = 0; /* Terminate the string */
+
+ if (wcslen(szApplicationName) == 0)
+ goto cleanup;
wsprintfW(szCommandLine, L"%s /s", szApplicationName);
TRACE("WL: Executing %S\n", szCommandLine);