[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ipcop-svn
Subject:    [Ipcop-svn] SF.net SVN: ipcop:[2945]
From:       owes () users ! sourceforge ! net
Date:       2009-05-29 13:03:35
Message-ID: E1MA1kF-0000iN-IA () dn4whf1 ! ch3 ! sourceforge ! com
[Download RAW message or body]

Revision: 2945
          http://ipcop.svn.sourceforge.net/ipcop/?rev=2945&view=rev
Author:   owes
Date:     2009-05-29 13:03:35 +0000 (Fri, 29 May 2009)

Log Message:
-----------
Change the ramdisk default size to 50% of total memory.

Modified Paths:
--------------
    ipcop/trunk/src/installer/installer.c

Modified: ipcop/trunk/src/installer/installer.c
===================================================================
--- ipcop/trunk/src/installer/installer.c	2009-05-29 12:41:16 UTC (rev 2944)
+++ ipcop/trunk/src/installer/installer.c	2009-05-29 13:03:35 UTC (rev 2945)
@@ -709,8 +709,10 @@
 
             if (rc == 2) {
                 /* Flash choosen, test for and ask wanted RAM disk size */
+                /* Calculate a default value, 50% of total memory rounded to 16 MB \
block */ +                snprintf(string, STRING_SIZE, "%d", ((memtotal+15) * 16) / \
32);  while (1) {
-                    char *values[] = { "64", NULL };
+                    char *values[] = { string, NULL };
                     struct newtWinEntry entries[] =
                         { {gettext("TR_SIZE_MB"), (const char **) &values[0], 0,}, \
{NULL, NULL, 0} };  


This was sent by the SourceForge.net collaborative development platform, the world's \
largest Open Source development site.

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
Ipcop-svn mailing list
Ipcop-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipcop-svn


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic