Searched hist:301024 (Results 1 - 1 of 1) sorted by relevance

/freebsd-11-stable/sbin/swapon/
H A Dswapon.cdiff 301024 Tue May 31 04:53:36 MDT 2016 ed Stop using the non-standard basename_r() function.

This change makes the code use the POSIX basename() function. It has the
advantage that (if implemented correctly), it also imposes no restrict
on the pathname length.

Notice that I haven't added any error handling to the strdup() call. It
looks like none of the other calls to strdup() and malloc() performed by
this utility do it either.

Reviewed by: hrs
Differential Revision: https://reviews.freebsd.org/D6626

Completed in 113 milliseconds