Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


Heads-up:

Looking at gbuildifying idlc, I noticed the glibc hack to get a getopt
implementation on platform that don't have a native one.

so, I wrote a gnu-compatile implementation based on
http://www.kernel.org/doc/man-pages/online/pages/man3/getopt.3.html

and I intend to add it to osl for platform that do not define
HAVE_GETOPT="YES" in configure.in

I still have to write some unittest to make sure I did not screw-up too much...

Usage wise, the main change to migrate from the non osl version to the
osl-based version will be to replace
#include <getopt.h>
with
#include <osl/getopt.h>

all the rest should remain untouched.


If you feel strongly against that, please let me know.

Norbert

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.