Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC)

- Fix for possible unset uid/gid in toproto
 - Fix for default mtree style
 - Update libelf
 - Importing libexecinfo
 - Resynchronize GCC, mpc, gmp, mpfr
 - build.sh: Replace params with show-params.
     This has been done as the make target has been renamed in the same
     way, while a new target named params has been added. This new
     target generates a file containing all the parameters, instead of
     printing it on the console.
 - Update test48 with new etc/services (Fix by Ben Gras <ben@minix3.org)
     get getservbyport() out of the inner loop

Change-Id: Ie6ad5226fa2621ff9f0dee8782ea48f9443d2091
This commit is contained in:
2013-12-06 12:04:52 +01:00
parent ff10274392
commit 84d9c625bf
4655 changed files with 379317 additions and 151059 deletions

View File

@@ -183,7 +183,7 @@ struct timestamp::impl {
/// Constructs a new timestamp.
///
/// \param pimpl_ An existing impl representation.
datetime::timestamp::timestamp(std::tr1::shared_ptr< impl > pimpl_) :
datetime::timestamp::timestamp(std::shared_ptr< impl > pimpl_) :
_pimpl(pimpl_)
{
}
@@ -201,7 +201,7 @@ datetime::timestamp::from_microseconds(const int64_t value)
::timeval data;
data.tv_sec = static_cast< time_t >(value / 1000000);
data.tv_usec = static_cast< suseconds_t >(value % 1000000);
return timestamp(std::tr1::shared_ptr< impl >(new impl(data)));
return timestamp(std::shared_ptr< impl >(new impl(data)));
}
@@ -257,7 +257,7 @@ datetime::timestamp::from_values(const int year, const int month,
::timeval data;
data.tv_sec = ::mktime(&timedata);
data.tv_usec = static_cast< suseconds_t >(microsecond);
return timestamp(std::tr1::shared_ptr< impl >(new impl(data)));
return timestamp(std::shared_ptr< impl >(new impl(data)));
}
@@ -276,7 +276,7 @@ datetime::timestamp::now(void)
INV(ret != -1);
}
return timestamp(std::tr1::shared_ptr< impl >(new impl(data)));
return timestamp(std::shared_ptr< impl >(new impl(data)));
}