2007-11-08 Matthias Clasen <mclasen@redhat.com>
* glib-mkenums.in: Don't shift ARGV[0] to undefined.
(#466557, Aidan Delaney)
svn path=/trunk/; revision=5827
+2007-11-08 Matthias Clasen <mclasen@redhat.com>
+
+ * glib-mkenums.in: Don't shift ARGV[0] to undefined.
+ (#466557, Aidan Delaney)
+
2007-11-07 Matthias Clasen <mclasen@redhat.com>
* === Released 2.14.3 ===
if (!defined $ARGV[0]) {
usage;
}
-while ($_ = $ARGV[0], /^-/) {
+while ($_=$ARGV[0],/^-/) {
shift;
last if /^--$/;
if (/^--template$/) { read_template_file (shift); }
elsif (/^--help$/ || /^-h$/) { usage; }
elsif (/^--version$/ || /^-v$/) { version; }
else { usage; }
+ last if not defined($ARGV[0]);
}
# put auto-generation comment