~drizzle-trunk/drizzle/development

Viewing all changes in revision 1008.3.4.

  • Committer: Stewart Smith
  • Date: 2009-05-15 08:20:17 UTC
  • mto: (991.1.7 for-brian)
  • mto: This revision was merged to the branch mainline in revision 1029.
  • Revision ID: stewart@flamingspork.com-20090515082017-fi9bam3d2znlutah
Fix 2 drizzledump bugs in processing of --compatible arguments

Strings were not being copied correctly with strncpy

if length of string to strncpy does not include room for \0, then the resultant
string is *not* null terminated.

This was leading to "invalid --compatible" mode when it really wasn't.

2nd bug was incorrect error message due to above.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: