/* The entire file is within this conditional */
#include <stdio.h>
-/* gettine and settime in dos.h clash with their namesakes from
+/* gettime and settime in dos.h clash with their namesakes from
gnulib, so we move out of our way the prototypes in dos.h. */
#define gettime dos_h_gettime_
#define settime dos_h_settime_
update_mode_lines = 1;
- f->title = name;
+ FSET (f, title, name);
if (NILP (name))
name = f->name;
int i;
Lisp_Object cmd_str, decoded_cmd, tem;
double pmem;
- EXFUN (Fget_internal_run_time, 0);
#ifndef SYSTEM_MALLOC
extern unsigned long ret_lim_data ();
#endif
attrs = Fcons (Fcons (Qgroup, build_string (gr->gr_name)), attrs);
strcpy (cmd, basename (__crt0_argv[0]));
/* Command name is encoded in locale-coding-system; decode it. */
- cmd_str = make_unibyte_string (cmd, strlen (cmd));
+ cmd_str = build_unibyte_string (cmd);
decoded_cmd = code_convert_string_norecord (cmd_str,
Vlocale_coding_system, 0);
attrs = Fcons (Fcons (Qcomm, decoded_cmd), attrs);
q[-1] = '\0';
/* Command line is encoded in locale-coding-system; decode it. */
- cmd_str = make_unibyte_string (cmdline, strlen (cmdline));
+ cmd_str = build_unibyte_string (cmdline);
decoded_cmd = code_convert_string_norecord (cmd_str,
Vlocale_coding_system, 0);
xfree (cmdline);
dos_decimal_point = 0;
}
#endif /* MSDOS */
-