Luke Kenneth Casson Leighton lkcl at
Wed Aug 5 14:08:42 GMT 1998

On Wed, 5 Aug 1998, Jean-Francois Micouleau wrote:

> On Wed, 5 Aug 1998, Luke Kenneth Casson Leighton wrote:
> > if you have a "utils.c" file with 4,000 lines of code in it, who's going
> > to be bothered to trawl through it to find a 16-bit version of strcat?
> > 
> > if you have a "unicodestr.c" file with 200 lines of code in it, ustrcat is
> > going to pop up in seconds.
> And the functions names should be all based on the same convention.

yes, absolutely.  richard has the right idea by naming his file-handling
functions all with file_.   while working for pi technology, the coding
standards dictated that the functions should be named after the first few
letters of the module in which they could be found.

> I gave up using unicode, I converted all my code to use char * and convert
> to unicode just before/after (output/input stream) parsing.

good.  me too :)

More information about the samba-technical mailing list