1
0
Fork 0
forked from len0rd/rockbox

Some more buffer length fixing

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1361 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Linus Nielsen Feltzing 2002-07-15 22:58:28 +00:00
parent 8c57ad9c38
commit 377725fefe
2 changed files with 3 additions and 2 deletions

View file

@ -30,7 +30,7 @@ static DIR opendirs[MAX_OPEN_DIRS];
DIR* opendir(char* name)
{
char namecopy[256];
char namecopy[MAX_PATH];
char* part;
char* end;
struct fat_direntry entry;

View file

@ -20,6 +20,7 @@
#define _DIR_H_
#include <stdbool.h>
#include "file.h"
#ifndef DIRENT_DEFINED
@ -31,7 +32,7 @@
#define ATTR_ARCHIVE 0x20
struct dirent {
unsigned char d_name[256];
unsigned char d_name[MAX_PATH];
int attribute;
int size;
int startcluster;