Alien-cares

 view release on metacpan or  search on metacpan

libcares/ares_platform.c  view on Meta::CPAN

8208
8209
8210
8211
8212
8213
8214
8215
8216
8217
8218
8219
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
{"webyast",            {NULL}, 4984, "tcp"},
{"gerhcs",             {NULL}, 4985, "tcp"},
{"mrip",               {NULL}, 4986, "tcp"},
{"mrip",               {NULL}, 4986, "udp"},
{"smar-se-port1",      {NULL}, 4987, "tcp"},
{"smar-se-port1",      {NULL}, 4987, "udp"},
{"smar-se-port2",      {NULL}, 4988, "tcp"},
{"smar-se-port2",      {NULL}, 4988, "udp"},
{"parallel",           {NULL}, 4989, "tcp"},
{"parallel",           {NULL}, 4989, "udp"},
{"busycal",            {NULL}, 4990, "tcp"},
{"busycal",            {NULL}, 4990, "udp"},
{"vrt",                {NULL}, 4991, "tcp"},
{"vrt",                {NULL}, 4991, "udp"},
{"hfcs-manager",       {NULL}, 4999, "tcp"},
{"hfcs-manager",       {NULL}, 4999, "udp"},
{"commplex-main",      {NULL}, 5000, "tcp"},
{"commplex-main",      {NULL}, 5000, "udp"},
{"commplex-link",      {NULL}, 5001, "tcp"},
{"commplex-link",      {NULL}, 5001, "udp"},
{"rfe",                {NULL}, 5002, "tcp"},
{"rfe",                {NULL}, 5002, "udp"},

libcares/install-sh  view on Meta::CPAN

488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
else
  # Rename the file to the real destination.
  $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null ||
 
  # The rename failed, perhaps because mv can't rename something else
  # to itself, or perhaps because mv is so ancient that it does not
  # support -f.
  {
    # Now remove or move aside any old file at destination location.
    # We try this two ways since rm can't unlink itself on some
    # systems and the destination file might be busy for other
    # reasons.  In this case, the final cleanup might fail but the new
    # file should still install successfully.
    {
      test ! -f "$dst" ||
      $doit $rmcmd -f "$dst" 2>/dev/null ||
      { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
        { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }
      } ||
      { echo "$0: cannot unlink or rename $dst" >&2
        (exit 1); exit 1



( run in 0.256 second using v1.01-cache-2.11-cpan-0d8aa00de5b )