~ubuntu-branches/ubuntu/lucid/openssh/lucid

« back to all changes in this revision

Viewing changes to openbsd-compat/regress/strtonumtest.c

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2008-09-30 23:09:58 UTC
  • mfrom: (1.13.3 upstream) (29 hardy)
  • mto: This revision was merged to the branch mainline in revision 43.
  • Revision ID: james.westby@ubuntu.com-20080930230958-o6vsgn8c4mm959s0
Tags: 1:5.1p1-3
* Remove unnecessary ssh-vulnkey output in non-verbose mode when no
  compromised or unknown keys were found (closes: #496495).
* Configure with --disable-strip; dh_strip will deal with stripping
  binaries and will honour DEB_BUILD_OPTIONS (thanks, Bernhard R. Link;
  closes: #498681).
* Fix handling of zero-length server banners (thanks, Tomas Mraz; closes:
  #497026).

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
#include <stdio.h>
22
22
#include <stdlib.h>
23
23
 
 
24
/* LLONG_MAX is known as LONGLONG_MAX on AIX */
 
25
#if defined(LONGLONG_MAX) && !defined(LLONG_MAX)
 
26
# define LLONG_MAX LONGLONG_MAX
 
27
# define LLONG_MIN LONGLONG_MIN
 
28
#endif
 
29
 
 
30
/* LLONG_MAX is known as LONG_LONG_MAX on HP-UX */
 
31
#if defined(LONG_LONG_MAX) && !defined(LLONG_MAX)
 
32
# define LLONG_MAX LONG_LONG_MAX
 
33
# define LLONG_MIN LONG_LONG_MIN
 
34
#endif
 
35
 
 
36
long long strtonum(const char *, long long, long long, const char **);
 
37
 
24
38
int fail;
25
39
 
26
40
void