Changeset 995


Ignore:
Timestamp:
Jan 18, 2004, 6:23:50 AM (22 years ago)
Author:
bird
Message:

Initial 'porting'.

Location:
trunk/src/emx/src/lib/bsd/regex
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/src/lib/bsd/regex/engine.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r994 r995  
    3939
    4040#include <sys/cdefs.h>
     41#ifndef __EMX__ /* doesn't work for a.out */
    4142__FBSDID("$FreeBSD: src/lib/libc/regex/engine.c,v 1.13 2003/02/16 17:29:10 nectar Exp $");
     43#endif
    4244
    4345/*
  • trunk/src/emx/src/lib/bsd/regex/regcomp.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r994 r995  
    3838 */
    3939
     40#include "libc-alias.h"
    4041#if defined(LIBC_SCCS) && !defined(lint)
    4142static char sccsid[] = "@(#)regcomp.c   8.5 (Berkeley) 3/20/94";
     
    827828                        CHadd(cs, start);
    828829                else {
     830#ifndef __EMX__
    829831                        if (__collate_load_error) {
    830832                                (void)REQUIRE((uch)start <= (uch)finish, REG_ERANGE);
     
    832834                                        CHadd(cs, i);
    833835                        } else {
     836#endif
    834837                                (void)REQUIRE(__collate_range_cmp(start, finish) <= 0, REG_ERANGE);
    835838                                for (i = CHAR_MIN; i <= CHAR_MAX; i++) {
     
    839842                                                CHadd(cs, i);
    840843                                }
     844#ifndef __EMX__
    841845                        }
     846#endif
    842847                }
    843848                break;
  • trunk/src/emx/src/lib/bsd/regex/regerror.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r994 r995  
    3838 */
    3939
     40#include "libc-alias.h"
    4041#if defined(LIBC_SCCS) && !defined(lint)
    4142static char sccsid[] = "@(#)regerror.c  8.4 (Berkeley) 3/20/94";
  • trunk/src/emx/src/lib/bsd/regex/regexec.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r994 r995  
    3838 */
    3939
     40#include "libc-alias.h"
    4041#if defined(LIBC_SCCS) && !defined(lint)
    4142static char sccsid[] = "@(#)regexec.c   8.3 (Berkeley) 3/20/94";
Note: See TracChangeset for help on using the changeset viewer.