[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#711534: Disabling strtoul violates C89 and C99 and is unnecessary



Package: apache2-dev
Version: 2.4.4-2
Severity: serious
Tags: upstream

Hi,

httpd.h contains the following:

/** strtoul does not exist on sunos4. */
#ifdef strtoul
#undef strtoul
#endif
#define strtoul strtoul_is_not_a_portable_function_use_strtol_instead

i.e. apache intentionally breaks strtoul, a function defined in C89, 
C99, SUS, etc. And SunOS 4 has been unsupported by Sun since 2003.

The apache2.2 packages in wheezy are similarly affected.

Yours,

Matthew

-- System Information:
Debian Release: 7.0
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages apache2-dev depends on:
ii  apache2          2.4.4-2
ii  debhelper        9.20120909
ii  libapr1-dev      1.4.6-3
ii  libaprutil1-dev  1.4.1-3
ii  openssl          1.0.1e-2
ii  perl             5.14.2-21

apache2-dev recommends no packages.

apache2-dev suggests no packages.

-- no debconf information


Reply to: