From patchwork Tue Jul 19 13:47:22 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: alexandros.frantzis@linaro.org X-Patchwork-Id: 2758 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 6D91023F41 for ; Tue, 19 Jul 2011 13:47:36 +0000 (UTC) Received: from mail-qw0-f52.google.com (mail-qw0-f52.google.com [209.85.216.52]) by fiordland.canonical.com (Postfix) with ESMTP id 31F7AA181CB for ; Tue, 19 Jul 2011 13:47:36 +0000 (UTC) Received: by qwb8 with SMTP id 8so2912612qwb.11 for ; Tue, 19 Jul 2011 06:47:35 -0700 (PDT) Received: by 10.229.68.200 with SMTP id w8mr6354352qci.114.1311083255608; Tue, 19 Jul 2011 06:47:35 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.229.217.78 with SMTP id hl14cs85024qcb; Tue, 19 Jul 2011 06:47:35 -0700 (PDT) Received: by 10.216.160.68 with SMTP id t46mr6649125wek.5.1311083254398; Tue, 19 Jul 2011 06:47:34 -0700 (PDT) Received: from adelie.canonical.com (adelie.canonical.com [91.189.90.139]) by mx.google.com with ESMTP id t48si1763245weq.115.2011.07.19.06.47.34; Tue, 19 Jul 2011 06:47:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.139 as permitted sender) client-ip=91.189.90.139; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.139 as permitted sender) smtp.mail=bounces@canonical.com Received: from loganberry.canonical.com ([91.189.90.37]) by adelie.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1QjAe4-0001k2-Tv for ; Tue, 19 Jul 2011 13:47:33 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id CB02F2E8060 for ; Tue, 19 Jul 2011 13:47:22 +0000 (UTC) MIME-Version: 1.0 X-Launchpad-Project: glmark2 X-Launchpad-Branch: ~glmark2-dev/glmark2/trunk X-Launchpad-Message-Rationale: Subscriber X-Launchpad-Branch-Revision-Number: 112 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~glmark2-dev/glmark2/trunk] Rev 112: Open 3ds model files in read-only mode. Message-Id: <20110719134722.13156.99685.launchpad@loganberry.canonical.com> Date: Tue, 19 Jul 2011 13:47:22 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="13405"; Instance="initZopeless config overlay" X-Launchpad-Hash: f93320605bc876458434696577656e1eed31a931 ------------------------------------------------------------ revno: 112 committer: Alexandros Frantzis branch nick: trunk timestamp: Tue 2011-07-19 16:42:53 +0300 message: Open 3ds model files in read-only mode. modified: src/model.cpp --- lp:glmark2 https://code.launchpad.net/~glmark2-dev/glmark2/trunk You are subscribed to branch lp:glmark2. To unsubscribe from this branch go to https://code.launchpad.net/~glmark2-dev/glmark2/trunk/+edit-subscription === modified file 'src/model.cpp' --- src/model.cpp 2011-07-12 18:22:45 +0000 +++ src/model.cpp 2011-07-19 13:42:53 +0000 @@ -164,7 +164,7 @@ Log::debug("Loading model from 3ds file '%s'\n", filename.c_str()); - std::fstream input_file(filename.c_str()); + std::ifstream input_file(filename.c_str()); if (!input_file) { Log::error("Could not open 3ds file '%s'\n", filename.c_str()); return false;