After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 609496 - GLib.FileStream does not have bindings for fread nor fwrite
GLib.FileStream does not have bindings for fread nor fwrite
Status: RESOLVED FIXED
Product: vala
Classification: Core
Component: Bindings: GLib
0.7.x
Other All
: Normal normal
: ---
Assigned To: Vala maintainers
Vala maintainers
Depends on:
Blocks:
 
 
Reported: 2010-02-10 04:51 UTC by Sandino Flores-Moreno
Modified: 2010-02-12 22:12 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to add bindings for fread and fwrite (793 bytes, application/octet-stream)
2010-02-10 04:51 UTC, Sandino Flores-Moreno
  Details
0001-bindings-for-fread-and-fwrite (851 bytes, patch)
2010-02-10 06:04 UTC, Sandino Flores-Moreno
none Details | Review

Description Sandino Flores-Moreno 2010-02-10 04:51:45 UTC
Created attachment 153383 [details]
Patch to add bindings for fread and fwrite

GLib.FileStream does not have bindings for fread nor fwrite

Attached is a patch to add them based on current git

Note: Original patch sent by Cliff Brake [1]

1: http://mail.gnome.org/archives/vala-list/2008-September/msg00005.html
Comment 1 Sandino Flores-Moreno 2010-02-10 05:37:53 UTC
Ups!
Sorry, this patch is wrong!

Could someone remove it?
Comment 2 Sandino Flores-Moreno 2010-02-10 05:40:11 UTC
Comment on attachment 153383 [details]
Patch to add bindings for fread and fwrite

This patch is wrong, sorry
Comment 3 Sandino Flores-Moreno 2010-02-10 06:04:09 UTC
Created attachment 153387 [details] [review]
0001-bindings-for-fread-and-fwrite

Patch that adds bindings for fread and fwrite, verified and based on latest git
Comment 4 Víctor Manuel Jáquez Leal 2010-02-12 22:10:26 UTC
pushed to master

commit 01b5b9897ab295ec0c4f9d58df0369888e50c441
Author: Sandino Flores <tigrux@gmail.com>
Date:   Tue Feb 9 23:58:42 2010 -0600

    glib-2.0: add bindings for fread and fwrite
    
    Fixes bug 609496.
Comment 5 Sandino Flores-Moreno 2010-02-12 22:12:08 UTC
Thanks Victor.