regexxer r621 - trunk/src
- From: daniel svn gnome org
- To: svn-commits-list gnome org
- Subject: regexxer r621 - trunk/src
- Date: Thu, 11 Jan 2007 01:22:08 +0000 (GMT)
Author: daniel
Date: 2007-01-11 01:22:08 +0000 (Thu, 11 Jan 2007)
New Revision: 621
ViewCVS link: http://svn.gnome.org/viewcvs/regexxer?rev=621&view=rev
Modified:
trunk/src/fileio.cc
trunk/src/filetreeprivate.cc
trunk/src/main.cc
Log:
* src/fileio.cc (save_iochannel): Add comment about assertions and
reorganize the code a bit.
(Regexxer::save_file): Elaborate on why IOChannel::close() is
used explicitely.
* src/filetreeprivate.cc (FileTreePrivate::collatekey_sort_func):
Fix oversight: Subtracting two unsigned values and converting the
result to a signed type relies on implementation-defined behavior.
Explicitely cast the operands to a signed type before substraction.
* src/main.cc (main): Use g_get_prgname() instead of the string
literal PACKAGE_TARNAME in the error message for Glib::OptionError
exceptions.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]