~ubuntu-branches/ubuntu/raring/heimdal/raring

« back to all changes in this revision

Viewing changes to lib/hcrypto/rand-egd.c

  • Committer: Bazaar Package Importer
  • Author(s): Jelmer Vernooij
  • Date: 2011-07-21 17:40:58 UTC
  • mfrom: (1.1.12 upstream) (2.4.10 experimental)
  • Revision ID: james.westby@ubuntu.com-20110721174058-byiuowgocek307cs
Tags: 1.5~pre2+git20110720-2
Fix dependency on pthreads when building on Linux 3.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
144
144
            break;
145
145
        indata = ((unsigned char *)indata) + len;
146
146
        size -= len;
147
 
    }   
 
147
    }
148
148
    close(fd);
149
149
}
150
150
 
170
170
            break;
171
171
        outdata += len;
172
172
        size -= len;
173
 
    }   
 
173
    }
174
174
    close(fd);
175
175
 
176
176
    return ret;