~ubuntu-branches/ubuntu/lucid/nspr/lucid-updates

« back to all changes in this revision

Viewing changes to mozilla/nsprpub/pr/src/cplus/rcbase.cpp

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2014-09-19 08:25:13 UTC
  • mfrom: (1.2.6)
  • Revision ID: package-import@ubuntu.com-20140919082513-ldt99o79f1yggc7e
Tags: 4.10.7-0ubuntu0.10.04.1
* Update to 4.10.7 to support nss security update.
* Removed unneeded patches:
  - debian/patches/30_config_64bits.patch: no longer needed
  - debian/patches/99_configure.patch: no longer needed
  - debian/patches/CVE-2013-5607.patch: included upstream.
  - debian/patches/CVE-2014-1545.patch: included upstream.
* debian/libnspr4-0d.symbols: updated for new version.
* debian/rules: adjust paths, add --enable-64bit when appropriate.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2
 
/* This Source Code Form is subject to the terms of the Mozilla Public
3
 
 * License, v. 2.0. If a copy of the MPL was not distributed with this
4
 
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5
 
 
6
 
/*
7
 
** RCBase.cpp - Mixin class for NSPR C++ wrappers
8
 
*/
9
 
 
10
 
#include "rcbase.h"
11
 
 
12
 
RCBase::~RCBase() { }
13
 
 
14
 
PRSize RCBase::GetErrorTextLength() { return PR_GetErrorTextLength(); }
15
 
PRSize RCBase::CopyErrorText(char *text) { return PR_GetErrorText(text); }
16
 
 
17
 
void RCBase::SetError(PRErrorCode error, PRInt32 oserror)
18
 
    { PR_SetError(error, oserror); }
19
 
 
20
 
void RCBase::SetErrorText(PRSize text_length, const char *text)
21
 
    { PR_SetErrorText(text_length, text); }
22
 
 
23
 
/* rcbase.cpp */