~ubuntu-branches/ubuntu/saucy/gnutls28/saucy

« back to all changes in this revision

Viewing changes to gl/tests/test-fwrite.c

  • Committer: Package Import Robot
  • Author(s): Jeremy Bicha
  • Date: 2013-07-30 21:40:07 UTC
  • mfrom: (14.1.9 saucy-proposed)
  • Revision ID: package-import@ubuntu.com-20130730214007-9mrd08xo61kla008
Tags: 3.2.3-1ubuntu1
* Sync with Debian (LP: #1068029). Remaining change:
  - Drop gnutls-bin and -doc since we want to use the versions
    in gnutls26 as the defaults instead

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* Test of fwrite() function.
2
 
   Copyright (C) 2011-2012 Free Software Foundation, Inc.
 
2
   Copyright (C) 2011-2013 Free Software Foundation, Inc.
3
3
 
4
4
   This program is free software; you can redistribute it and/or modify
5
5
   it under the terms of the GNU General Public License as published by
72
72
      }
73
73
  }
74
74
  {
75
 
    FILE *fp = fdopen (99, "w");
 
75
    FILE *fp;
 
76
    close (99);
 
77
    fp = fdopen (99, "w");
76
78
    if (fp != NULL)
77
79
      {
78
80
        char buf[5] = "world";