bug-cpio
[Top][All Lists]
Advanced

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

[Bug-cpio] cpio 2.6 patch for freebsd 5


From: Christian Recktenwald
Subject: [Bug-cpio] cpio 2.6 patch for freebsd 5
Date: Mon, 4 Jul 2005 17:00:58 +0200
User-agent: Mutt/1.5.6i

two bugs on compiling cpio 2.6 for freebsd 5.4:
- function "isnumber" in src/userspec.c is a libc function
        NAME
                 isdigit, isnumber -- decimal-digit character test

        LIBRARY
                 Standard C Library (libc, -lc)

        SYNOPSIS
                 #include <ctype.h>

                 int
                 isdigit(int c);

                 int
                 isnumber(int c);

        DESCRIPTION
                 The isdigit() function tests for a decimal digit character.  
Regardless
                 of locale, this includes the following characters only:

                 ``0''         ``1''         ``2''         ``3''         ``4''
                 ``5''         ``6''         ``7''         ``8''         ``9''

                 The isnumber() function behaves similarly to isdigit(), but 
may recognize
                 additional characters, depending on the current locale setting.

  replaced with "isnumberstring"

- "alloca" in src/userspec.c and src/makepath.c may not become overridden
  with __builtin_alloca because it's defined inside alloca.h

  added #ifdef __FreeBSD__ ...

diff attached

-- 
Gruss / Best regards  |  LF.net GmbH        |  fon +49 711 90074-0
Chris Recktenwald     |  Ruppmannstr. 27    |  fax +49 711 90074-33
address@hidden          |  D-70565 Stuttgart  |  http://www.lf.net

Attachment: d1
Description: cpio-2.6-isnumber+alloca-fbsd5.patch


reply via email to

[Prev in Thread] Current Thread [Next in Thread]