helpGNU dbm - Support: sr #348, tests/closerr.c must #include...

 
 
Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

sr #348: tests/closerr.c must #include <unistd.h> for the prototype of close()

Submitted by:  Adrian Bunk <bunk>
Submitted on:  Sat 11 May 2019 08:15:13 PM EEST  
 
Category: NonePriority: 5 - Normal
Severity: 3 - MinorStatus: None
Privacy: PublicAssigned to: None
Open/Closed: OpenOperating System: None

Sat 11 May 2019 08:15:13 PM EEST, original submission:

../../gdbm-1.18.1/tests/closerr.c: In function 'main':
../../gdbm-1.18.1/tests/closerr.c:42:7: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration]
if (close (gdbm_fdesc (dbf)))
^~~~~

Fix attached.

Adrian Bunk <bunk>

 

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by bunk (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    1 latest change follows.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 11 May 2019 08:15:13 PM EESTbunkAttached File-=>Added 0001-tests-closerr.c-must-include-unistd.h-for-the-protot.patch, #313
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup+gray