Re: [arch-general] 'Check out-of-date packages' tool

2013-05-14 Thread Sébastien Luttringer
On Sat, May 11, 2013 at 8:26 PM, Anatol Pomozov wrote: > Hi everyone > > Per discussion in 'pacman-dev' maillist [1] I implemented a tool that tries > to find Arch out-of-date packages. The tool scans PKGBUILD files is > /var/abs directory, extracts download url and then tries to probe download >

Re: [arch-general] gcc: loop do not terminate

2013-05-14 Thread Daniel Micay
On Tue, May 14, 2013 at 11:47 AM, LANGLOIS Olivier PIS -EXT wrote: >> void testing(void) >> { >> #define NR_STRUCT_A (4) >> struct B* ptr = malloc(sizeof(struct B) + NR_STRUCT_A*sizeof(struct >> A)); >> >> ptr->numelem = NR_STRUCT_A; >> ptr->item= (struct A*)(ptr+1); >> >>

Re: [arch-general] gcc: loop do not terminate

2013-05-14 Thread Daniel Micay
On Tue, May 14, 2013 at 9:41 AM, Olivier Langlois wrote: > On Tue, 2013-05-14 at 08:52 +0200, Martti Kühne wrote: >> Sorry if this is OT and a dumb question, but are you sure you want >> >> On Mon, May 13, 2013 at 8:20 PM, LANGLOIS Olivier PIS -EXT >> wrote: >> [...] >> > struct B >> > { >> >

Re: [arch-general] gcc: loop do not terminate

2013-05-14 Thread LANGLOIS Olivier PIS -EXT
> void testing(void) > { > #define NR_STRUCT_A (4) > struct B* ptr = malloc(sizeof(struct B) + NR_STRUCT_A*sizeof(struct > A)); > > ptr->numelem = NR_STRUCT_A; > ptr->item= (struct A*)(ptr+1); > > ptr->item[0].a = 0; > ptr->item[1].a = 1; > ptr->item[2].a

Re: [arch-general] libvirtd - save shutdown and systemd

2013-05-14 Thread Jameson
On Tue, May 14, 2013 at 6:48 AM, Guus Snijders wrote: > Op 13 mei 2013 21:12 schreef "Jameson" het volgende: >> >> On Wed, May 8, 2013 at 5:52 PM, Guus Snijders wrote: >> > So at least one way would be place a script that calls >> > "/etc/rc.d/libvirtd-guests stop" (or equivalent, it's not hard

Re: [arch-general] gcc: loop do not terminate

2013-05-14 Thread Olivier Langlois
On Tue, 2013-05-14 at 08:52 +0200, Martti Kühne wrote: > Sorry if this is OT and a dumb question, but are you sure you want > > On Mon, May 13, 2013 at 8:20 PM, LANGLOIS Olivier PIS -EXT > wrote: > [...] > > struct B > > { > > int numelem; > > /* > > * Old C trick to defi

Re: [arch-general] gcc: loop do not terminate

2013-05-14 Thread Olivier Langlois
On Tue, 2013-05-14 at 04:50 -0400, Daniel Micay wrote: > On Tue, May 14, 2013 at 3:49 AM, wrote: > > If this function initArr() is moved to the same cpp file of main(), > > all optimization level get the same result. > Good observation. Having a separate TU for init function was intentional

Re: [arch-general] Building packages from AUR/ABS

2013-05-14 Thread Paul Gideon Dann
On Tuesday 14 May 2013 13:34:41 Joaquin Villanova wrote: > Hi, I've built Firefox 21 using Firefox 20 PKGBUILD, changing versions > and reading the README notes on the source tarball, just for try. Should > i expect any issue when installing? Is this a good method for a general > purpose upgrading

[arch-general] Building packages from AUR/ABS

2013-05-14 Thread Joaquin Villanova
Hi, I've built Firefox 21 using Firefox 20 PKGBUILD, changing versions and reading the README notes on the source tarball, just for try. Should i expect any issue when installing? Is this a good method for a general purpose upgrading / downgrading? I mean, I can wait for this package because

Re: [arch-general] libvirtd - save shutdown and systemd

2013-05-14 Thread Guus Snijders
Op 13 mei 2013 21:12 schreef "Jameson" het volgende: > > On Wed, May 8, 2013 at 5:52 PM, Guus Snijders wrote: > > So at least one way would be place a script that calls > > "/etc/rc.d/libvirtd-guests stop" (or equivalent, it's not hard to replace) > > in /etc/systemd/system-shutdown/ . My main qu

Re: [arch-general] gcc: loop do not terminate

2013-05-14 Thread goodmenzy
On 2013-05-14 05:42:04, Daniel Micay wrote: > Date: Tue, 14 May 2013 05:42:04 -0400 > From: Daniel Micay > To: General Discussion about Arch Linux > Subject: Re: [arch-general] gcc: loop do not terminate > > On Tue, May 14, 2013 at 5:02 AM, wrote: > > On 2013-05-14 04:50:11, Daniel Micay wrote

Re: [arch-general] gcc: loop do not terminate

2013-05-14 Thread Daniel Micay
On Tue, May 14, 2013 at 5:02 AM, wrote: > On 2013-05-14 04:50:11, Daniel Micay wrote: >> Date: Tue, 14 May 2013 04:50:11 -0400 >> From: Daniel Micay >> To: General Discussion about Arch Linux >> Subject: Re: [arch-general] gcc: loop do not terminate >> >> On Tue, May 14, 2013 at 3:49 AM, wrot

Re: [arch-general] gcc: loop do not terminate

2013-05-14 Thread goodmenzy
On 2013-05-14 04:50:11, Daniel Micay wrote: > Date: Tue, 14 May 2013 04:50:11 -0400 > From: Daniel Micay > To: General Discussion about Arch Linux > Subject: Re: [arch-general] gcc: loop do not terminate > > On Tue, May 14, 2013 at 3:49 AM, wrote: > > If this function initArr() is moved to t

Re: [arch-general] gcc: loop do not terminate

2013-05-14 Thread goodmenzy
On 2013-05-13 18:20:05, LANGLOIS Olivier PIS -EXT wrote: > Date: Mon, 13 May 2013 18:20:05 + > From: LANGLOIS Olivier PIS -EXT > To: "General Discussion about Arch Linux (arch-general@archlinux.org)" > > Subject: [arch-general] gcc: loop do not terminate > > I have just been hit by somethin

Re: [arch-general] gcc: loop do not terminate

2013-05-14 Thread Daniel Micay
On Tue, May 14, 2013 at 3:49 AM, wrote: > If this function initArr() is moved to the same cpp file of main(), > all optimization level get the same result. That's the great thing about undefined behaviour, you never know what you'll get. It's really not something anyone should be relying on

Re: [arch-general] gcc: loop do not terminate

2013-05-14 Thread goodmenzy
On 2013-05-13 18:20:05, LANGLOIS Olivier PIS -EXT wrote: > Date: Mon, 13 May 2013 18:20:05 + > From: LANGLOIS Olivier PIS -EXT > To: "General Discussion about Arch Linux (arch-general@archlinux.org)" > > Subject: [arch-general] gcc: loop do not terminate > > I have just been hit by somethin