From c7bda1ce659294d6e22c06e087f6f265983c7578 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Mon, 15 Mar 2004 08:29:22 +0000 Subject: Remove trailing whitespace. Update copyright to include 2004. --- libbb/xfuncs.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'libbb/xfuncs.c') diff --git a/libbb/xfuncs.c b/libbb/xfuncs.c index da3775a..01b2f87 100644 --- a/libbb/xfuncs.c +++ b/libbb/xfuncs.c @@ -2,7 +2,7 @@ /* * Utility routines. * - * Copyright (C) 1999-2003 by Erik Andersen + * Copyright (C) 1999-2004 by Erik Andersen * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -85,7 +85,7 @@ extern char * bb_xstrndup (const char *s, int n) { bb_error_msg_and_die("bb_xstrndup bug"); t = xmalloc(++n); - + return safe_strncpy(t,s,n); } #endif @@ -104,7 +104,7 @@ FILE *bb_xfopen(const char *path, const char *mode) extern int bb_xopen(const char *pathname, int flags) { int ret; - + ret = open(pathname, flags, 0777); if (ret == -1) { bb_perror_msg_and_die("%s", pathname); @@ -146,10 +146,10 @@ extern void bb_xread_all(int fd, void *buf, size_t count) extern unsigned char bb_xread_char(int fd) { char tmp; - + bb_xread_all(fd, &tmp, 1); - return(tmp); + return(tmp); } #endif -- cgit v1.1