On Wed, Aug 13, 2008 at 04:06:31PM -0000, kkaempf@svn.opensuse.org wrote:
Author: kkaempf Date: Wed Aug 13 18:06:31 2008 New Revision: 10844
URL: http://svn.opensuse.org/viewcvs/zypp?rev=10844&view=rev Log: provide solvable:installtime for product solvables [...] if (!s) { + struct stat st; + s = pool_id2solvable(pool, repo_add_solvable(repo)); repodata_extend(data, s - pool->solvables); handle = repodata_get_handle(data, s - pool->solvables - repo->start); + if (!fstat(fileno(fp), &st)) + { + repodata_set_num(data, handle, SOLVABLE_INSTALLTIME, st.st_ctime);
That's the last inode change time. Don't you mean "st.st_mtime"? Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org