GetDiskFreeSpace(RootPathName, NULL, &BytesPerSector, NULL, NULL);
hostBytesPerSector = BytesPerSector;
}
- err = _stat(pathname, stbuf);
+ err = stat(pathname, stbuf);
/* Modify the permission to 777 except the directories. */
stbuf->st_mode = stbuf->st_mode | 0777;
gettimeofday(&tv_now, NULL);
}
if (buf[0].tv_nsec == UTIME_OMIT || buf[1].tv_nsec == UTIME_OMIT) {
- _stat(r_path, &st);
+ stat(r_path, &st);
}
for (i = 0; i < 2; i++) {
#ifndef CONFIG_WIN32
err = lstat(buffer, &stbuf);
#else
- err = _stat(buffer, &stbuf);
+ err = stat(buffer, &stbuf);
#endif
g_free(buffer);
if (err) {
{
GIOStatus status = G_IO_STATUS_NORMAL;
size_t count;
+#ifdef CONFIG_MARU
+ count = 0;
+#endif
while (size) {
status = ga_channel_write(c, buf, size, &count);