[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: please unblock gworldclock for squeeze



On Wed, Sep  1, 2010 at 15:32:13 +1000, Drew Parsons wrote:

> Dear Release Managers,
> 
> I would like to request you to unblock gworldclock to allow 1.4.4-8 into
> squeeze.
> 
> I have finally been able to resolve a good number of outstanding bugs,
> which will make the clock better behaved and easier for users to locate
> in the archive. (There had been some bizarre locale bugs preventing me
> from finding the fix before now).
> 
+  * Use %ms rather than %as in scanf to get dynamic allocation of
+    input strings. See man scanf.

what is this referring to?  my scanf manual says

       ·      An  optional  'a'  character.   This is used with string conver‐
              sions, and relieves the caller of the need to allocate a  corre‐
              sponding  buffer to hold the input: instead, scanf() allocates a
              buffer of sufficient size, and assigns the address of this  buf‐
              fer  to  the  corresponding  pointer argument, which should be a
              pointer to a char * variable (this variable does not need to  be
              initialized  before  the  call).  The caller should subsequently
              free(3) this buffer when it is no longer required.   This  is  a
              GNU  extension;  C99  employs  the 'a' character as a conversion
              specifier (and it can also be used as such in the GNU  implemen‐
              tation).

and I can't see anything about 'm'.

Cheers,
Julien

Attachment: signature.asc
Description: Digital signature


Reply to: