~ubuntu-branches/ubuntu/lucid/pavuk/lucid

« back to all changes in this revision

Viewing changes to src/tools.c

  • Committer: Bazaar Package Importer
  • Author(s): Stephan Hermann
  • Date: 2008-11-12 09:11:47 UTC
  • Revision ID: james.westby@ubuntu.com-20081112091147-5nk4kd9o0ijpigym
Tags: 0.9.35-2.1ubuntu1
* Fixed FTBFS:
  + src/tools.c:1729:
    Changed  if((fd = open(filename, O_WRONLY | O_BINARY | O_CREAT | O_TRUNC), 0644) < 0)
    to  if((fd = open(filename, O_WRONLY | O_BINARY | O_CREAT | O_TRUNC, 0644)) < 0)
    (Patch is inlined in .diff.gz, not introducing a new patch system)
* This upload will also catch up with latest libdb

Show diffs side-by-side

added added

removed removed

Lines of Context:
1726
1726
  if(length < 0)
1727
1727
    length = strlen(content);
1728
1728
 
1729
 
  if((fd = open(filename, O_WRONLY | O_BINARY | O_CREAT | O_TRUNC), 0644) < 0)
 
1729
  if((fd = open(filename, O_WRONLY | O_BINARY | O_CREAT | O_TRUNC, 0644)) < 0)
1730
1730
  {
1731
1731
    xperror(filename);
1732
1732
    return -1;