[debug] change the dgetc signature to match external sources
3 files changed