Bug 3986 - Let snprintf support C99 z modifier
Let snprintf support C99 z modifier
Product: Samba 4.0
Classification: Unclassified
Component: Other
Other All
: P3 enhancement
: ---
Assigned To: Andrew Bartlett
Andrew Bartlett
Depends on:
  Show dependency treegraph
Reported: 2006-08-02 07:23 UTC by Heinrich Schmidt
Modified: 2006-09-04 11:31 UTC (History)
0 users

See Also:

Prelimary patch (2.43 KB, patch)
2006-08-02 07:31 UTC, Heinrich Schmidt
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Heinrich Schmidt 2006-08-02 07:23:56 UTC
The snprintf replacement code does not support the C99 z modifier to handle size_t and ssize_t.

Can you please add it?

Prelimary patch with testcase appended.
Comment 1 Heinrich Schmidt 2006-08-02 07:31:00 UTC
Created attachment 2076 [details]
Prelimary patch

Preliminary patch and testcase.
Comment 2 Simo Sorce 2006-09-04 11:31:43 UTC