~ubuntu-branches/ubuntu/jaunty/gimp/jaunty-security

« back to all changes in this revision

Viewing changes to plug-ins/sgi/sgilib.c

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2007-05-02 16:33:03 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20070502163303-bvzhjzbpw8qglc4y
Tags: 2.3.16-1ubuntu1
* Resynchronized with Debian, remaining Ubuntu changes:
  - debian/rules: i18n magic.
* debian/control.in:
  - Maintainer: Ubuntu Core Developers <ubuntu-devel@lists.ubuntu.com>
* debian/patches/02_help-message.patch,
  debian/patches/03_gimp.desktop.in.in.patch,
  debian/patches/10_dont_show_wizard.patch: updated.
* debian/patches/04_composite-signedness.patch,
  debian/patches/05_add-letter-spacing.patch: dropped, used upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * "$Id: sgilib.c,v 1.8 2003/04/07 11:59:33 neo Exp $"
3
 
 *
4
2
 *   SGI image file format library routines.
5
3
 *
6
4
 *   Copyright 1997-1998 Michael Sweet (mike@easysw.com)
37
35
 *
38
36
 * Revision History:
39
37
 *
40
 
 *   $Log: sgilib.c,v $
 
38
 *   $Log$
 
39
 *   Revision 1.9  2005/03/04 13:23:31  neo
 
40
 *   2005-03-04  Sven Neumann  <sven@gimp.org>
 
41
 *
 
42
 *      * plug-ins/FractalExplorer
 
43
 *      * plug-ins/Lighting
 
44
 *      * plug-ins/bmp
 
45
 *      * plug-ins/dbbrowser
 
46
 *      * plug-ins/faxg3
 
47
 *      * plug-ins/fits
 
48
 *      * plug-ins/flame
 
49
 *      * plug-ins/gfig
 
50
 *      * plug-ins/gflare
 
51
 *      * plug-ins/gfli
 
52
 *      * plug-ins/gimpressionist
 
53
 *      * plug-ins/ifscompose
 
54
 *      * plug-ins/jpeg
 
55
 *      * plug-ins/maze
 
56
 *      * plug-ins/pagecurl
 
57
 *      * plug-ins/print
 
58
 *      * plug-ins/rcm
 
59
 *      * plug-ins/script-fu
 
60
 *      * plug-ins/sel2path
 
61
 *      * plug-ins/sgi
 
62
 *      * plug-ins/twain
 
63
 *      * plug-ins/winicon
 
64
 *      * plug-ins/xjt: ported to gstdio, removed unnecessary includes,
 
65
 *      minor fixes to filename handling here and there.
 
66
 *
41
67
 *   Revision 1.8  2003/04/07 11:59:33  neo
42
68
 *   2003-04-07  Sven Neumann  <sven@gimp.org>
43
69
 *
73
99
 *   Initial revision
74
100
 */
75
101
 
 
102
#include "config.h"
 
103
 
 
104
#include <stdlib.h>
 
105
#include <string.h>
 
106
 
 
107
#include <glib/gstdio.h>
 
108
 
76
109
#include "sgi.h"
77
110
 
78
111
 
225
258
 
226
259
 
227
260
  if (mode == SGI_READ)
228
 
    file = fopen(filename, "rb");
 
261
    file = g_fopen(filename, "rb");
229
262
  else
230
 
    file = fopen(filename, "wb+");
 
263
    file = g_fopen(filename, "wb+");
231
264
 
232
265
  if (file == NULL)
233
266
    return (NULL);
899
932
 
900
933
 
901
934
/*
902
 
 * End of "$Id: sgilib.c,v 1.8 2003/04/07 11:59:33 neo Exp $".
 
935
 * End of "$Id: sgilib.c 16773 2005-03-04 13:23:32Z neo $".
903
936
 */