This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils 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]

Re: Fix idiocy in previous patch


Hi Alex,

switch (foo)
  {
    case 0: prefix="hi";
    if (0) { case 1: prefix="bye"; }
    if (0) { case 2: prefix="ciao"; }
      strcpy (buffer, "%s Nick", prefix);
      break;
  }

Oh that is just wonderful!


Thanks Alex - you have restored my faith in C as the language that can do anything.

Cheers
  Nick



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]