To: Goet, Kees Subject: RE: OpenVMS 7.3-1 and CSWING -----Original Message----- From: Goet, Kees [mailto:Kees.Goet@wur.nl] Sent: Saturday, November 23, 2002 11:00 AM To: Everhart, Glenn (Card Services) Subject: RE: OpenVMS 7.3-1 and CSWING Glenn, I think I found a bug in this version of CSWING. When you go to Filemanager, displayformat 1, you see: A.TMP;1 0/0 [] (RWED,RWED,,) EDTINI.EDT;2 1/9 [???] (RWED,RWED,,) The first file is owned by a UIC without a corresponding identifier, while the second file is owned by a UIC which has an identifier. This is handled in swing_28.c, procedure owner_name. There is a call to idtoasc, followed by a check for the return status. I think this check is not correct: status = sys$idtoasc(f->uic, &namlen, DSCA1(nambuf),0,0,0); if((status & 1) != 1) should probably be: status = sys$idtoasc(f->uic, &namlen, DSCA1(nambuf),0,0,0); if((status & 1) == 1) /* test "not equals" should be "equals" After this change, the output shows: A.TMP;1 0/0 [00050,00777] (RWED,RWED,,) EDTINI.EDT;2 1/9 [VMS_ADMIN] (RWED,RWED,,) Kees Goet. -----Original Message----- From: Glenn_Everhart@bankone.com [mailto:Glenn_Everhart@bankone.com] Sent: vrijdag 22 november 2002 17:37 To: Goet, Kees Subject: RE: OpenVMS 7.3-1 and CSWING Good. Glad to hear you have it running. Turned out there were (among other things) at least 3 other places where the context variable was wrongly handled. Lord knows how many other latent bugs may still be there but this one seems to run pretty decently on the whole. Glenn Everhart -----Original Message----- From: Goet, Kees [mailto:Kees.Goet@wur.nl] Sent: Friday, November 22, 2002 11:20 AM To: Everhart, Glenn (Card Services) Subject: RE: OpenVMS 7.3-1 and CSWING Glenn, Thanks again. It compiled and linked on VMS 7.3-1, without any compilation or linker warning or info-message. The executable runs on 7.3-1, 7.3, 7.2-1 and 7.1-2. Kees Goet. >-----Original Message----- >From: Glenn_Everhart@bankone.com [mailto:Glenn_Everhart@bankone.com] >Sent: vrijdag 22 november 2002 14:09 >To: Goet, Kees >Subject: FW: OpenVMS 7.3-1 and CSWING > > >Here is a more fully fixed up cswing. Unzip on VMS since this >zip file uses vms attributes. You may need to tweak make.com >or swing.mms to avoid a debug compile but this has numerous >fixes not all of which have been mentioned on info-vax/comp.os.vms. > >Share with others if you like also. > >Glenn Everhart > > >********************************************************************** >This transmission may contain information that is privileged, >confidential and/or exempt from disclosure under applicable >law. If you are not the intended recipient, you are hereby >notified that any disclosure, copying, distribution, or use of >the information contained herein (including any reliance >thereon) is STRICTLY PROHIBITED. If you received this >transmission in error, please immediately contact the sender >and destroy the material in its entirety, whether in >electronic or hard copy format. Thank you >********************************************************************** > > ********************************************************************** This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you **********************************************************************