+2005-10-12 Romain Francoise <romain@orebokech.com>
+
+ * buffer.c (init_buffer): Rename `rc' to `len' for clarity.
+
2005-10-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
* xdisp.c (remember_mouse_glyph): Use MATRIX_BOTTOM_TEXT_ROW to
char *pwd;
struct stat dotstat, pwdstat;
Lisp_Object temp;
- int rc;
+ int len;
#ifdef USE_MMAP_FOR_BUFFERS
{
#ifndef VMS
/* Maybe this should really use some standard subroutine
whose definition is filename syntax dependent. */
- rc = strlen (pwd);
- if (!(IS_DIRECTORY_SEP (pwd[rc - 1])))
+ len = strlen (pwd);
+ if (!(IS_DIRECTORY_SEP (pwd[len - 1])))
{
/* Grow buffer to add directory separator and '\0'. */
- pwd = (char *) xrealloc (pwd, rc + 2);
- pwd[rc] = DIRECTORY_SEP;
- pwd[rc + 1] = '\0';
+ pwd = (char *) xrealloc (pwd, len + 2);
+ pwd[len] = DIRECTORY_SEP;
+ pwd[len + 1] = '\0';
}
#endif /* not VMS */