Opened 11 years ago

Closed 11 years ago

#478 closed enhancement (fixed)

prefer remove(1) over unlink and rmdir

Reported by: Peter Johansson Owned by: Peter Johansson
Priority: trivial Milestone: svndigest 0.9
Component: core Version: trunk
Keywords: Cc:

Description

According to GNU C Lib manual

http://www.gnu.org/software/libc/manual/html_mono/libc.html#Deleting-Files

remove(1) is the C standard function and unlink and rmdir are GNU extensions. Although I doubt current svndigest is portable to non-GNU C library I think we should use the remove(1).

I could only find unlink and remove in lib/rmdirhier.cc

Change History (2)

comment:1 Changed 11 years ago by Peter Johansson

Milestone: svndigest 0.x+svndigest 0.9
Owner: changed from Jari Häkkinen to Peter Johansson
Status: newassigned

comment:2 Changed 11 years ago by Peter Johansson

Resolution: fixed
Status: assignedclosed

(In [1213]) avoid using GNU extensions. fixes #478

Note: See TracTickets for help on using tickets.