Thread View: fj.sources.d
6 messages
6 total messages
Started by Mochizuki Takashi
Tue, 06 Oct 1992 01:12
stevie : machine dependent bug
Author: Mochizuki Takashi
Date: Tue, 06 Oct 1992 01:12
Date: Tue, 06 Oct 1992 01:12
45 lines
2401 bytes
2401 bytes
$BK>7n(B@NEC$B$G$9!%(B
(j)stevie$B$N%P%0$r8+$D$1$?$N$G$4Js9p$7$^$9!%(B
$B$?$@$7!$5!<o0MB8$N%P%0$N$h$&$G$9!%(B
STEVIE - Version 3.69/J1.3
$B>I>u!'%U%!%$%k$K=$@5$,$"$k>uBV$G(B ":e"(no file name) $B$r$9$k$H(B
Segmentation fault (core dumped)$B$7$^$9!%(B
$BIaDL$O=$@5$,$"$k>uBV$G(B":e"$B$O$7$J$$$N$G$9$,!$(B":e!"$B$r$9$k(B
$B$D$b$j$G(B'!'$B$rK:$l$?$j!$(B":e <file-name>"$B$N(B<file-name>$B$r(B
$BK:$l$?>l9g$G$9!%(B
$B>I>u$,5/$-$k5!<o!'(B
SparcStation2(SunOS Release 4.1.1-JLE1.1.1)
$B>I>u$,5/$-$J$$5!<o!'(B
binary$BG[I[$5$l$?(BPC-9800$BMQ(BMS-DOS$BHG(B
EWS4800(RISC|CISC)
$B860x!'(Balloc.c$B$NCf$N(Bstrsave(string)$B$K$*$$$F!$(Balloc(strlen(string)+1)
$B$r$7$?$H$3$m$G(BSegmentation fault$B$K$J$j$^$9!%$5$i$K8@$($P!$(B
string=NULL$B$N>l9g$K(Bstrlen(string)$B$G(BSegmentation fault$B$G$9!%(B
strlen$B$K(BNULL$B%]%$%s%?$,EO$5$l$?>l9g$N@5$7$$F0:n$O2?$J$N$G(B
$B$7$g$&$+!%>I>u$,5/$-$J$$5!<o(B|C-compiler$B$G$O!$(Bstrlne(NULL)$B$G(B
'$B@5>o(B'$B$K(B0$B$,JV$C$FMh$^$9!%(B
$B<h$j4:$($:$NBP:v!'(B
strsave(string)$B$r8F$V;~E@$G(Bstring$B$,(BNULL$B%]%$%s%?$+$I$&$+(B
$B%A%'%C%/$9$Y$-$H$O;W$$$^$9$,!$$3$NJ}$O$I$J$?$+>\$7$$J}$K(B
$B$*4j$$$9$k$H$7$F!$<h$j4:$($:$O(Balloc.c$B$K%Q%C%A$rEv$F$k$3$H(B
$B$G2sHr$G$-$^$9!%$4;29M$^$G$K(Bpatch$B$rIU$1$^$9!%(B
*** alloc.c Tue Oct 6 08:54:25 1992
--- alloc.c.org Mon Jun 25 20:35:36 1990
***************
*** 27,32 ****
- if (string == NULL){
- if ((p = alloc(1)) == NULL) return NULL;
- return((uchar *)p);
- }
if ((p = alloc(strlen(string)+1)) == NULL)
--- 27,28 ----
--
$BK>7n9';V(B $BF|K\EE5$!J3t!K#C!u#C%7%9%F%`8&5f=j(B
motizuki@tsl.cl.nec.co.jp
TEL 044-855-1111 ex. 3414 FAX 044-856-2232
Re: stevie : machine dependent bug
Author: Mochizuki Takashi
Date: Wed, 07 Oct 1992 02:53
Date: Wed, 07 Oct 1992 02:53
41 lines
1978 bytes
1978 bytes
$B$3$NA0(B stevie $B$N(B ":e" $B$N%P%0$K$D$$$FJs9p$7$?(B $BK>7n(B@NEC$B$G$9!%(B
$B$=$N8e(B $B@P>l!w>>2<EE4o(B $B$5$s$+$i(B ":m" $B$G$b(B core-dump $B$9$k$H$N(B
$B%a!<%k$rD:$-$^$7$?!%$3$A$i$O(B strcmp $B$K(B NULL $B%]%$%s%?$,EO$5$l$?(B
$B$3$H$K$h$k$b$N$G!$$d$O$j5!<o$K$h$C$F$O(B core-dump $B$7$^$;$s!%(B
":e" $B$H(B ":m" $B$NN>J}$KBP=h$9$k%Q%C%A$r0J2<$KIU$1$^$9!%(B
$B$3$NA0Ej9F$7$?(B ":e" $B$KBP=h$9$k%Q%C%A$O$"$^$j$K$bBP>INEK!E*$G$7(B
$B$?$,!$:#2s$O(B ":e" $B$r=hM}$9$kBgK\$N=j$GBP=h$9$k$h$&$K$7$^$7$?!%(B
$BA02s$N%Q%C%A$OL5$7$K$7$F$/$@$5$$!%(B
*** cmdline.c Wed Oct 7 11:19:31 1992
--- cmdline.c.org Mon Jun 25 20:36:28 1990
***************
*** 750,760 ****
cmd++;
! if (*cmd == NUL) {
! if (arg != NUL) cmd = arg;
! else {
! sprintf(buff, "%s requires a trailing address",
! c=='m'? "move": c=='t'? "t": "copy");
! emsg(buff);
! return;
! }
! }
/* cmd now points to destination specifier */
--- 750,753 ----
cmd++;
! if (*cmd == NUL)
! cmd = arg;
/* cmd now points to destination specifier */
***************
*** 1137,1139 ****
emsg(nowrtmsg);
- if (arg == NULL) return FALSE;
if (altfile)
--- 1130,1131 ----
--
$BK>7n9';V(B $BF|K\EE5$!J3t!K#C!u#C%7%9%F%`8&5f=j(B
motizuki@tsl.cl.nec.co.jp
TEL 044-855-1111 ex. 3414 FAX 044-856-2232
Re: stevie : machine dependent bug
Author: MARUYAMA Naomasa
Date: Wed, 07 Oct 1992 17:50
Date: Wed, 07 Oct 1992 17:50
140 lines
4683 bytes
4683 bytes
$@E}?t8&$N4](J$@;3$G$9!#(J
$@K>7n$5$s!'(J
In article <1992Oct7.025358.23999@tsl.cl.nec.co.jp>
motizuki@tsl.cl.nec.co.jp (Mochizuki Takashi) writes:
>$@$3$NA0(J stevie $@$N(J ":e" $@$N%P%0$K$D$$$FJs9p$7$?(J $@K>7n(J@NEC$@$G$9!%(J
>
>$@$=$N8e(J $@@P>l(J$@!w>>2<EE4o(J $@$5$s$+$i(J ":m" $@$G$b(J core-dump $@$9$k$H$N(J
>$@%a!<%k$rD:$-$^$7$?!%$3$A$i$O(J strcmp $@$K(J NULL $@%]%$%s%?(J$@$,EO$5$l$?(J
>$@$3$H$K$h$k$b$N$G!$$d$O$j5!<o$K$h$C$F$O(J core-dump $@$7$^$;$s!%(J
$@$3$l$H;w$?%P%0$H$7$F<!$N$h$&(J$@$J$b$N$,$"$j$^$9!#(J
":edit" $@!J%U%!%$%kL>L5$7!K$G(J core dump $@$9$k!#(J
$@$3$l$O7D1~Bg3X$N<FEDN$Dh$5$s$+$i65(J$@$($FD:$$$?$b$N$G$9!#(J"edit" $@$O(J vi $@$K(J
$@$O$"$j$^$9$,!"(J stevie $@$H$7$F$O%5%]!<%H$7$F$$$J$$$h$&$G!"(J":edit file"
$@$N;~$K(J unreognized command $@$H$J$k$N$O$^$"$$$$$H$7$F$b!"(Jcore dump $@$G(J
stty $@$^$G$*$+$7$/$5$l$F$O$?(J$@$^$j$^$;$s!#0J2<$K<FED$5$s$K$h$k%Q%C%A$rIU(J
$@$1$^$9!#H`$O(J ":edit" $@$N%5%]!<%H$^$GF~$l$F$7$^$C$?$N$G$9$,!"(J$@$=$l$O$H$b(J
$@$+$/!":#;n$7$?$i$3$l$O9,$$$K$7$FK>7n$5$s$N%Q%C%A$rEv$F$?$"$H$K99$K$"$F(J
$@$k$3$H$,$G$-$^$9!#NI(J$@$+$C$?$i8fMxMQ2<$5$$!#$?$@$7%Q%C%A$NFbMF$K4X$7$F$O(J
$@;d$O>\$7$/8!F$$7$F$$$^$;$s$N$G!"<ALd$J$ID:$$$F$bEz(J$@$($i$l$J$$$G$7$g$&!#(J
*** cmdline.c.orig Fri Jul 12 01:02:08 1991
--- cmdline.c Fri Jul 12 01:02:08 1991
***************
*** 333,339 ****
strncpy(arg, buf, maxlen);
free(buf);
free(nam);
-
words = 0;
p = arg;
while (*p == ' ' || *p == TAB)
--- 333,338 ----
***************
*** 464,470 ****
emsg(nooutfile);
return;
}
! if (fexpand(arg, MAXCLIN-1-(arg-argbuf)) == 1)
writeit(arg, &l_pos, &u_pos, cmd[1]=='!');
else
emsg(toomany);
--- 463,469 ----
emsg(nooutfile);
return;
}
! if (fexpand(arg, MAXCLIN-1) == 1)
writeit(arg, &l_pos, &u_pos, cmd[1]=='!');
else
emsg(toomany);
***************
*** 599,615 ****
return;
}
if (strcmp(cmd,"e") == 0 || strcmp(cmd,"e!") == 0) {
! if (arg && fexpand(arg, MAXCLIN-1-(arg-argbuf)) == 0)
return;
(void) doecmd(arg, cmd[1] == '!');
return;
}
/*
* The command ":e#" gets expanded to something like ":efile", so
* detect that case here.
*/
if (*cmd == 'e' && arg == NULL) {
! if (fexpand(cmd, MAXCLIN-1-(cmd-cmdbuf)) == 0)
return;
if (cmd[1] == '!')
(void) doecmd(&cmd[2], TRUE);
--- 598,623 ----
return;
}
if (strcmp(cmd,"e") == 0 || strcmp(cmd,"e!") == 0) {
! if (arg && fexpand(arg, MAXCLIN-1) == 0)
return;
(void) doecmd(arg, cmd[1] == '!');
return;
}
+ /* Patch to handle edit or edit! */
+ if (strcmp(cmd,"edit") == 0 || strcmp(cmd,"edit!") == 0) {
+ if (arg && fexpand(arg, MAXCLIN-1) == 0)
+ return;
+ (void) doecmd(arg, cmd[4] == '!');
+ return;
+ }
+ /* Patch END */
/*
* The command ":e#" gets expanded to something like ":efile", so
* detect that case here.
*/
if (*cmd == 'e' && arg == NULL) {
! if (fexpand(&cmd[1], MAXCLIN-1) == 0) /* Essential Patch */
! /* It was: if (fexpand(cmd, MAXCLIN-1-(cmd-cmdbuf)) == 0) */
return;
if (cmd[1] == '!')
(void) doecmd(&cmd[2], TRUE);
***************
*** 622,628 ****
fileinfo();
return;
}
! if (fexpand(arg, MAXCLIN-1-(arg-argbuf)) != 1) {
emsg(toomany);
return;
}
--- 630,636 ----
fileinfo();
return;
}
! if (fexpand(arg, MAXCLIN-1) != 1) {
emsg(toomany);
return;
}
***************
*** 643,649 ****
cmdread(arg+1);
return;
}
! if (fexpand(arg, MAXCLIN-1-(arg-argbuf)) != 1) {
emsg(toomany);
return;
}
--- 651,657 ----
cmdread(arg+1);
return;
}
! if (fexpand(arg, MAXCLIN-1) != 1) {
emsg(toomany);
return;
}
--
1992$@G/(J10$@7n(J08$@F|(J($@LZ(J)
--------
$@4];3D>>;!wE}7W?tM}8&5f=j(J
maruyama@ism.ac.jp
Re: stevie : machine dependent bug
Author: Junn Ohta
Date: Thu, 08 Oct 1992 03:02
Date: Thu, 08 Oct 1992 03:02
31 lines
1484 bytes
1484 bytes
$BB@ED=c!w%j%3!<$G$9!#(J In article <1992Oct7.025358.23999@tsl.cl.nec.co.jp> motizuki@tsl.cl.nec.co.jp (Mochizuki Takashi) writes: > ":e" $B$H(J ":m" $B$NN>J}$KBP=h$9$k%Q%C%A$r0J2<$KIU$1$^$9!%(J $BKhEY$I$&$b$"$j$,$H$&$4$6$$$^$9!"K>7n$5$s!#(J $B%A%'%C%/$7$F$_$^$7$?$,!"$3$N=$@5$G@5$7$$$h$&$G$9!#(J $B$?$@!"(JNULL($B6u%]%$%s%?!<(J)$B$H(JNUL($BJ8;z%3!<%I(J0$B$NJ8;z(J)$B$O(J $B0UL#$,0c$&$b$N$G$9$+$i!"(J > ! if (arg != NUL) cmd = arg; $B$NItJ,$O(J > ! if (arg != NULL) cmd = arg; $B$H$7$F$*$$$F$/$@$5$$!#(J $B$=$l$+$i!"(Jdiff$B$N8~$-$,5U$J$N$G!"%Q%C%A$rEv$F$k:]$K(J $B!V(Jpatch -R < $B$3$N%U%!%$%k!W$H$9$kI,MW$,$"$j$^$9!#(J $B<!2s$+$i$O!V(Jdiff -c <$B%*%j%8%J%k(J> <$B=$@5:Q(J>$B!W$H$7$F(J $B=PNO$7$?$b$N$rEj9F$7$F$/$@$5$$$^$;$s$+!#(J $B$;$C$+$/%G%P%C%0$^$G$7$F$b$i$C$F$$$J$,$iJ86g$P$+$j(J $B8@$C$F?=$7Lu$"$j$^$;$s!#46<U$7$F$*$j$^$9!#(J(_ _;) -------------------------------- ohta@src.ricoh.co.jp (Junn Ohta) --------------------------------
Re: stevie : machine dependent bug
Author: Shin-Aw-OKADA
Date: Thu, 08 Oct 1992 09:33
Date: Thu, 08 Oct 1992 09:33
14 lines
1197 bytes
1197 bytes
$@$7$s$7$s!w#P#F#U$G$9!#(J In article <1992Oct7.025358.23999@tsl.cl.nec.co.jp> motizuki@tsl.cl.nec.co.jp (Mochizuki Takashi) writes: > *** cmdline.c Wed Oct 7 11:19:31 1992 > --- cmdline.c.org Mon Jun 25 20:36:28 1990 $@A02s$NEj9F$b$=$&$G$7$?$,!"$3$l$C$F5U$G(J$@$9$h$M!#(J patch$@%3%^%s%I$r;H$C$?$i!"5U$K$"$F$^$9$+!)(J $@$C$F?R$M$i$l$^$7$?!#(J -- $@2,ED?8(J($@$7$s$7$s(J@pfu.fujitsu.co.jp) TEL:0427-96-5211($@Fb@~(J5357) NIF:HBG03276 $@;d$4$H$-$r62$l$F5.J}$O<+J,$N?M@8$rBfL5$7$K$9$k$N$+(J$@!)(J $@;d$4$H$-$r62$l$F!D(J
Re: stevie : machine dependent bug
Author: Mochizuki Takashi
Date: Wed, 14 Oct 1992 08:48
Date: Wed, 14 Oct 1992 08:48
20 lines
1436 bytes
1436 bytes
$B5-;v(B <4334@snoopy.src.ricoh.co.jp> ohta@snoopy.src.ricoh.co.jp (Junn Ohta) $B$5$s(B $B!JCfN,!K(B >$B$=$l$+$i!"(Bdiff$B$N8~$-$,5U$J$N$G!"%Q%C%A$rEv$F$k:]$K(B >$B!V(Bpatch -R < $B$3$N%U%!%$%k!W$H$9$kI,MW$,$"$j$^$9!#(B >$B<!2s$+$i$O!V(Bdiff -c <$B%*%j%8%J%k(B> <$B=$@5:Q(B>$B!W$H$7$F(B >$B=PNO$7$?$b$N$rEj9F$7$F$/$@$5$$$^$;$s$+!#(B $B5-;v(B <SHINSHIN.92Oct8183306@ale.trad.pfu.fujitsu.co.JP> shinshin@pfu.fujitsu.co.jp (Shin-Aw-OKADA) $B$5$s(B >$BA02s$NEj9F$b$=$&$G$7$?$,!"$3$l$C$F5U$G$9$h$M!#(B >patch$B%3%^%s%I$r;H$C$?$i!"5U$K$"$F$^$9$+!)(B $B$C$F?R$M$i$l$^$7$?!#(B $B$9$$$^$;$s!%$9$$$^$;$s!%$9$$$^$;$s!%(B(_ _)(_ _)(_ _) $B0J8e5$$r$D$1$^$9!%(B -- $BK>7n9';V(B $BF|K\EE5$!J3t!K#C!u#C%7%9%F%`8&5f=j(B
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads