X-Git-Url: https://pd.if.org/git/?p=pdclib.old;a=blobdiff_plain;f=platform%2Fposix%2Ffunctions%2F_PDCLIB%2Ffillbuffer.c;fp=platform%2Fexample_cygwin%2Ffunctions%2F_PDCLIB%2Ffillbuffer.c;h=1d450259e55ee8721b3a92b0172ec8a77cd20869;hp=29808b2b6f973a39135250e1364122ebd1dd0d9c;hb=a38d56a6a13dbb89022b5448d2d5247f3f99ea41;hpb=81f4c957d2f820d9340d90d5b650cbbed054caa0 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;