This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFC: [PATCH] Simplify installed.db format (take 3)


On Mon, 23 Jan 2006, Buzz wrote:

> Op Sun, 22 Jan 2006 23:28:04 -0500 (EST) schreef Igor Peshansky
> in <Pine.GSO.4.63.0601222324410.18707<at>access1.cims.nyu.edu>:
>
> :  On Sun, 22 Jan 2006, Igor Peshansky wrote:
>
> : > The attached patch fixes the parsing of installed.db package lines.
> : > Comments welcome.
>
> +		  sscanf (line, "%s %s", pkgname, inst);
>
> Won't this parse the `` 0'' into ``inst''? Did you mean
>
> +		  sscanf (line, "%s %s ", pkgname, inst);
>
> perhaps?

Umm, yes, good point.  In fact, let's use the attached patch instead.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha@cs.nyu.edu | igor@watson.ibm.com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"

Attachment: setup-installed.db-parse.patch
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]