diff options
author | Fritz Elfert <felfert@to.com> | 1999-07-01 20:47:13 +0000 |
---|---|---|
committer | Fritz Elfert <felfert@to.com> | 1999-07-01 20:47:13 +0000 |
commit | 682ff7ed300d7864ad3eff4343fe6cb0240cd318 (patch) | |
tree | de9e4b45e259924a2c0b8a1dbb1db1a1731d046c | |
parent | 3574706f9733e25590ca251a5ceeae1d89ca0f7e (diff) | |
download | plptools-682ff7ed300d7864ad3eff4343fe6cb0240cd318.tar.gz plptools-682ff7ed300d7864ad3eff4343fe6cb0240cd318.tar.bz2 plptools-682ff7ed300d7864ad3eff4343fe6cb0240cd318.zip |
Modified psion constants.
-rw-r--r-- | plpnfsd/main.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plpnfsd/main.cc b/plpnfsd/main.cc index ac8d10d..6924dca 100644 --- a/plpnfsd/main.cc +++ b/plpnfsd/main.cc @@ -116,7 +116,7 @@ long rfsv_fcreate(long attr, const char *file, long *handle) { long rfsv_read(char *buf, long offset, long len, long handle) { if (!a) return -1; - long ret = a->fseek(handle, offset, rfsv32::PSEEK_SET); + long ret = a->fseek(handle, offset, rfsv32::PSI_SEEK_SET); if (ret >= 0) ret = a->fread(handle, buf, len); return ret; @@ -125,7 +125,7 @@ long rfsv_read(char *buf, long offset, long len, long handle) { long rfsv_write(char *buf, long offset, long len, long handle) { if (!a) return -1; - long ret = a->fseek(handle, offset, rfsv32::PSEEK_SET); + long ret = a->fseek(handle, offset, rfsv32::PSI_SEEK_SET); if (ret >= 0) ret = a->fwrite(handle, buf, len); return ret; @@ -141,7 +141,7 @@ long rfsv_setsize(const char *name, long size) { if (!a) return -1; long ph; - long ret = a->fopen(0x200, name, ph); + long ret = a->fopen(rfsv32::PSI_OMODE_READ_WRITE, name, ph); if (!ret) { ret = a->fsetsize(ph, size); a->fclose(ph); |