Fix utime/utimes when passed a NULL pointer.

Bug: 11383777
Change-Id: If944a42f3adfa8a6ce91c167c249e009ed63300a
This commit is contained in:
Elliott Hughes
2013-10-28 13:21:06 -07:00
parent d4e9f076d6
commit 27586ebe1a
3 changed files with 18 additions and 6 deletions

View File

@@ -25,6 +25,7 @@
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*/
#ifndef _UTIME_H_
#define _UTIME_H_
@@ -34,9 +35,8 @@
__BEGIN_DECLS
extern int utime(const char *, const struct utimbuf *);
extern int utime(const char*, const struct utimbuf*);
__END_DECLS
#endif /* _UTIME_H_ */