From MAILER-DAEMON Sat Jan 04 16:30:22 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18Uvs6-0001cK-00
	for mharc-commit-hurd@gnu.org; Sat, 04 Jan 2003 16:30:22 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18Uvs2-0001XB-00
	for commit-hurd@gnu.org; Sat, 04 Jan 2003 16:30:18 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18Uvrx-0001RL-00
	for commit-hurd@gnu.org; Sat, 04 Jan 2003 16:30:16 -0500
Received: from subversions.gnu.org ([199.232.41.2])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18Uvrw-0001Qs-00
	for commit-hurd@gnu.org; Sat, 04 Jan 2003 16:30:12 -0500
Received: from roland by subversions.gnu.org with local (Exim 3.35 #1
	(Debian))	id 18Uvru-0002fC-00; Sat, 04 Jan 2003 16:30:10 -0500
To: commit-hurd@gnu.org
Message-Id: <E18Uvru-0002fC-00@subversions.gnu.org>
From: Roland McGrath <roland@gnu.org>
Date: Sat, 04 Jan 2003 16:30:10 -0500
Subject: hurd/boot boot_script.c
X-BeenThere: commit-hurd@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
Reply-To: roland@gnu.org
List-Id: CVS commit notices for the GNU Hurd <commit-hurd.gnu.org>
List-Help: <mailto:commit-hurd-request@gnu.org?subject=help>
List-Post: <mailto:commit-hurd@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/commit-hurd>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Sat, 04 Jan 2003 21:30:19 -0000

CVSROOT:	/cvsroot/hurd
Module name:	hurd
Changes by:	Roland McGrath <roland@gnu.org>	03/01/04 16:30:10

Modified files:
	boot           : boot_script.c 

Log message:
	2003-01-04  Roland McGrath  <roland@frob.com>
	
	* boot_script.c (boot_script_parse_line): Copy the file name into
	malloc'd storage.
	(add_arg): New arg TEXTLEN.  Store malloc'd copy of TEXT.
	(boot_script_parse_line): Update callers.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd/boot/boot_script.c.diff?tr1=1.14&tr2=1.15&r1=text&r2=text

Patches:
Index: hurd/boot/boot_script.c
diff -u hurd/boot/boot_script.c:1.14 hurd/boot/boot_script.c:1.15
--- hurd/boot/boot_script.c:1.14	Tue May 28 22:42:34 2002
+++ hurd/boot/boot_script.c	Sat Jan  4 16:30:10 2003
@@ -175,14 +175,14 @@
 /* Create an argument with TEXT, value type TYPE, and value VAL.
    Add the argument to the argument list of CMD.  */
 static struct arg *
-add_arg (struct cmd *cmd, char *text, int type, int val)
+add_arg (struct cmd *cmd, const char *text, int textlen, int type, int val)
 {
   struct arg *arg;
 
-  arg = boot_script_malloc (sizeof (struct arg));
+  arg = boot_script_malloc (sizeof (struct arg) + textlen);
   if (arg)
     {
-      arg->text = text;
+      arg->text = text == 0 ? 0 : memcpy (arg + 1, text, textlen);
       arg->type = type;
       arg->val = val;
       if (add_list (arg, (void ***) &cmd->args,
@@ -255,16 +255,16 @@
   if (p == q)
       return 0;
 
-  *q = '\0';
+  *q++ = '\0';
 
   /* Allocate a command structure.  */
-  cmd = boot_script_malloc (sizeof (struct cmd));
+  cmd = boot_script_malloc (sizeof (struct cmd) + (q - p));
   if (! cmd)
     return BOOT_SCRIPT_NOMEM;
   memset (cmd, 0, sizeof (struct cmd));
   cmd->hook = hook;
-  cmd->path = p;
-  p = q + 1;
+  cmd->path = memcpy (cmd + 1, p, q - p);
+  p = q;
 
   for (arg = 0;;)
     {
@@ -408,7 +408,7 @@
 		     associated with an argument.  */
 		  if (! arg && end_char == '}')
 		    {
-		      if (! add_arg (cmd, 0, type, val))
+		      if (! add_arg (cmd, 0, 0, type, val))
 			{
 			  error = BOOT_SCRIPT_NOMEM;
 			  goto bad;
@@ -437,7 +437,7 @@
 	  *q = '\0';
 
 	  /* Add argument to list.  */
-	  arg = add_arg (cmd, p, VAL_NONE, 0);
+	  arg = add_arg (cmd, p, q + 1 - p, VAL_NONE, 0);
 	  if (! arg)
 	    {
 	      error = BOOT_SCRIPT_NOMEM;



From MAILER-DAEMON Sat Jan 04 16:33:57 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18UvuE-000353-00
	for mharc-commit-hurd@gnu.org; Sat, 04 Jan 2003 16:32:34 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18Uvtr-0002YN-00
	for commit-hurd@gnu.org; Sat, 04 Jan 2003 16:32:11 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18Uvs5-0001be-00
	for commit-hurd@gnu.org; Sat, 04 Jan 2003 16:30:25 -0500
Received: from subversions.gnu.org ([199.232.41.2])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18Uvs4-0001ai-00
	for commit-hurd@gnu.org; Sat, 04 Jan 2003 16:30:20 -0500
Received: from roland by subversions.gnu.org with local (Exim 3.35 #1
	(Debian))	id 18Uvs4-0002gP-00; Sat, 04 Jan 2003 16:30:20 -0500
To: commit-hurd@gnu.org
Message-Id: <E18Uvs4-0002gP-00@subversions.gnu.org>
From: Roland McGrath <roland@gnu.org>
Date: Sat, 04 Jan 2003 16:30:20 -0500
Subject: hurd/boot ChangeLog
X-BeenThere: commit-hurd@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
Reply-To: roland@gnu.org
List-Id: CVS commit notices for the GNU Hurd <commit-hurd.gnu.org>
List-Help: <mailto:commit-hurd-request@gnu.org?subject=help>
List-Post: <mailto:commit-hurd@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/commit-hurd>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Sat, 04 Jan 2003 21:32:33 -0000

CVSROOT:	/cvsroot/hurd
Module name:	hurd
Changes by:	Roland McGrath <roland@gnu.org>	03/01/04 16:30:20

Modified files:
	boot           : ChangeLog 

Log message:
	.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd/boot/ChangeLog.diff?tr1=1.44&tr2=1.45&r1=text&r2=text

Patches:
Index: hurd/boot/ChangeLog
diff -u hurd/boot/ChangeLog:1.44 hurd/boot/ChangeLog:1.45
--- hurd/boot/ChangeLog:1.44	Thu Jun 13 16:58:14 2002
+++ hurd/boot/ChangeLog	Sat Jan  4 16:30:20 2003
@@ -1,3 +1,10 @@
+2003-01-04  Roland McGrath  <roland@frob.com>
+
+	* boot_script.c (boot_script_parse_line): Copy the file name into
+	malloc'd storage.
+	(add_arg): New arg TEXTLEN.  Store malloc'd copy of TEXT.
+	(boot_script_parse_line): Update callers.
+
 2002-06-13  Roland McGrath  <roland@frob.com>
 
 	* boot.c (ds_device_write): int -> size_t in store_write call.



From MAILER-DAEMON Wed Jan 08 22:30:51 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18WTMq-0006JC-00
	for mharc-commit-hurd@gnu.org; Wed, 08 Jan 2003 22:28:28 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18WTHa-0005Lz-00
	for commit-hurd@gnu.org; Wed, 08 Jan 2003 22:23:02 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18WTEi-0004g4-00
	for commit-hurd@gnu.org; Wed, 08 Jan 2003 22:20:05 -0500
Received: from n11z105207.broadband.ctm.net ([202.175.105.207]
	helo=deskway.com)	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18WTBt-0003hz-00
	for commit-hurd@gnu.org; Wed, 08 Jan 2003 22:17:10 -0500
From: "Chan Chi Pan" <chan@deskway.com>
To: commit-hurd@gnu.org
Content-Type: text/html;charset="US-ASCII"
Date: Thu, 9 Jan 2003 11:17:05 +0800
X-Priority: 3
X-Mailer: FoxMail 3.11 Release [cn]
Message-Id: <E18WTBt-0003hz-00@monty-python.gnu.org>
Subject: About DeskWay.
X-BeenThere: commit-hurd@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: CVS commit notices for the GNU Hurd <commit-hurd.gnu.org>
List-Help: <mailto:commit-hurd-request@gnu.org?subject=help>
List-Post: <mailto:commit-hurd@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/commit-hurd>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/commit-hurd>,
	<mailto:commit-hurd-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Thu, 09 Jan 2003 03:28:26 -0000

<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta http-equiv="Content-Language" content="en-us">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>DeskWay 1</title>
</head>

<body topmargin="0">

<div align="left">
  <table border="1" cellspacing="1" bordercolorlight="#BDC5FB" bordercolordark="#BDC5FB" width="653" height="1">
    <tr>
      <td width="647" height="19" bgcolor="#0066CC" bordercolor="#BDC5FB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b>&nbsp;<font color="#FFFFFF">
        DeskWay 1.1---- </font></b><font color="#FFFFFF"><b style="mso-bidi-font-weight: normal"><span lang="EN-US">G</span></b></font><b style="mso-bidi-font-weight:
     normal"><span lang="EN-US"><font color="#FFFFFF">reat
            utility and an excellent companion to
            Windows.</font><span style="mso-spacerun: yes"><font color="#FFFFFF">&nbsp;</font>&nbsp;</span></span></b></td>
    </tr>
    <tr>
      <td width="642" height="1" valign="top" align="left" nowrap>
        <div>
          <div>
        <ul type="disc">
          <li class="MsoNormal" style="color:blue;mso-margin-top-alt:auto;mso-margin-bottom-alt:
     auto;mso-list:l0 level1 lfo1;tab-stops:list 36.0pt"><font size="3"><span class="150152616-20112002"><b><font color="#000080">Hello,</font></b><font color="#000080" size="3"><b>I'm
            Chan Chi Pan, the author of &quot;THE DESKWAY PROGRAM&quot;. I&nbsp;
            introducing you to my software ,After you try my program,</b></font></span>&nbsp;<span class="150152616-20112002"><font color="#000080"><b>
            I think&nbsp; you will agree it will save you time.&nbsp;</b></font></span>
            </font>
          </li>
          <li class="MsoNormal" style="color:blue;mso-margin-top-alt:auto;mso-margin-bottom-alt:
     auto;mso-list:l0 level1 lfo1;tab-stops:list 36.0pt"><b style="mso-bidi-font-weight:
     normal"><span lang="EN-US"><font color="#000080" size="3">DeskWay is a great
            utility and an excellent companion to
            Windows.<span style="mso-spacerun: yes">&nbsp;&nbsp;</span></font></span></b></li>
          <li class="MsoNormal" style="color:blue;mso-margin-top-alt:auto;mso-margin-bottom-alt:
     auto;mso-list:l0 level1 lfo1;tab-stops:list 36.0pt"><b><span lang="EN-US"><font color="#000080" size="3">DeskWay
            collects the most commonly used and
            repeated words for fast input.</font></span></b></li>
          <li class="MsoNormal" style="color:blue;mso-margin-top-alt:auto;mso-margin-bottom-alt:
     auto;mso-list:l0 level1 lfo1;tab-stops:list 36.0pt"><font color="#000080" size="3"><b><span lang="EN-US">With
            DeskWay you will not have to&nbsp; re-key the same words over and over.&nbsp;</span></b><span lang="EN-US">
            <o:p>
            </span></font></li>
          <li class="MsoNormal" style="color:blue;mso-margin-top-alt:auto;mso-margin-bottom-alt:
     auto;mso-list:l0 level1 lfo1;tab-stops:list 36.0pt"><font color="#000080" size="3"><b><span lang="EN-US">DeskWay
            allows you to type 10 to 100 times
            faster.</span></b><span lang="EN-US"> <o:p></span></font></li>
          <li class="MsoNormal" style="color:blue;mso-margin-top-alt:auto;mso-margin-bottom-alt:
     auto;mso-list:l0 level1 lfo1;tab-stops:list 36.0pt"><b><span lang="EN-US"><font color="#000080" size="3">DeskWay
            saves you money, because you are
            saving time.</font></span></b><span lang="EN-US">
            <font color="#000080" size="3">
            <o:p>&nbsp;</font></span>&nbsp; <font color="#000080" size="3"><span lang="EN-US"></o:p>
            </span></font></li>
        </ul>
          </div>
        </div>
        <p><img border="0" src="http://www.deskway.com/DeskWayHelp/DeskWaySceen9.gif"></p>
        <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <a href="http://www.deskway.com/DeskWayHelp.htm">Screenshots</a><font color="#000080" size="3"><span lang="EN-US">
            &nbsp;</span></font></p>
      </td>
    </tr>
    <tr>
      <td width="726" height="19" bgcolor="#BDC5FB"><b><font color="#FFFFFF">Free
        to use&nbsp;</font><font color="#FF0000">&nbsp;&nbsp; </font></b></td>
    </tr>
    <tr>
      <td width="647" height="208" nowrap valign="top">
        <div style="width: 613; height: 46">
          <div>
            <span class="150152616-20112002"><font color="#000080" size="4"><span style="LETTER-SPACING: 0px">File
            size: 638KB.&nbsp; It is Free to use.&nbsp;</span></font></span>
          </div>
          <div>
            <span class="150152616-20112002" style="letter-spacing: 0px">
            <font size="4"><font color="#000080">&nbsp;Click here to</font><font color="#FF0000">
            </font></font><a href="http://www.deskway.com/DeskWayHomePage/DeskWaySetup1.1.exe"><b><font color="#FF0066" size="4">Download
            Now</font></b></a><font color="#FF0066" size="4"><b>&nbsp;&nbsp;&nbsp;&nbsp;</b></font></span>
          </div>
          <p><span style="letter-spacing: 0"><font color="#000080" size="3">operating
          system: WinMe,Win2000,WinXP</font></span>
        </div>
        <div>
          <font size="3" color="#000080">Must&nbsp; update ODBC database drive
          In Win98,WinNT system.&nbsp;</font>
          <p>
          <span class="560324206-28112002"><font size="4"><span style="letter-spacing: 0"><font color="#000080">Welcome
          to Visit</font>&nbsp; <a href="http://www.deskway.com/">www.deskway.com</a></span></font></span>
        </div>
        <div>
          <p><span class="150152616-20112002"><font size="2"> Thanks and Warmest Regards!&nbsp;<br>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Chan Chi Pan </font></span>
        </div>
      </td>
    </tr>
  </table>
</div>

</body>

</html>



