Re: Replacing selfmade structures with GLib ones.



Hi, Timur!

Thank you for your contribution!  The patch looks good.

Next time please run this script (chtrim) on ChangeLog.  It removes
unnecessary trailing whitespace and replaces leading spaces with tabs.

------------------------------
#! /usr/bin/perl -wi.bak

# Convert initial spaces in ChangeLog to tabs.

while (<>)
{
  # Match either up to 7 spaces and tab or up to 8 spaces.
  if (/^( {1,7}\t| {1,8})(.*)/)
    {
      $_ = "\t$2";
    }

  # Trim trailing whitespace
  s/\s*$//;
  print "$_\n";
}
------------------------------

Regards,
Pavel Roskin





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]