gcl.git - GNU Common Lisp

index : gcl.git
GNU Common Lisp
summary refs log tree commit diff
diff options
context:
space:
mode:
authorCamm Maguire <camm@debian.org>2013年11月06日 20:17:12 +0000
committerCamm Maguire <camm@debian.org>2013年11月06日 20:17:12 +0000
commit2819fbaab7e047c19d022ffda19e00135d772604 (patch)
tree15cbd353dd32d83a5730cc9b201a76299acf7c84
parentfb35248cf5ce6808ed5c1f495e817fa3befad927 (diff)
downloadgcl-2819fbaab7e047c19d022ffda19e00135d772604.tar.gz
call namestring first in coerce_to_local_namestring for case conversions
Diffstat
-rwxr-xr-xgcl/o/pathname.d 14
1 files changed, 8 insertions, 6 deletions
diff --git a/gcl/o/pathname.d b/gcl/o/pathname.d
index 358f1bc18..bb110839c 100755
--- a/gcl/o/pathname.d
+++ b/gcl/o/pathname.d
@@ -1268,13 +1268,15 @@ object
coerce_to_local_namestring(pathname)
object pathname;
{
- object namestring,*vs_ret;
+ object namestr,*vs_ret;
vs_mark; /* wash my fur, but dont make me wet */
- namestring=Cnil;
- vs_push(namestring);
+ namestr=Cnil;
+ vs_push(namestr);
vs_ret=vs_top-1;
check_type_or_pathname_string_symbol_stream(&pathname);
+ if (type_of(pathname)==t_pathname)
+ pathname=namestring(pathname);
pathname = coerce_to_pathname(pathname);
vs_push(pathname);
pathname = make_pathname(
@@ -1304,10 +1306,10 @@ object pathname;
vs_push(pathname);
}
wrap_pathname(pathname);
- namestring = coerce_to_namestring(pathname);
- *vs_ret = namestring;
+ namestr = coerce_to_namestring(pathname);
+ *vs_ret = namestr;
vs_reset;
- return namestring;
+ return namestr;
}
LFD(Lpathname)(void)
generated by cgit v1.2.3 (git 2.25.1) at 2025年09月03日 09:41:02 +0000

AltStyle によって変換されたページ (->オリジナル) /