bug-coreutils
[Top][All Lists]
Advanced

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

[bug #16325] Fixes needed to build coreutils on Interix (SFU or SUA)


From: Matthew Woehkle
Subject: [bug #16325] Fixes needed to build coreutils on Interix (SFU or SUA)
Date: Tue, 11 Apr 2006 18:46:56 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050512 Red Hat/1.0.4-1.4.1 Firefox/1.0.4

URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=16325>

                 Summary: Fixes needed to build coreutils on Interix (SFU or
SUA)
                 Project: GNU Core Utilities
            Submitted by: woehlkmp
            Submitted on: Tuesday 04/11/06 at 18:46
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open

    _______________________________________________________

Details:

There are some relatively minor changes needed to build coreutils on Interix
(SFU 3.5 or SUA 5.2). Please consider integrating these into the next
release:

- 'configure' should not abort when it is unable to determine how to read the
mount table. There is a FIXME noting this!

- The targets 'shred' and 'sync' cannot be built because Interix has no
'sync'. 'sync' should be disabled; shred would need to be re-coded to not use
sync or should be disabled.

- src/ln.c needs the code 'if (0) symlink ("/foo", "/foo");' just before the
line 'linkfunc = symlink;'. If anyone knows WHY this is, I'd be curious to
know, but it fixes a compiler error.

- src/stat.c needs to remove the condition '&&
HAVE_STRUCT_STATVFS_F_BASETYPE' for including <sys/statvfs.h> and use
'HAVE_SYS_STATVFS_H' instead of 'HAVE_STRUCT_STATVFS_F_BASETYPE' when
deciding to use statvfs instead of statfs.

- src/setuidgid needs calls to setgroups() removed. I used:
      #ifdef __INTERIX
      # define setgroups(a,b) 0
      #endif






    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=16325>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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