Fixed msg renumber bug and Makefile bug
This commit is contained in:
parent
8e1fe37a6f
commit
20e40b3da3
@ -11,6 +11,11 @@ v0.39.4 08-Dec-2003
|
|||||||
delete /opt/mbse/etc/language.data and run mbsetup to create
|
delete /opt/mbse/etc/language.data and run mbsetup to create
|
||||||
a new language.data including the french setup.
|
a new language.data including the french setup.
|
||||||
|
|
||||||
|
libmsgbase:
|
||||||
|
Changed the fix in JAM to prevent the copy overwrite. This may
|
||||||
|
also fixed the message renumbering bug introduced with previous
|
||||||
|
version.
|
||||||
|
|
||||||
mbsetup:
|
mbsetup:
|
||||||
Added default record for french language.
|
Added default record for french language.
|
||||||
|
|
||||||
|
16
Makefile
16
Makefile
@ -123,14 +123,14 @@ install:
|
|||||||
${CHOWN} -R ${OWNER}:${GROUP} ${PREFIX}/german; \
|
${CHOWN} -R ${OWNER}:${GROUP} ${PREFIX}/german; \
|
||||||
fi
|
fi
|
||||||
@chmod 0775 ${PREFIX}/german/txtfiles
|
@chmod 0775 ${PREFIX}/german/txtfiles
|
||||||
@if [ ! -d ${PREFIX}/french ] ; then \
|
@if [ ! -d ${PREFIX}/french ] ; then \
|
||||||
mkdir ${PREFIX}/french; \
|
mkdir ${PREFIX}/french; \
|
||||||
mkdir ${PREFIX}/french/txtfiles ; \
|
mkdir ${PREFIX}/french/txtfiles ; \
|
||||||
mkdir ${PREFIX}/french/menus ; \
|
mkdir ${PREFIX}/french/menus ; \
|
||||||
mkdir ${PREFIX}/french/macro ; \
|
mkdir ${PREFIX}/french/macro ; \
|
||||||
${CHOWN} -R ${OWNER}:${GROUP} ${PREFIX}/french; \
|
${CHOWN} -R ${OWNER}:${GROUP} ${PREFIX}/french; \
|
||||||
fi
|
fi
|
||||||
@chmod 0775 ${PREFIX}/french/txtfiles
|
@chmod 0775 ${PREFIX}/french/txtfiles
|
||||||
@if [ ! -d ${PREFIX}/ftp ] ; then \
|
@if [ ! -d ${PREFIX}/ftp ] ; then \
|
||||||
mkdir ${PREFIX}/ftp ; \
|
mkdir ${PREFIX}/ftp ; \
|
||||||
mkdir ${PREFIX}/ftp/pub ; \
|
mkdir ${PREFIX}/ftp/pub ; \
|
||||||
|
@ -566,7 +566,7 @@ int JAM_Open(char *Msgbase)
|
|||||||
fdJlr = open(File, O_RDWR|O_CREAT, S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP);
|
fdJlr = open(File, O_RDWR|O_CREAT, S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP);
|
||||||
RetVal = TRUE;
|
RetVal = TRUE;
|
||||||
|
|
||||||
memmove(BaseName, Msgbase, strlen(Msgbase));
|
strcpy(BaseName, Msgbase);
|
||||||
} else {
|
} else {
|
||||||
close(fdHdr);
|
close(fdHdr);
|
||||||
fdHdr = -1;
|
fdHdr = -1;
|
||||||
@ -749,7 +749,8 @@ void JAM_Pack(void)
|
|||||||
unlink(New);
|
unlink(New);
|
||||||
rename(File, New);
|
rename(File, New);
|
||||||
|
|
||||||
JAM_Open(BaseName);
|
sprintf(File, "%s", BaseName);
|
||||||
|
JAM_Open(File);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (fdnHdr != -1)
|
if (fdnHdr != -1)
|
||||||
|
Reference in New Issue
Block a user