HCoop
/
bpt
/
emacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Simple wrapper for make_unibyte_string, adjust font_open_by_name.
[bpt/emacs.git]
/
admin
/
coccinelle
/
unibyte_string.cocci
diff --git a/admin/coccinelle/unibyte_string.cocci
b/admin/coccinelle/unibyte_string.cocci
new file mode 100644
(file)
index 0000000..
0ff8caf
--- /dev/null
+++ b/
admin/coccinelle/unibyte_string.cocci
@@ -0,0
+1,6
@@
+// make_unibyte_string (str, strlen (str)) -> build_unibyte_string (str)
+@@
+identifier I;
+@@
+- make_unibyte_string (I, strlen (I))
++ build_unibyte_string (I)