mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 23:13:40 +02:00
4cfd423a9010b97255b3a6a2e3182fa508b8b2ea
Modified Files: glib/ChangeLog glib/glib/giochannel.c glib/glib/giounix.c * glib/giochannel.c: Replaced the local use_buf variable with a macro in most places. This allows us to check some things without worrying whether we have allocated the read buffers yet, and allows us to allocate the buffers later in some cases. * glib/giochannel.c: Introduced a MAX_CHAR_SIZE macro, which is supposed to be greater than or equal to the length in bytes of the longest character in any encoding. This is necessary to get the minimum buffer size for successful writing. * glib/giochannel.c: Fixed g_io_channel_set_encoding () so that it just prints a warning if partial_write_buf isn't empty instead of failing. * glib/giochannel.c: Fixed several functions so they can accept NULL parameters for pointers to return values. * glib/giochannel.c: Altered the error handling for g_io_channel_read_chars () to only return an error if it doesn't have any buffered data. * glib/giochannel.c: Rewrote g_io_channel_write_chars () to fix the error handling and remove duplicate sections of code. * glib/giounix.c: Fixed g_io_channel_new_file () to call fstat () to set the is_seekable flag, in case someone uses it on a FIFO.
*** IMPORTANT *** This is a development version of GLib. You should be using a stable version, which is available at ftp://ftp.gtk.org/pub/gtk/v1.2/. This version is meant for developers of GLib only: * You should not base stable software on this version of GLib. * GNOME developers should use a stable version of GLib. *** You should be using GLib 1.2 instead. *** General Information =================== This is GLib version 1.3.7. GLib is a library which includes support routines for C such as lists, trees, hashes, memory allocation, and many other things. The official ftp site is: ftp://ftp.gtk.org/pub/gtk The official web site is: http://www.gtk.org/ Information about mailing lists can be found at http://www.gtk.org/mailinglists.html To subscribe: mail -s subscribe gtk-list-request@gnome.org < /dev/null (Send mail to gtk-list-request@gnome.org with the subject "subscribe") Installation ============ See the file 'INSTALL' How to report bugs ================== Bugs should be reported to the GNOME bug tracking system. (http://bugzilla.gnome.org, product glib.) You will need to create an account for yourself. In the bug report please include: * Information about your system. For instance: - What operating system and version - For Linux, what version of the C library And anything else you think is relevant. * How to reproduce the bug. If you can reproduce it with the testgtk program that is built in the gtk/ subdirectory, that will be most convenient. Otherwise, please include a short test program that exhibits the behavior. As a last resort, you can also provide a pointer to a larger piece of software that can be downloaded. * If the bug was a crash, the exact text that was printed out when the crash occured. * Further information such as stack traces may be useful, but is not necessary. Patches ======= Patches should also be submitted to bugzilla.gnome.org. If the patch fixes an existing bug, add the patch as an attachment to that bug report. Otherwise, enter a new bug report that describes the patch, and attach the patch to that bug report. Bug reports containing patches should include the PATCH keyword in their keyword fields. If the patch adds to or changes the GLib programming interface, the API keyword should also be included. Patches should be in unified diff form. (The -u option to GNU diff.)
Description
Languages
C
95.3%
Python
2.3%
Meson
1.3%
Objective-C
0.3%
Shell
0.2%
Other
0.5%