Bug 3986 - Let snprintf support C99 z modifier
Summary: Let snprintf support C99 z modifier
Status: RESOLVED FIXED
Alias: None
Product: Samba 4.0
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: Other All
: P3 enhancement (vote)
Target Milestone: ---
Assignee: Andrew Bartlett
QA Contact: Andrew Bartlett
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-02 07:23 UTC by Heinrich Schmidt
Modified: 2006-09-04 11:31 UTC (History)
0 users

See Also:


Attachments
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
Implemented