gl/.gitignore
author J. Ali Harlow <ali@juiblex.co.uk>
Sat Oct 04 18:12:58 2014 +0100 (2014-10-04)
changeset 454 56ff755c268c
parent 438 fab0b8a61dcb
permissions -rw-r--r--
Only export symbols starting with razor_ in dynamic library.

Apart from being good practice to avoid clashes with higher-level
libraries and the application, this also fixes an obscure bug: The
gnulib library is used both by librazor (the dynamic library) and
by razor (the executable). In doing so, we want to have two separate
copies of the library despite the code duplication this involves.
Without the explicit limit to export only razor_ symbols, the razor
executable under mingw64 was picking up the getopt_long function
from librazor and the optind variable from libgnu which meant that
it did not see optind changing. Hiding librazor's copy of getopt
causes the linker to find libgnu's copy and everything works.

Note that under mingw librazor-#.dll still contains undocumented
(private) razor_ symbols but these will do no harm as long as nobody
tries to use them.
ali@323
     1
.deps
ali@323
     2
/Makefile.am
ali@323
     3
/alloca.c
ali@323
     4
/alloca.in.h
ali@323
     5
/dummy.c
ali@323
     6
/fnmatch.c
ali@323
     7
/fnmatch.in.h
ali@323
     8
/fnmatch_loop.c
ali@323
     9
/stdbool.in.h
ali@323
    10
/wchar.in.h
ali@323
    11
/wctype.in.h
ali@326
    12
/basename.c
ali@326
    13
/dirname.c
ali@326
    14
/dirname.h
ali@326
    15
/errno.in.h
ali@326
    16
/error.c
ali@326
    17
/error.h
ali@326
    18
/exitfail.c
ali@326
    19
/exitfail.h
ali@326
    20
/gettext.h
ali@326
    21
/intprops.h
ali@326
    22
/mkdir.c
ali@326
    23
/stdlib.in.h
ali@326
    24
/strerror.c
ali@326
    25
/string.in.h
ali@326
    26
/stripslash.c
ali@326
    27
/strndup.c
ali@326
    28
/strnlen.c
ali@326
    29
/sys_stat.in.h
ali@326
    30
/unistd.in.h
ali@326
    31
/xalloc-die.c
ali@326
    32
/xalloc.h
ali@326
    33
/xmalloc.c
ali@326
    34
/xstrndup.c
ali@326
    35
/xstrndup.h
ali@336
    36
/fsync.c
ali@399
    37
/basename-lgpl.c
ali@399
    38
/config.charset
ali@399
    39
/dirname-lgpl.c
ali@399
    40
/localcharset.c
ali@399
    41
/localcharset.h
ali@399
    42
/malloc.c
ali@399
    43
/mbrtowc.c
ali@399
    44
/mbsinit.c
ali@399
    45
/mbsrtowcs-state.c
ali@399
    46
/mbsrtowcs.c
ali@399
    47
/memchr.c
ali@399
    48
/memchr.valgrind
ali@399
    49
/ref-add.sin
ali@399
    50
/ref-del.sin
ali@399
    51
/stddef.in.h
ali@399
    52
/stdint.in.h
ali@399
    53
/streq.h
ali@399
    54
/strnlen1.c
ali@399
    55
/strnlen1.h
ali@399
    56
/time.in.h
ali@399
    57
/verify.h
ali@401
    58
/dosname.h
ali@401
    59
/mbsrtowcs-impl.h
ali@415
    60
/gettimeofday.c
ali@415
    61
/lstat.c
ali@415
    62
/mkdtemp.c
ali@415
    63
/stat.c
ali@415
    64
/sys_time.in.h
ali@415
    65
/tempname.c
ali@415
    66
/tempname.h
ali@438
    67
/fcntl.in.h
ali@438
    68
/msvc-inval.c
ali@438
    69
/msvc-inval.h
ali@438
    70
/msvc-nothrow.c
ali@438
    71
/msvc-nothrow.h
ali@438
    72
/pathmax.h
ali@438
    73
/secure_getenv.c
ali@438
    74
/sys_types.in.h
ali@438
    75
/unistd.c
ali@438
    76
/wctype-h.c
ali@445
    77
/getopt.c
ali@445
    78
/getopt.in.h
ali@445
    79
/getopt1.c
ali@445
    80
/getopt_int.h