tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

bug1410214.patch (857B)


      1 diff --git a/src/filemgr.hxx b/src/filemgr.hxx
      2 --- a/src/filemgr.hxx
      3 +++ b/src/filemgr.hxx
      4 @@ -67,32 +67,11 @@
      5  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
      6  * SUCH DAMAGE.
      7  */
      8 
      9 /* file manager class - read lines of files [filename] OR [filename.hz] */
     10 #ifndef FILEMGR_HXX_
     11 #define FILEMGR_HXX_
     12 
     13 -#include "hunzip.hxx"
     14 -#include <stdio.h>
     15 -#include <string>
     16 -#include <fstream>
     17 -
     18 -class FileMgr {
     19 - private:
     20 -  FileMgr(const FileMgr&);
     21 -  FileMgr& operator=(const FileMgr&);
     22 +#include "mozHunspellRLBoxSandbox.h"
     23 
     24 - protected:
     25 -  std::ifstream fin;
     26 -  Hunzip* hin;
     27 -  char in[BUFSIZE + 50];  // input buffer
     28 -  int fail(const char* err, const char* par);
     29 -  int linenum;
     30 -
     31 - public:
     32 -  FileMgr(const char* filename, const char* key = NULL);
     33 -  ~FileMgr();
     34 -  bool getline(std::string&);
     35 -  int getlinenum();
     36 -};
     37 #endif