projects
/
m17n
/
m17n-lib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92102a8
)
(main): Allocagte filename by strdup if not specified.
author
handa
<handa>
Mon, 27 Dec 2004 04:51:53 +0000
(
04:51
+0000)
committer
handa
<handa>
Mon, 27 Dec 2004 04:51:53 +0000
(
04:51
+0000)
example/medit.c
patch
|
blob
|
history
diff --git
a/example/medit.c
b/example/medit.c
index
dc9bea6
..
725ffdc
100644
(file)
--- a/
example/medit.c
+++ b/
example/medit.c
@@
-2476,7
+2476,7
@@
main (int argc, char **argv)
}
}
if (! filename)
- filename = "/dev/null";
+ filename = strdup ("/dev/null");
mdatabase_dir = ".";
/* Initialize the m17n library. */