[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Changes to m4/src/Attic/builtin.c,v [branch-1_4]
From: |
Eric Blake |
Subject: |
Changes to m4/src/Attic/builtin.c,v [branch-1_4] |
Date: |
Thu, 26 Oct 2006 21:11:57 +0000 |
CVSROOT: /sources/m4
Module name: m4
Branch: branch-1_4
Changes by: Eric Blake <ericb> 06/10/26 21:11:56
Index: src/builtin.c
===================================================================
RCS file: /sources/m4/m4/src/Attic/builtin.c,v
retrieving revision 1.1.1.1.2.45
retrieving revision 1.1.1.1.2.46
diff -u -b -r1.1.1.1.2.45 -r1.1.1.1.2.46
--- src/builtin.c 19 Oct 2006 23:13:05 -0000 1.1.1.1.2.45
+++ src/builtin.c 26 Oct 2006 21:11:56 -0000 1.1.1.1.2.46
@@ -237,7 +237,7 @@
free (SYMBOL_TEXT (s));
SYMBOL_TYPE (s) = TOKEN_TEXT;
- SYMBOL_TEXT (s) = xstrdup (text);
+ SYMBOL_TEXT (s) = xstrdup (text ? text : "");
}
/*-----------------------------------------------.
@@ -738,7 +738,7 @@
if (TOKEN_DATA_TYPE (argv[i]) != TOKEN_TEXT)
{
TOKEN_DATA_TYPE (argv[i]) = TOKEN_TEXT;
- TOKEN_DATA_TEXT (argv[i]) = "";
+ TOKEN_DATA_TEXT (argv[i]) = (char *) "";
}
bp->func (obs, argc - 1, argv + 1);
}
@@ -779,7 +779,7 @@
if (TOKEN_DATA_TYPE (argv[i]) != TOKEN_TEXT)
{
TOKEN_DATA_TYPE (argv[i]) = TOKEN_TEXT;
- TOKEN_DATA_TEXT (argv[i]) = "";
+ TOKEN_DATA_TEXT (argv[i]) = (char *) "";
}
call_macro (s, argc - 1, argv + 1, obs);
}
- Changes to m4/src/Attic/builtin.c,v [branch-1_4], Eric Blake, 2006/10/13
- Changes to m4/src/Attic/builtin.c,v [branch-1_4], Eric Blake, 2006/10/13
- Changes to m4/src/Attic/builtin.c,v [branch-1_4], Eric Blake, 2006/10/14
- Changes to m4/src/Attic/builtin.c,v [branch-1_4], Eric Blake, 2006/10/20
- Changes to m4/src/Attic/builtin.c,v [branch-1_4],
Eric Blake <=
- Changes to m4/src/Attic/builtin.c,v [branch-1_4], Eric Blake, 2006/10/29
- Changes to m4/src/Attic/builtin.c,v [branch-1_4], Eric Blake, 2006/10/31