On Wednesday, August 1, 2012, Cedric BAIL wrote: > On Tue, Jul 31, 2012 at 7:59 PM, Gustavo Sverzut Barbieri > <barbi...@profusion.mobi> wrote: > > On Tuesday, July 31, 2012, Carsten Haitzler wrote: > >> On Tue, 31 Jul 2012 07:29:33 -0300 Gustavo Sverzut Barbieri > >> <barbi...@profusion.mobi> said: > >> > On Tuesday, July 31, 2012, Enlightenment SVN wrote: > >> > > Log: > >> > > web: store information about user update rate behaviour. > >> > > > >> > > > >> > > Author: cedric > >> > > Date: 2012-07-30 23:53:44 -0700 (Mon, 30 Jul 2012) > >> > > New Revision: 74615 > >> > > Trac: http://trac.enlightenment.org/e/changeset/74615 > >> > > > >> > > Modified: > >> > > trunk/web/www/update.php > >> > > > >> > > Modified: trunk/web/www/update.php > >> > > =================================================================== > >> > > --- trunk/web/www/update.php 2012-07-31 06:04:52 UTC (rev 74614) > >> > > +++ trunk/web/www/update.php 2012-07-31 06:53:44 UTC (rev 74615) > >> > > @@ -3,23 +3,23 @@ > >> > > # list of "apps" and "latest versions" > >> > > $apps = array > >> > > ( > >> > > - "enlightenment" => "0.16.999.65643", > >> > > - "eina" => "1.1.0", > >> > > - "eet" => "1.5.0", > >> > > - "evas" => "1.1.0", > >> > > - "ecore" => "1.1.0", > >> > > - "embryo" => "1.1.0", > >> > > - "edje" => "1.1.0", > >> > > - "eeze" => "1.1.0", > >> > > - "e_dbus" => "1.1.0", > >> > > - "efreet" => "1.1.0", > >> > > - "expedite" => "1.1.0", > >> > > - "evas_generic_loaders" => "1.1.0", > >> > > + "enlightenment" => "0.16.999.74598", > >> > > + "eina" => "1.2.0", > >> > > + "eet" => "1.6.0", > >> > > + "evas" => "1.2.0", > >> > > + "ecore" => "1.2.0", > >> > > + "embryo" => "1.2.0", > >> > > + "edje" => "1.2.0", > >> > > + "eeze" => "1.2.0", > >> > > + "e_dbus" => "1.2.0", > >> > > + "efreet" => "1.2.0", > >> > > + "expedite" => "1.2.0", > >> > > + "evas_generic_loaders" => "1.2.0", > >> > > "evil" => "1.0.0", > >> > > - "elementary" => "0.8.0.65643", > Yep, we were lucky, only a few thousand race condition did happen in > the log. So yep, should be fixed. I am just not fluent enough in php, > the script doesn't work as expected at the moment. It doesn't fill > e17-updates correctly... If you have time to look at it that would be > cool.
PHP exposes libc very directly. Just format the string before, use flock() and append as you did: http://php.net/manual/en/function.flock.php > -- > Cedric BAIL > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net <javascript:;> > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -------------------------------------- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel