Logo Search packages:      
Sourcecode: chromium-browser version File versions  Download package

bzip2_error_handler.cc

// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "base/logging.h"

// We define BZ_NO_STDIO in third_party/bzip2 to remove its internal STDERR
// error reporting.  This requires us to export our own error handler.
extern "C"
void bz_internal_error(int errcode) {
  LOG(FATAL) << "bzip2 internal error: " << errcode;
}

Generated by  Doxygen 1.6.0   Back to index