#18 FreeBSD source string

3.2.0
closed
None
5
2012-08-14
2006-06-14
No

The FreeBSD port compiles with a source string that
identifies it as a LINUX host. This clearly prevents
REXX programs to be made sensitive to Linux/FreeBSD
differences.

The attached patch file was made in the Linux port. I
expect it needs to have the path to the source file
adjusted. Its name also has a strong BSD port flavour.

Discussion

  • John P. Hartmann

    Logged In: YES
    user_id=1309848

    That said, the real unixy way of getting the system name is
    to call uname(3) and take it from the sysname member. This
    is what the command uname -s does. And the release string.

    A better fix is attached (hartmann2.zip)

     
  • John P. Hartmann

    Improved fix for source string. Use uname (3).

     
  • John P. Hartmann

    Logged In: YES
    user_id=1309848

    Mark, the patch is for version 3.

     
  • Mark Hessling

    Mark Hessling - 2006-06-27

    Logged In: YES
    user_id=86185

    While using uname() can determine the system type
    automatically, at the moment more control is needed over the
    string that is returned. It certainly needs to remain the
    same for backwards compatibility.
    The system type string is now determined in the configure
    script, so this patch has been rejected.

     


Anonymous

Cancel  Add attachments