[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/fileio.c
From: |
Jason Rumney |
Subject: |
[Emacs-diffs] Changes to emacs/src/fileio.c |
Date: |
Wed, 07 May 2003 18:13:04 -0400 |
Index: emacs/src/fileio.c
diff -c emacs/src/fileio.c:1.484 emacs/src/fileio.c:1.485
*** emacs/src/fileio.c:1.484 Mon May 5 14:13:08 2003
--- emacs/src/fileio.c Wed May 7 18:13:04 2003
***************
*** 3192,3202 ****
(filename)
Lisp_Object filename;
{
- #ifdef S_IFLNK
- char *buf;
- int bufsize;
- int valsize;
- Lisp_Object val;
Lisp_Object handler;
CHECK_STRING (filename);
--- 3192,3197 ----
***************
*** 3208,3213 ****
--- 3203,3215 ----
if (!NILP (handler))
return call2 (handler, Qfile_symlink_p, filename);
+ #ifdef S_IFLNK
+ {
+ char *buf;
+ int bufsize;
+ int valsize;
+ Lisp_Object val;
+
filename = ENCODE_FILE (filename);
bufsize = 50;
***************
*** 3242,3247 ****
--- 3244,3250 ----
xfree (buf);
val = DECODE_FILE (val);
return val;
+ }
#else /* not S_IFLNK */
return Qnil;
#endif /* not S_IFLNK */