Changeset 1044


Ignore:
Timestamp:
Jan 24, 2004, 11:28:37 PM (22 years ago)
Author:
bird
Message:

GLIBC error stuff.

Location:
trunk/src/emx
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/include/error.h

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r1043 r1044  
    1818   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
    1919   02111-1307 USA.  */
     20
     21/** @file
     22 * GLIBC v2.3.2
     23 */
    2024
    2125#ifndef _ERROR_H
  • trunk/src/emx/src/lib/lgpl/misc/error.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r1043 r1044  
    102102# endif
    103103
     104#ifndef __EMX__
    104105/* The calling program should define program_name and set it to the
    105106   name of the executing program.  */
    106107extern char *program_name;
     108#else
     109/* Use the BSD _getprogname() which the Innotek LIBC also implements.
     110   Using this save the time used to maintain the two program_* vars
     111   which GLIBC have. */
     112extern const char *_getprogname(void);
     113#define program_name    _getprogname()
     114#endif
    107115
    108116# if HAVE_STRERROR_R || defined strerror_r
  • trunk/src/emx/src/lib/libc.def

    • Property cvs2svn:cvs-rev changed from 1.42 to 1.43
    r1043 r1044  
    6666    "_optreset" @46
    6767    "___progname" @47
    68     "_sys_nsig" @48
    69     "_sys_siglist" @49
    70     "_sys_signame" @50
     68    "_error_message_count" @48
     69    "_error_one_per_line" @49
     70    "_error_print_progname" @50
    7171
    7272
    73 ; code
     73; code - and const
    7474    "__CRT_init" @101
    7575    "__CRT_term" @102
     
    991991    "___spawni" @1018
    992992    "_strsignal" @1019
     993    "_error" @1020
     994    "_error_at_line" @1021
     995    "_sys_nsig" @1022
     996    "_sys_siglist" @1023
     997    "_sys_signame" @1024
     998
  • trunk/src/emx/src/lib/libc.smak

    • Property cvs2svn:cvs-rev changed from 1.31 to 1.32
    r1043 r1044  
    2929.TSRC   := $(libc.TSRC.$(CPU)) $(libc.TSRC)
    3030.TDEP   := $(libc.TDEP.$(CPU)) $(libc.TDEP)
    31 .TCF    := -I$. -D__DBINTERFACE_PRIVATE -D__NETBSD_SYSCALLS -DPOSIX_MISTAKE -Isrc/lib/bsd/locale
     31.TCF    := -I$. -D__DBINTERFACE_PRIVATE -D__NETBSD_SYSCALLS -DPOSIX_MISTAKE -DHAVE_CONFIG_H -Isrc/lib/bsd/locale
    3232.INSDIR = lib/
    3333.TKEEP  := 1
Note: See TracChangeset for help on using the changeset viewer.