~ubuntu-branches/ubuntu/lucid/curl/lucid-security

« back to all changes in this revision

Viewing changes to docs/examples/anyauthput.c

  • Committer: Bazaar Package Importer
  • Author(s): Michael Vogt
  • Date: 2009-04-29 11:10:29 UTC
  • mfrom: (3.2.3 sid)
  • Revision ID: james.westby@ubuntu.com-20090429111029-2j5eiyokfw2bw049
Tags: 7.19.4-1ubuntu1
* Merge from debian unstable, remaining changes:
  - Drop build dependencies: stunnel, libdb4.6-dev, libssh2-1-dev
  - Add build-dependency on openssh-server
  - Drop libssh2-1-dev from libcurl4-openssl-dev's Depends.
  - Call automake-1.9 with --add-missing --copy --force
* drop debian/patches/security_CVE-2009-0037.patch 
  - this patch is part of 7.19.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
 *                            | (__| |_| |  _ <| |___
6
6
 *                             \___|\___/|_| \_\_____|
7
7
 *
8
 
 * $Id: anyauthput.c,v 1.6 2008-05-22 21:20:08 danf Exp $
 
8
 * $Id: anyauthput.c,v 1.7 2008-08-31 12:12:35 yangtse Exp $
9
9
 */
10
10
 
11
11
#include <stdio.h>
12
 
#include <stdint.h>
13
12
#include <fcntl.h>
 
13
#ifdef WIN32
 
14
#  include <io.h>
 
15
#else
 
16
#  include <stdint.h>
 
17
#  include <unistd.h>
 
18
#endif
 
19
#include <sys/types.h>
14
20
#include <sys/stat.h>
15
 
#include <unistd.h>
 
21
 
 
22
#ifdef _MSC_VER
 
23
#  ifdef _WIN64
 
24
     typedef __int64 intptr_t;
 
25
#  else
 
26
     typedef int intptr_t;
 
27
#  endif
 
28
#endif
16
29
 
17
30
#include <curl/curl.h>
18
31