*BSD News Article 31772


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!netnews.upenn.edu!dsinc!spool.mu.edu!howland.reston.ans.net!EU.net!sun4nl!news.nic.surfnet.nl!tuegate.tue.nl!rwa.urc.tue.nl!rcpt
From: rcpt@rwa.urc.tue.nl (Piet Tutelaers)
Newsgroups: comp.unix.bsd
Subject: Re: Making the BSD spooler even more POSIX ...
Date: 17 Jun 1994 22:31:54 +0200
Organization: Eindhoven University of Technology, The Netherlands
Lines: 13
Message-ID: <rcpt.771884870@rwa.urc.tue.nl>
References: <rcpt.771860340@rwa.urc.tue.nl>
NNTP-Posting-Host: rwa.urc.tue.nl
X-Newsreader: NN version 6.5.0 #9 (NOV)

rcpt@rwa.urc.tue.nl (Piet Tutelaers) writes:


>In the lpd/printjob.c program there is a very funny line:
>   (void) sprintf(buf, "%c%qd %s\n", type, stb.st_size, file);
>                          ^^^                      hidden BSD feature??

>I wonder how this can work on a BSD system?

I have traced the `%qd' as a typo introduced somewhere between bsd-net-2
and NetBSD-current (of today).

--Piet