Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/lib/libc



Module Name:    src
Committed By:   kamil
Date:           Fri Jan  5 19:01:36 UTC 2018

Modified Files:
        src/lib/libc/gen: closefrom.c exect.c
        src/lib/libc/stdio: fopen.c freopen.c

Log Message:
Include namespace.h in a few of libc source files

The NetBSD Standard C Library uses internally some of its functions with
a mangled symbol name, usually "_symbol". The internal functions shall not
use the global (public) symbols.

This change finishes elimination of usage of the global name of the
following symbols:
  - close -> _close
  - execve -> _execve
  - fcntl -> _fcntl
  - setcontext -> _setcontext
  - wait6 -> _wait6
  - write -> _write
  - writev -> _writev

Sponsored by <The NetBSD Foundation>


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/lib/libc/gen/closefrom.c
cvs rdiff -u -r1.1 -r1.2 src/lib/libc/gen/exect.c
cvs rdiff -u -r1.17 -r1.18 src/lib/libc/stdio/fopen.c
cvs rdiff -u -r1.20 -r1.21 src/lib/libc/stdio/freopen.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index