bugfindutils - Bugs: bug #20261, fcntl.h can be included...

 
 

bug #20261: fcntl.h can be included unconditinally

Submitter:  James Youngman <jay>
Submitted:  Tue 26 Jun 2007 07:28:06 AM UTC
   
 
Category:  None Severity:  2 - Minor
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  jay
Originator Name:  Open/Closed:  Closed
Release:  None Fixed Release:  4.3.9
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 08 Sep 2007 12:13:41 PM UTC, comment #2: 

fcntl.h has been unconditionally included since 2007-07-02 (but that code has not yet been included in a release).

./find/fstype.c-
./find/fstype.c:#include <fcntl.h>
./find/fstype.c-#ifdef HAVE_SYS_MNTIO_H
--
./find/ftsfind.c-
./find/ftsfind.c:#include <fcntl.h>
./find/ftsfind.c-#include <sys/stat.h>
--
./find/parser.c-
./find/parser.c:#include <fcntl.h>
./find/parser.c-
--
./find/pred.c-#include <stdarg.h>
./find/pred.c:#include <fcntl.h>
./find/pred.c-#include <locale.h>
--
./find/util.c-
./find/util.c:#include <fcntl.h>
./find/util.c-#ifdef HAVE_SYS_UTSNAME_H
--
./find/find.c-#include <sys/stat.h>
./find/find.c:#include <fcntl.h>
./find/find.c-#include <openat.h>
--
./locate/locate.c-
./locate/locate.c:#include <fcntl.h>
./locate/locate.c-
--
./xargs/xargs.c-#include <getopt.h>
./xargs/xargs.c:#include <fcntl.h>
./xargs/xargs.c-
--
./lib/listfile.c-#include <errno.h>
./lib/listfile.c:#include <fcntl.h>
./lib/listfile.c-#include <string.h>

James Youngman <jay>
Group administrator
Sun 01 Jul 2007 10:48:32 PM UTC, comment #1: 

See attached patch.

(file #13224)

James Youngman <jay>
Group administrator
Tue 26 Jun 2007 07:28:06 AM UTC, original submission:  

Eric writes:

Not this patch, but gnulib provides fcntl.h, so that you can
unconditionally include it.

James Youngman <jay>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jay (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-11-11 jay Open/ClosedOpen Closed
        Fixed ReleaseNone 4.3.9
    2007-09-08 jay StatusNone Fixed
    2007-07-01 jay Attached File- Added 0009-Include-fcntl.h-unconditionally.patch, #13224
    2007-06-26 jay Summaryfcntl.h can be includdd unconditinally fcntl.h can be included unconditinally

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code