cvs commit: src/lib/libc/gen _pthread_stubs.c _spinlock_stub.c src/lib/libc/stdio _flock_stub.c src/lib/libc/sys __error.c

Joerg Sonnenberger joerg at
Tue Feb 1 14:35:52 PST 2005

joerg       2005/02/01 14:35:19 PST

DragonFly src repository

  Modified files:
    lib/libc/gen         _pthread_stubs.c _spinlock_stub.c 
    lib/libc/stdio       _flock_stub.c 
    lib/libc/sys         __error.c 
  GCC 3.4 doesn't include a #pragma weak reference, if the symbol
  doesn't exist anyway. This broke the build obviously.
  Change the places in libc which used the pragma to use __weak_reference.
  Revision  Changes    Path
  1.2       +13 -14    src/lib/libc/gen/_pthread_stubs.c
  1.5       +4 -7      src/lib/libc/gen/_spinlock_stub.c
  1.5       +7 -7      src/lib/libc/stdio/_flock_stub.c
  1.4       +2 -4      src/lib/libc/sys/__error.c

More information about the Commits mailing list