SQLite Archiver

Check-in [15adeb2f9a]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Add a missing "closedir()".
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 15adeb2f9a1b0b8c5a8e67ff779b9d0af1d9aca3
User & Date: drh 2014-12-10 22:06:55
Context
2016-07-11
19:21
Add support for encrypted SQL archives using the SQLite Encryption Extension. check-in: 06c26c027e user: drh tags: trunk
2014-12-10
22:06
Add a missing "closedir()". check-in: 15adeb2f9a user: drh tags: trunk
2014-08-15
19:01
Update the built-in SQLite to version 3.8.6. check-in: 95ee3b3708 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to sqlar.c.

   321    321           if( strcmp(pEntry->d_name,".")==0 || strcmp(pEntry->d_name,"..")==0 ){
   322    322             continue;
   323    323           }
   324    324           zSubpath = sqlite3_mprintf("%s/%s", zFilename, pEntry->d_name);
   325    325           add_file(zSubpath, verboseFlag, noCompress);
   326    326           sqlite3_free(zSubpath);
   327    327         }
          328  +      closedir(d);
   328    329       }
   329    330     }
   330    331   }
   331    332   
   332    333   /*
   333    334   ** List of command-line arguments
   334    335   */