~n-muench/ubuntu/oneiric/open-vm-tools/open-vm-tools-august.merge

« back to all changes in this revision

Viewing changes to lib/misc/strutil.c

  • Committer: Bazaar Package Importer
  • Author(s): Nate Muench
  • Date: 2011-07-22 16:41:03 UTC
  • mfrom: (1.4.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20110722164103-xci04yu18mjvhr1j
Tags: 2011.07.19-450511-0ubuntu1
* Merge latest upstream git tag. Fixes Building on Oneiric
  (LP: #776103, LP: #807903)

* The Toolbox (GUI) has been removed.
* Changes in debian folder:
  - Contents of open-vm-toolbox.lintian-overrides have been moved to
    open-vm-tools.lintian-overrides.
  - The contents of open-vm-toolbox.manpages (excluding the first line,
    which relates to the Toolbox) have been moved to open-vm-tools.manpages.
* Changes in debian/control:
  - Convert open-vm-toolbox into a transitional package.
  - All dependencies for toolbox have been moved to open-vm-tools package.
  - Changed architecture for open-vm-toolbox package to all.
  - Added Replaces and Breaks fields to open-vm-tools.
* Changes in debian/rules:
  - Commented out references to the Toolbox (GUI), that no longer exist
    in the package itself.
  - Remaining references changed from open-vm-toolbox to open-vm-tools.
  - Added -Wno-unused-but-set-variable to CFLAGS to suppress remaining
    issues with GCC 4.6.0 or later.
* Files removed in debian/manpages:
  - vmmemctl.9 (Component no longer in package)
  - vmware-toolbox.1 (Component removed in this release)
  - vmxnet3.9 (vmxnet3 is now included in kernel itself)

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
#include <stdio.h>
27
27
#include <stdlib.h>
28
28
#include <string.h>
29
 
#if !defined(_WIN32) && !defined(N_PLAT_NLM)
 
29
#if !defined(_WIN32)
30
30
#include <strings.h> /* For strncasecmp */
31
31
#endif
32
32
#include "vmware.h"
384
384
   *out = _strtoi64(str, &ptr, 0);
385
385
#elif defined(__FreeBSD__)
386
386
   *out = strtoq(str, &ptr, 0);
387
 
#elif defined(N_PLAT_NLM)
388
 
   /* Works for small values of str... */
389
 
   *out = (int64)strtol(str, &ptr, 0);
390
387
#else
391
388
   *out = strtoll(str, &ptr, 0);
392
389
#endif
429
426
   *out = _strtoui64(str, &ptr, 0);
430
427
#   elif defined(__FreeBSD__)
431
428
   *out = strtouq(str, &ptr, 0);
432
 
#   elif defined(N_PLAT_NLM)
433
 
   /* Works for small values of str... */
434
 
   *out = strtoul(str, &ptr, 0);
435
429
#   else
436
430
   *out = strtoull(str, &ptr, 0);
437
431
#   endif
483
477
}
484
478
 
485
479
 
486
 
#ifndef N_PLAT_NLM // NetWare Tools ask for unresolved _GLOBAL_OFFSET_TABLE...
487
480
/*
488
481
 *-----------------------------------------------------------------------------
489
482
 *
580
573
 
581
574
   return TRUE;
582
575
}
583
 
#endif
584
576
 
585
577
 
586
578
/*