Article View: fj.sources.d
Article #1058xwatch patch
From: Yuuki Harano
Date: Sat, 06 Feb 1993 06:36
Date: Sat, 06 Feb 1993 06:36
78 lines
2988 bytes
2988 bytes
$@86Ln!w6eBg$G$9!#(J
$@:rF|%]%9%H$7$?(J xwatch $@$N%3%s%Q%$%k;~$K%(%i!<$,=P$k$=$&$J$N$G!"%Q%C%A$G$9!#(J
$@#3$D$N(J =&... $@$r(J =(&...) $@$K$7$^$7$?!#(J
--- cut here ------ cut here ------ cut here ------ cut here ---
diff -c ../old/patchlevel.h ./patchlevel.h
*** ../old/patchlevel.h Wed Feb 3 10:46:09 1993
--- ./patchlevel.h Sat Feb 6 15:14:25 1993
***************
*** 6,9 ****
*
*/
! #define Patchlevel 3
--- 6,9 ----
*
*/
! #define Patchlevel 4
diff -c ../old/whod.c ./whod.c
*** ../old/whod.c Tue Jan 12 21:41:36 1993
--- ./whod.c Sat Feb 6 14:33:10 1993
***************
*** 147,153 ****
if(nowtime-info.wd_recvtime>5*60){
host->running=False;
strcpy(&(host->person[0].name[9]),"* down *");
! host->persontable[0]=&(host->person[0]);
}else{
host->running=True;
for(i=0;i<len/sizeof(struct whoent);i++){
--- 147,153 ----
if(nowtime-info.wd_recvtime>5*60){
host->running=False;
strcpy(&(host->person[0].name[9]),"* down *");
! host->persontable[0]=(&host->person[0]);
}else{
host->running=True;
for(i=0;i<len/sizeof(struct whoent);i++){
***************
*** 160,166 ****
}
}
if(!status){
! host->persontable[j]=&(host->person[j]);
strcpy(host->person[j].name," ");
strncpy(&(host->person[j].name[9]),
info.wd_we[i].we_utmp.out_name,8);
--- 160,166 ----
}
}
if(!status){
! host->persontable[j]=(&host->person[j]);
strcpy(host->person[j].name," ");
strncpy(&(host->person[j].name[9]),
info.wd_we[i].we_utmp.out_name,8);
***************
*** 222,228 ****
sizeof(Person*),ComparePerson);
}else{
host->person[0].name[9]='\0';
! host->persontable[0]=&(host->person[0]);
}
}
for(i=0;i<8&&host->hostname[i];i++)
--- 222,228 ----
sizeof(Person*),ComparePerson);
}else{
host->person[0].name[9]='\0';
! host->persontable[0]=(&host->person[0]);
}
}
for(i=0;i<8&&host->hostname[i];i++)
--- cut here ------ cut here ------ cut here ------ cut here ---
--
$@6e=#Bg3X9)3XItEE5$7O3X2J#3G/(J $@86Ln(J $@M5<y(J
E-mail: harano@csce.kyushu-u.ac.jp
Technical Details
Message-ID:
<1993Feb6.063637.10458@csce.kyushu-u.ac.jp>Path:
arc1-ca.pugleaf.net!sparky!uunet!ccut!news.u-tokyo.ac.jp!wnoc-tyo-news!dclsic!yilnws!hamamatsu-pc.ac.jp!tutgw!tutkie!nucc!kudpc!hakata!kyu-cs!inunaki.csce.kyushu-u!haranoShow Full Headers
Complete Article Headers
X-Google-Language: Japanese,JIS X-Google-Thread: fbb7e,967599b310f6c1dc,start X-Google-Attributes: gidfbb7e,public X-Google-ArrivalTime: 1993-02-05 22:36:37 PST Path: arc1-ca.pugleaf.net!sparky!uunet!ccut!news.u-tokyo.ac.jp!wnoc-tyo-news!dclsic!yilnws!hamamatsu-pc.ac.jp!tutgw!tutkie!nucc!kudpc!hakata!kyu-cs!inunaki.csce.kyushu-u!harano From: harano@vax88.csce.kyushu-u.ac.jp (Yuuki Harano) Newsgroups: fj.sources.d Subject: xwatch patch Message-ID: <1993Feb6.063637.10458@csce.kyushu-u.ac.jp> Date: 6 Feb 93 06:36:37 GMT Sender: news@csce.kyushu-u.ac.jp (USENET News System) Distribution: fj Organization: Dept. of Comp. Sci. and Comm. Eng., Kyushu Univ., Fukuoka, Japan Lines: 78 Nntp-Posting-Host: vax88 X-Bytes: 2190