~ubuntu-branches/ubuntu/vivid/transcode/vivid

« back to all changes in this revision

Viewing changes to libxio/static_xio.h

  • Committer: Bazaar Package Importer
  • Author(s): Iain Lane
  • Date: 2009-01-08 22:33:52 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20090108223352-xzwpx7r22tzm7grp
Tags: 2:1.0.7-0ubuntu1
* New upstream release. (LP: #311202)
* debian/watch: Update 
* debian/patches/01_configure.dpatch, 03_imagemagick.dpatch,
  05_filter.c.dpatch, 06_libavcodec.dpatch: Dropped, applied upstream 
* debian/control: libmagickwand-dev, build-depend on new Imagemagick dev
  package.
* debian/patches/01_configure_magickcore.dpatch, 98_autoreconf.dpatch:
  Link against -lMagickCore instead of -lMagick, upstream changed name.
* debian/control: Bump s-v to 3.8.0, add homepage field 
* debian/control: Recommend mawk to run provided scripts 
* debian/control: linux -> Linux spelling fix (Lintian) 
* debian/control, debian/rules: Strip rpath from
  /usr/lib/transcode/export_fame.so 
* debian/transcode-doc.doc-base, debian/copyright, debian/changelog: Fix
  encoding.
* debian/transcode-doc.doc-base: Use valid section.

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
#include <fcntl.h>
6
6
#include <unistd.h>
7
7
 
8
 
void
9
 
dummy()
 
8
void dummy(void);
 
9
void dummy(void)
10
10
{
11
11
        int i;
 
12
        struct stat dummy;
12
13
 
13
14
        i = xio_open("", O_RDONLY);
14
15
        xio_read(i, NULL, 0);
15
16
        xio_write(i, NULL, 0);
16
17
        xio_ftruncate(i, 0);
17
18
        xio_lseek(i, 0, 0);
18
 
        xio_fstat(i, NULL);
19
 
        xio_lstat("", NULL);
20
 
        xio_stat("", NULL);
 
19
        xio_fstat(i, &dummy);
 
20
        xio_lstat("", &dummy);
 
21
        xio_stat("", &dummy);
21
22
        xio_rename("", "");
22
23
        xio_close(i);
23
24
}