]> gitweb @ CieloNegro.org - pkgsrc-cinelerra-cv.git/blob - patches/patch-filesystem_C
shmmax patch
[pkgsrc-cinelerra-cv.git] / patches / patch-filesystem_C
1 $NetBSD$
2
3 --- guicast/filesystem.C.orig   2010-02-01 08:26:23.000000000 +0000
4 +++ guicast/filesystem.C
5 @@ -393,7 +393,7 @@ int FileSystem::test_filter(FileItem *fi
6  int FileSystem::update(char *new_dir)
7  {
8         DIR *dirstream;
9 -       struct dirent64 *new_filename;
10 +       struct dirent *new_filename;
11         struct stat ostat;
12         struct tm *mod_time;
13         int i, j, k, include_this;
14 @@ -408,7 +408,7 @@ int FileSystem::update(char *new_dir)
15         dirstream = opendir(current_dir);
16         if(!dirstream) return 1;          // failed to open directory
17  
18 -       while(new_filename = readdir64(dirstream))
19 +       while(new_filename = readdir(dirstream))
20         {
21                 include_this = 1;
22