Bumping version to 3.3.0
Change-Id: I4c88bdd449daf6ad3fe4e93ee8fc35d4f38becc4
This commit is contained in:
parent
32e916ad53
commit
d44c3377db
2 changed files with 1 additions and 14 deletions
|
@ -3,11 +3,8 @@
|
|||
|
||||
/* Minix release and version numbers. */
|
||||
#define OS_RELEASE "3"
|
||||
#define OS_VERSION "2.1"
|
||||
#define OS_VERSION "3.0"
|
||||
|
||||
/* Keep these in sync with os_version above for temp version check in VFS */
|
||||
#define OS_VMAJOR 2
|
||||
#define OS_VMINOR 1
|
||||
/* This file sets configuration parameters for the MINIX kernel, FS, and PM.
|
||||
* It is divided up into two main sections. The first section contains
|
||||
* user-settable parameters. In the second section, various internal system
|
||||
|
|
|
@ -311,12 +311,7 @@ int do_truncate(message *UNUSED(m_out))
|
|||
length = (off_t) job_m_in.m2_l1;
|
||||
if ((int) job_m_in.flength < 0) return(EINVAL);
|
||||
} else {
|
||||
#if OS_VMAJOR == 2 && OS_VMINOR == 1
|
||||
length = (off_t) make64(job_m_in.m2_l1, 0); /* Ignore higher bits */
|
||||
#else
|
||||
#error "Please remove this version check. Recompile dynamic packages first."
|
||||
length = (off_t) make64(job_m_in.m2_l1, job_m_in.m2_l2);
|
||||
#endif
|
||||
if (length < 0) return(EINVAL);
|
||||
}
|
||||
|
||||
|
@ -359,12 +354,7 @@ int do_ftruncate(message *UNUSED(m_out))
|
|||
length = (off_t) job_m_in.m2_l1;
|
||||
if ((int) job_m_in.flength < 0) return(EINVAL);
|
||||
} else {
|
||||
#if OS_VMAJOR == 2 && OS_VMINOR == 1
|
||||
length = (off_t) make64(job_m_in.m2_l1, 0); /* Ignore higher bits */
|
||||
#else
|
||||
#error "Please remove this version check. Recompile dynamic packages first."
|
||||
length = (off_t) make64(job_m_in.m2_l1, job_m_in.m2_l2);
|
||||
#endif
|
||||
if (length < 0) return(EINVAL);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue