TouchSocketFiles(void)
{
	ListCell   *l;

	/* Loop through all created sockets... */
	foreach(l, sock_paths)
	{
		char	   *sock_path = (char *) lfirst(l);

		/*
		 * utime() is POSIX standard, utimes() is a common alternative. If we
		 * have neither, there's no way to affect the mod or access time of
		 * the socket :-(
		 *
		 * In either path, we ignore errors; there's no point in complaining.
		 */
#ifdef HAVE_UTIME
		utime(sock_path, NULL);
#else							/* !HAVE_UTIME */
#ifdef HAVE_UTIMES
		utimes(sock_path, NULL);
#endif   /* HAVE_UTIMES */
#endif   /* HAVE_UTIME */
	}
}
TouchSocketFiles(void)
{
	ListCell   *l;

	 
	foreach(l, sock_paths)
	{
		char	   *sock_path = (char *) lfirst(l);

		 
#ifdef HAVE_UTIME
		utime(sock_path, NULL);
#else							 
#ifdef HAVE_UTIMES
		utimes(sock_path, NULL);
#endif    
#endif    
	}
}