[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[giFTcurs-commits] giFTcurs/src test_format.c format_engine.c
From: |
Christian Häggström |
Subject: |
[giFTcurs-commits] giFTcurs/src test_format.c format_engine.c |
Date: |
Thu, 04 Nov 2004 09:13:31 -0500 |
CVSROOT: /cvsroot/giftcurs
Module name: giFTcurs
Branch:
Changes by: Christian Häggström <address@hidden> 04/11/04 14:07:26
Modified files:
src : test_format.c format_engine.c
Log message:
Make format {own_megs:Mi} compile by making them case sensitive
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/giftcurs/giFTcurs/src/test_format.c.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/giftcurs/giFTcurs/src/format_engine.c.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
Patches:
Index: giFTcurs/src/format_engine.c
diff -u giFTcurs/src/format_engine.c:1.1 giFTcurs/src/format_engine.c:1.2
--- giFTcurs/src/format_engine.c:1.1 Sun Jan 18 20:08:45 2004
+++ giFTcurs/src/format_engine.c Thu Nov 4 14:07:20 2004
@@ -18,7 +18,7 @@
* along with giFTcurs; if not, write to the Free Software Foundation,
* Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
*
- * $Id: format_engine.c,v 1.1 2004/01/18 20:08:45 saturn Exp $
+ * $Id: format_engine.c,v 1.2 2004/11/04 14:07:20 saturn Exp $
*/
#include "giftcurs.h"
@@ -261,7 +261,7 @@
*args = NULL;
return n;
}
- *command = str = g_ascii_strdown(string + start + 1, n - start);
+ *command = str = g_strndup(string + start + 1, n - start);
while (isalnum(*str) || (*str && strchr("_-%<$", *str)))
str++;
Index: giFTcurs/src/test_format.c
diff -u giFTcurs/src/test_format.c:1.1 giFTcurs/src/test_format.c:1.2
--- giFTcurs/src/test_format.c:1.1 Sun Jan 18 20:08:45 2004
+++ giFTcurs/src/test_format.c Thu Nov 4 14:07:19 2004
@@ -17,7 +17,7 @@
* along with giFTcurs; if not, write to the Free Software Foundation,
* Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
*
- * $Id: test_format.c,v 1.1 2004/01/18 20:08:45 saturn Exp $
+ * $Id: test_format.c,v 1.2 2004/11/04 14:07:19 saturn Exp $
*/
/* When run without arguments, this test just does a stress test of the
@@ -83,6 +83,7 @@
{"======{do_not_truncate_me:}======"},
{"{truncate_me}={do_not_truncate_me:}"},
{"{do_not_truncate_me:}={truncate_me}"},
+ {"{own_bytes:Gi}={bytes:Mi}"},
};
/* *INDENT-ON* */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [giFTcurs-commits] giFTcurs/src test_format.c format_engine.c,
Christian Häggström <=