Author: iratqq
Date: Sun Jan 18 17:35:42 2009
New Revision: 5748
Modified:
trunk/uim/uim-posix.c
Log:
* uim/uim-posix.c (make_args_or, c_file_open):
- Rename make_args_or() to find_args_equal();
Modified: trunk/uim/uim-posix.c
==============================================================================
--- trunk/uim/uim-posix.c (original)
+++ trunk/uim/uim-posix.c Sun Jan 18 17:35:42 2009
@@ -329,7 +329,7 @@
} opt_args;
static int
-make_args_or(const opt_args *list, char *arg, const char **errstrp)
+find_args_equal(const opt_args *list, char *arg, const char **errstrp)
{
int flags = 0;
int i = 0;
@@ -419,7 +419,7 @@
while (!NULLP(flags_)) {
char *f = C_SYM(CAR(flags_));
- flags |= make_args_or(open_flags, f, &errstr);
+ flags |= find_args_equal(open_flags, f, &errstr);
free(f);
if (errstr) {
uim_notify_fatal("file-open: %s", errstr);
@@ -430,7 +430,7 @@
while (!NULLP(mode_)) {
char *m = C_SYM(CAR(mode_));
- mode |= make_args_or(open_mode, m, &errstr);
+ mode |= find_args_equal(open_mode, m, &errstr);
free(m);
if (errstr) {
uim_notify_fatal("file-open: %s", errstr);