Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • char *path;
    sprintf( path, "%s/%s/%s", x, y, z );
    mysub( key, path );
    • So, you want to poke some random part of your program with a m/d/y string? Whoo hoo! I think you wanted:
      char path[1024];
      sprintf ( path ... );
      And yes, the fixed size buffer there is the root of all evilness of C programs.
      --
      • Randal L. Schwartz
      • Stonehenge