open in text mode

This commit is contained in:
Asbjørn Pettersen 1999-03-05 08:18:09 +00:00
parent 209f5d5cd4
commit ced58eb136
8 changed files with 39 additions and 0 deletions

View File

@ -1,3 +1,8 @@
Fri Mar 5 09:12:24 1999 ape@lrdpf.spacetec.no (Asbjorn Pettersen)
* gtk/gtkitemfactory.c (gtk_item_factory_parse_rc): Open file in
textmode (O_TEXT) for OS/2 version.
Sun Feb 28 16:46:02 1999 Stefan Jeske <stefan@gtk.org>
* gtk/gtkspinbutton.[c,h] gtk/testgtk.c: Added two new signals to

View File

@ -1,3 +1,8 @@
Fri Mar 5 09:12:24 1999 ape@lrdpf.spacetec.no (Asbjorn Pettersen)
* gtk/gtkitemfactory.c (gtk_item_factory_parse_rc): Open file in
textmode (O_TEXT) for OS/2 version.
Sun Feb 28 16:46:02 1999 Stefan Jeske <stefan@gtk.org>
* gtk/gtkspinbutton.[c,h] gtk/testgtk.c: Added two new signals to

View File

@ -1,3 +1,8 @@
Fri Mar 5 09:12:24 1999 ape@lrdpf.spacetec.no (Asbjorn Pettersen)
* gtk/gtkitemfactory.c (gtk_item_factory_parse_rc): Open file in
textmode (O_TEXT) for OS/2 version.
Sun Feb 28 16:46:02 1999 Stefan Jeske <stefan@gtk.org>
* gtk/gtkspinbutton.[c,h] gtk/testgtk.c: Added two new signals to

View File

@ -1,3 +1,8 @@
Fri Mar 5 09:12:24 1999 ape@lrdpf.spacetec.no (Asbjorn Pettersen)
* gtk/gtkitemfactory.c (gtk_item_factory_parse_rc): Open file in
textmode (O_TEXT) for OS/2 version.
Sun Feb 28 16:46:02 1999 Stefan Jeske <stefan@gtk.org>
* gtk/gtkspinbutton.[c,h] gtk/testgtk.c: Added two new signals to

View File

@ -1,3 +1,8 @@
Fri Mar 5 09:12:24 1999 ape@lrdpf.spacetec.no (Asbjorn Pettersen)
* gtk/gtkitemfactory.c (gtk_item_factory_parse_rc): Open file in
textmode (O_TEXT) for OS/2 version.
Sun Feb 28 16:46:02 1999 Stefan Jeske <stefan@gtk.org>
* gtk/gtkspinbutton.[c,h] gtk/testgtk.c: Added two new signals to

View File

@ -1,3 +1,8 @@
Fri Mar 5 09:12:24 1999 ape@lrdpf.spacetec.no (Asbjorn Pettersen)
* gtk/gtkitemfactory.c (gtk_item_factory_parse_rc): Open file in
textmode (O_TEXT) for OS/2 version.
Sun Feb 28 16:46:02 1999 Stefan Jeske <stefan@gtk.org>
* gtk/gtkspinbutton.[c,h] gtk/testgtk.c: Added two new signals to

View File

@ -1,3 +1,8 @@
Fri Mar 5 09:12:24 1999 ape@lrdpf.spacetec.no (Asbjorn Pettersen)
* gtk/gtkitemfactory.c (gtk_item_factory_parse_rc): Open file in
textmode (O_TEXT) for OS/2 version.
Sun Feb 28 16:46:02 1999 Stefan Jeske <stefan@gtk.org>
* gtk/gtkspinbutton.[c,h] gtk/testgtk.c: Added two new signals to

View File

@ -1609,7 +1609,11 @@ gtk_item_factory_parse_rc (const gchar *file_name)
if (!S_ISREG (g_scanner_stat_mode (file_name)))
return;
#ifndef __EMX__
fd = open (file_name, O_RDONLY);
#else
fd = open (file_name, O_RDONLY | O_TEXT);
#endif
if (fd < 0)
return;