Path: utzoo!yunexus!ists!jarvis.csri.toronto.edu!mailrus!wuarchive!kuhub.cc.ukans.edu!zeus!russell From: russell@zeus.unl.edu (Tim Russell) Newsgroups: news.software.anu-news Subject: CANCEL problems in 5.9 Message-ID: <5146.25653deb@zeus.unl.edu> Date: 18 Nov 89 17:32:59 GMT Article-I.D.: zeus.5146.25653deb Lines: 46 I'm having a problem with CANCEL with NEWS 5.9. It /appears/ to be only a problem with old articles that still have the <####@machine> format (the old message-id format with no random part). The do_cancel routine works fine all the way to the end, then calls del_itm. Del_itm fails because of a string comparison. Here's a debug screen dump: 7535: 7536: while (sys$get(&itmrab) & 1) { 7537: status = del_loop = 0; 7538: itmrab.rab$b_rac = RAB$C_SEQ; 7539: ->7540: if (strcmp(mref,newsitm.itm_id)) { 7541: sys$free(&itmrab); 7542: return(ret_val); 7543: } 7544: if (!(sys$get(&grprab) & 1)) *(newsgrp.grp_name) = '\0'; 7545: if (!sender) { - OUT -output--------------------------------------------------------------- stepped to NEWSDELETE\del_id\%LINE 7534 stepped to NEWSDELETE\del_id\%LINE 7536 stepped to NEWSDELETE\del_id\del_id_40\%LINE 7537 stepped to NEWSDELETE\del_id\del_id_40\%LINE 7538 stepped to NEWSDELETE\del_id\del_id_40\%LINE 7540 NEWSDELETE\del_id\mref: "<3358@zeus.unl.edu>" NEWSDELETE\newsitm.itm_id: "<335@tness7.uucp>" - PROMPT -error-program-prompt---------------------------------------------- DBG> Notice the values of mref and newsitm.itm_id. After stepping this in- struction, the sys$free and return are called and nothing is done. I'm kind of confused; is the strcmp supposed to tell if the item didn't exist? NEWS acts in all ways as if the cancel was successful, but doesn't actually do it. Any help is appreciated! DELETE works, but I have a group manager who would like to be able to cancel her own articles, and I think that's a fair request.. :-) -- Tim Russell Univ. Of Nebr. at Omaha russell@{zeus.unl.edu | unoma1.bitnet} "It's enough to make you wonder sometimes if you're on the right planet." -- Frankie Goes To Hollywood