Re: [DNG] C string handling

2015-08-23 Thread Rainer Weikusat
Steve Litt writes: > On Sun, 23 Aug 2015 11:37:26 +0100 > Edward Bartolo wrote: > >> My 'irrational' choice of C language for backend. >> >> As a coder, I lack knowledge and experience. This is plain clear from >> the code I can write, but I offered my very limited coding >> capabilities to hel

Re: [DNG] C string handling

2015-08-23 Thread Steve Litt
On Sun, 23 Aug 2015 11:37:26 +0100 Edward Bartolo wrote: > My 'irrational' choice of C language for backend. > > As a coder, I lack knowledge and experience. This is plain clear from > the code I can write, but I offered my very limited coding > capabilities to help, notwithstanding I knew, I wo

Re: [DNG] C string handling

2015-08-23 Thread Hendrik Boom
On Sun, Aug 23, 2015 at 02:01:30PM +0200, aitor_czr wrote: > Hi Edward, > > In my opinion Pascal is a little obsolete language, but it is a OOP > very similar to C++. > The work is done, chapeau! Agree, except for the part of being siilar to C++. The language that does fit this description, and w

Re: [DNG] C string handling

2015-08-23 Thread aitor_czr
Hi Edward, In my opinion Pascal is a little obsolete language, but it is a OOP very similar to C++. The work is done, chapeau! Aitor. On 23/08/15 12:37, Edward Bartolo wrote: My 'irrational' choice of C language for backend. As a coder, I lack knowledge and experience. This is plain clear

Re: [DNG] C string handling

2015-08-23 Thread tilt!
Hi Edward! On 08/23/2015 12:37 PM, Edward Bartolo wrote: My 'irrational' choice of C language for backend. As a coder, I lack knowledge and experience. This is plain clear from the code I can write, but I offered my very limited coding capabilities to help, notwithstanding I knew, I would have

Re: [DNG] C string handling

2015-08-23 Thread Edward Bartolo
My 'irrational' choice of C language for backend. As a coder, I lack knowledge and experience. This is plain clear from the code I can write, but I offered my very limited coding capabilities to help, notwithstanding I knew, I would have been a dwarf among giants. I opted out of choosing Lazarus

Re: [DNG] C string handling

2015-08-23 Thread Rainer Weikusat
"tilt!" writes: > On 08/22/2015 04:40 PM, Rainer Weikusat wrote: >> Roger Leigh writes: >>> On 20/08/2015 11:27, Rainer Weikusat wrote: Roger Leigh writes: > On 19/08/2015 17:39, Rainer Weikusat wrote: >> >> [...] >> >> p_len = strlen(IFACES_PATH); >> e_len = strlen(essid); >>

Re: [DNG] C string handling

2015-08-22 Thread tilt!
Gentlemen, On 08/22/2015 04:40 PM, Rainer Weikusat wrote: Roger Leigh writes: On 20/08/2015 11:27, Rainer Weikusat wrote: Roger Leigh writes: On 19/08/2015 17:39, Rainer Weikusat wrote: [...] p_len = strlen(IFACES_PATH); e_len = strlen(essid); path = alloca(p_len

[DNG] C string handling (was: Systemd Shims)

2015-08-22 Thread Rainer Weikusat
Roger Leigh writes: > On 20/08/2015 11:27, Rainer Weikusat wrote: >> Roger Leigh writes: >>> On 19/08/2015 17:39, Rainer Weikusat wrote: [...] p_len = strlen(IFACES_PATH); e_len = strlen(essid); path = alloca(p_len + e_len + 2); strcpy(path, IFACES_PATH)