This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
Re: file locks in scanf
- From: Jeff Johnston <jjohnstn at redhat dot com>
- To: "Artem B. Bityuckiy" <abityuckiy at yandex dot ru>
- Cc: newlib at sources dot redhat dot com
- Date: Thu, 01 Apr 2004 17:53:10 -0500
- Subject: Re: file locks in scanf
- References: <406C249E.6020409@yandex.ru>
Artem B. Bityuckiy wrote:
Hello!
Why there are no _flockfile(fp)/_funlockfile(fp) calls in scanf/vfscanv
functions? It seems to me that these functions should be protected too
(like, for example, vfprinft). Why Newlib developers didn't use file
locks in scanf family?
It is an oversight. I'll take care of it.
-- Jeff J.