~ubuntu-branches/ubuntu/wily/gnomad2/wily

« back to all changes in this revision

Viewing changes to src/wavfile.c

  • Committer: Bazaar Package Importer
  • Author(s): Shaun Jackman
  • Date: 2006-04-08 15:58:16 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20060408155816-25y8gx2wa4chfr69
Tags: 2.8.3-1
* New upstream release.
* Update the Debian policy to version 3.6.2.2. No changes necessary.
* Update the watch file.
* Update the copyright file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
  gint n;
48
48
 
49
49
  // g_print("Getting WAV tag info for %s...\n", meta->path);
50
 
  fd = (gint) open(tmppath, O_RDONLY, 0);
 
50
#if !GLIB_CHECK_VERSION(2,6,0)
 
51
  fd = (gint) open(tmppath, READONLY_FLAGS, 0);
 
52
#else
 
53
  fd = (gint) g_open(tmppath, READONLY_FLAGS, 0);
 
54
#endif
51
55
  if (fd < 0) {
52
56
    g_free(tmppath);
53
57
    return;