~ubuntu-branches/ubuntu/quantal/imagemagick/quantal

« back to all changes in this revision

Viewing changes to magick/random.c

  • Committer: Bazaar Package Importer
  • Author(s): Muharem Hrnjadovic
  • Date: 2009-06-04 13:01:13 UTC
  • mfrom: (1.1.5 upstream) (6.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20090604130113-my9114jxmafpwew3
Tags: 7:6.5.1.0-1.1ubuntu1
* Merge from debian unstable, remaining changes:
  - (Build-)depend on libltdl7-dev instead of libltdl3-dev (the armel buildds
    currently have both available).
  - Don't build-dep on librsvg, it brings in excessive dependencies

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
%                              December 2001                                  %
17
17
%                                                                             %
18
18
%                                                                             %
19
 
%  Copyright 1999-2008 ImageMagick Studio LLC, a non-profit organization      %
 
19
%  Copyright 1999-2009 ImageMagick Studio LLC, a non-profit organization      %
20
20
%  dedicated to making software imaging solutions freely available.           %
21
21
%                                                                             %
22
22
%  You may not use this file except in compliance with the License.  You may  %
402
402
 
403
403
    filename=ConstantString("magickXXXXXX");
404
404
    file=mkstemp(filename);
 
405
#if defined(__OS2__)
 
406
    setmode(file,O_BINARY);
 
407
#endif
405
408
    if (file != -1)
406
409
      (void) close(file);
407
410
    (void) remove(filename);