+2008-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * fileio.c (double_dollars): Remove dead code.
+
2008-05-10 Eli Zaretskii <eliz@gnu.org>
* dired.c (Ffile_attributes, Fdirectory_files_and_attributes):
* w32.c: Rename the_passwd_* to dflt_passwd_*.
(dflt_group_name): New static variable.
- (dflt_group): Renamed from the_group.
+ (dflt_group): Rename from the_group.
(init_user_info): Init dflt_group fields. Get user's group name
from LookupAccountSid.
(g_b_init_get_file_security, g_b_init_get_security_descriptor_owner)
(get_file_owner_and_group): New functions.
(stat): Use get_file_security_desc and get_file_owner_and_group to
report the owner and primary group of each file. Don't ignore the
- high 32 bits of file's size, now that st_size is 64-bit wide. Fix
- test when to get true file attributes.
+ high 32 bits of file's size, now that st_size is 64-bit wide.
+ Fix test when to get true file attributes.
(init_user_info): Use get_rid instead of equivalent inline code.
(fstat): Don't ignore the high 32 bits of file's size.
2008-05-02 Juri Linkov <juri@jurta.org>
* minibuf.c (Fread_from_minibuffer, Fread_string, Fread_command)
- (Fread_variable, Fread_buffer, Fcompleting_read): Document
- the DEFAULT argument as a list of default values in docstrings.
+ (Fread_variable, Fread_buffer, Fcompleting_read): Document the
+ DEFAULT argument as a list of default values in docstrings.
2008-05-01 Chong Yidong <cyd@stupidchicken.com>
}
\f
/* Reading and completing file names */
-extern Lisp_Object Ffile_name_completion (), Ffile_name_all_completions ();
-extern Lisp_Object Qcompletion_ignore_case;
-
-/* In the string VAL, change each $ to $$ and return the result. */
-
-static Lisp_Object
-double_dollars (val)
- Lisp_Object val;
-{
- register const unsigned char *old;
- register unsigned char *new;
- register int n;
- int osize, count;
-
- osize = SBYTES (val);
-
- /* Count the number of $ characters. */
- for (n = osize, count = 0, old = SDATA (val); n > 0; n--)
- if (*old++ == '$') count++;
- if (count > 0)
- {
- old = SDATA (val);
- val = make_uninit_multibyte_string (SCHARS (val) + count,
- osize + count);
- new = SDATA (val);
- for (n = osize; n > 0; n--)
- if (*old != '$')
- *new++ = *old++;
- else
- {
- *new++ = '$';
- *new++ = '$';
- old++;
- }
- }
- return val;
-}
DEFUN ("next-read-file-uses-dialog-p", Fnext_read_file_uses_dialog_p,
Snext_read_file_uses_dialog_p, 0, 0, 0,