🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c.moderated
Article #2315

Re: a problem with printf

#2315
From: John Winters
Date: Sun, 17 Mar 1996 03:54
35 lines
1155 bytes
In article <4i7vpu$432@solutions.solon.com>,
walter briscoe  <walter@wbriscoe.demon.co.uk> wrote:
 >
 >Meiux que je parle francais. J'ai essaye pc-lint. Il a trouve
 >
 >[snip]
 >
 >> void echanger ( fichier *f1, fichier *f2 )
 >> {
 >>   fichier *tmp;
 >>   *tmp=*f1; /* tmp n'indique rien ici */
 >>   *f1=*f2;
 >>   *f2=*tmp;
 >> }
 >
 >j'ai essaye
 >
 >void echanger ( fichier *f1, fichier *f2 )
 >{
 >  fichier *tmp;
 >  tmp=*f1;
 >  *f1=*f2;
 >  *f2=tmp;
 >}
 >
 >Tout sera bien.

Are you seriously suggesting that PC-Lint didn't barf at this 
"improved" version? I'd expect even the compiler to spit and swear a bit.

John


-- 
John Winters.  Wallingford, Oxon, England.
Technical Details
Message-ID: <4ig2dn$gad@solutions.solon.com>
Path: arc1-ca.pugleaf.net!solon.com!not-for-mail
References: <4i6hn8$pc9@solutions.solon.com> <4i7vpu$432@solutions.solon.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!solon.com!not-for-mail
From: John Winters <john@polo.demon.co.uk>
Newsgroups: comp.lang.c.moderated
Subject: Re: a problem with printf
Date: 16 Mar 1996 21:54:31 -0600
Organization: Wallingford
Sender: clc@solutions.solon.com
Approved: clc@solutions.solon.com
Message-ID: <4ig2dn$gad@solutions.solon.com>
References: <4i6hn8$pc9@solutions.solon.com> <4i7vpu$432@solutions.solon.com>
NNTP-Posting-Host: solutions.solon.com