This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On 22 Aug 2016 09:08, Andreas Schwab wrote: > On Aug 18 2016, Mike Frysinger <vapier@gentoo.org> wrote: > > might be a little more readable: > > strcpy (pattern, "[[.", 3); > > memset (pattern + 3, 'a', LENGTH); > > strcpy (pattern + LENGTH + 3, ".]]", 3); > > Except that it doesn't work. it's trivial to make it work. i was just copying & pasting from your code ... i didn't actually compile it. nitpicking over the syntax being valid is wasting time instead of just using the idea as posted, so why are you doing it ? just delete the ", 3" and move on. -mike
Attachment:
signature.asc
Description: Digital signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |