This is the mail archive of the cygwin-apps mailing list for the Cygwin 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]

Another genini patch


Hi Christopher,

I fetched genini 1.3 from CVS. Tried out --recursive, seems to work
quite well. I noticed that it generated the following output for
directory db, which contains only subdirectories. This could have to do
with --recursive (didn't verify):

@ db

@ db2
sdesc: "The Sleepycat Berkeley DB Library v2"
ldesc: "High performance database library supporting B+trees, Hash
[etc...]

I have a patch for two other issues:
* For ldesc lines that end with a space, the last (non-space) character
was consistently removed. Fixed in the get function.
* To prevent warnings I added KDE, Perl and Python to the list of
accepted categories (I suppose this would be okay).

Greetings,
Servaas.
--

--- genini-1.3  2007-02-15 18:18:19.000000000 +0100
+++ genini      2007-02-15 18:36:29.000000000 +0100
@@ -87,7 +87,7 @@
            $_ = <$FH>;
            length or last;
            chomp;
-           s/(\S)\s+$//;
+           s/(\S)\s+$/$1/;
            $val .= "\n" . $_;
        }
     }
@@ -259,7 +259,7 @@
 BEGIN {
     my @cats = qw'
      Admin Archive Audio Base Comm Database Devel Doc Editors Games
-     Gnome Graphics Interpreters Libs Mail Math Mingw Net Publishing
+     Gnome Graphics Interpreters KDE Libs Mail Math Mingw Net Perl
Publishing Python
      Science Shells Sound System Text Utils Web X11
      _obsolete _PostInstallLast
      ';


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