🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #1509

Minor bug in Gas 1.31 + FIX

#1509
From: Alexander Dupuy
Date: Fri, 17 Mar 1989 08:56
31 lines
1085 bytes
If you pass it a garbage argument, it complains forever.

@alex


*** /tmp/,RCSt1a07985	Fri Mar 17 03:55:12 1989
--- as.c	Fri Mar 17 03:54:45 1989
***************
*** 170,180 ****
  
  			default:
  				--arg;
! 				if(md_parse_option(&arg,&work_argc,&work_argv)) {
! 					if(arg && *arg)
! 						arg++;
! 				} else
  					as_warn("%s: I don't understand '%c' flag!",myname,a);
  				break;
  			}
  		}
--- 170,179 ----
  
  			default:
  				--arg;
! 				if(!md_parse_option(&arg,&work_argc,&work_argv))
  					as_warn("%s: I don't understand '%c' flag!",myname,a);
+ 				if(arg && *arg)
+ 					arg++;
  				break;
  			}
  		}
Technical Details
Message-ID: <8903170856.AA08110@cs.columbia.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!CS.COLUMBIA.EDU!dupuy

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!CS.COLUMBIA.EDU!dupuy
From: dupuy@CS.COLUMBIA.EDU (Alexander Dupuy)
Newsgroups: gnu.utils.bug
Subject: Minor bug in Gas 1.31 + FIX
Message-ID: <8903170856.AA08110@cs.columbia.edu>
Date: 17 Mar 89 08:56:54 GMT
Sender: daemon@tut.cis.ohio-state.edu
Reply-To: dupuy@cs.columbia.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 31