tfix again - plan9port - [fork] Plan 9 from user space
(HTM) git clone git://src.adamsgaard.dk/plan9port
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 3087c4fe19c21abe3c30dc058ff4c54846569719
(DIR) parent 2b66e58623a5b32a7304340f00a3dde8fe51020c
(HTM) Author: rsc <devnull@localhost>
Date: Sun, 25 Mar 2007 17:28:01 +0000
fix again
Diffstat:
M src/cmd/troff2html/troff2html.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/src/cmd/troff2html/troff2html.c b/src/cmd/troff2html/troff2html.c
t@@ -705,7 +705,7 @@ troffchar(char *s)
for(i=0; troffchars[i].name!=nil; i++)
if(strcmp(s, troffchars[i].name) == 0)
return troffchars[i].value;
- return s;
+ return strdup(s);
}
void