X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=platform%2Fposix%2Ffunctions%2F_PDCLIB%2Ffillbuffer.c;fp=platform%2Fexample_cygwin%2Ffunctions%2F_PDCLIB%2Ffillbuffer.c;h=1d450259e55ee8721b3a92b0172ec8a77cd20869;hb=a18343e497615802f47e0f6876b5bed73af674e0;hp=29808b2b6f973a39135250e1364122ebd1dd0d9c;hpb=b76c255d42904c10ce65f884429b4bf2f9b4f4a4;p=pdclib diff --git a/platform/example_cygwin/functions/_PDCLIB/fillbuffer.c b/platform/posix/functions/_PDCLIB/fillbuffer.c similarity index 98% rename from platform/example_cygwin/functions/_PDCLIB/fillbuffer.c rename to platform/posix/functions/_PDCLIB/fillbuffer.c index 29808b2..1d45025 100644 --- a/platform/example_cygwin/functions/_PDCLIB/fillbuffer.c +++ b/platform/posix/functions/_PDCLIB/fillbuffer.c @@ -31,6 +31,7 @@ int _PDCLIB_fillbuffer( struct _PDCLIB_file_t * stream ) { /* TODO: Text stream conversion here */ } + stream->pos.offset += rc; stream->bufend = rc; stream->bufidx = 0; return 0;