jerenkrantz 01/11/11 08:32:10
Modified: file_io/unix readwrite.c
Log:
Don't mix tabs and spaces in the same code segment.
Revision Changes Path
1.73 +6 -6 apr/file_io/unix/readwrite.c
Index: readwrite.c
===================================================================
RCS file: /home/cvs/apr/file_io/unix/readwrite.c,v
retrieving revision 1.72
retrieving revision 1.73
diff -u -r1.72 -r1.73
--- readwrite.c 2001/08/29 20:38:38 1.72
+++ readwrite.c 2001/11/11 16:32:10 1.73
@@ -109,7 +109,7 @@
if (*nbytes <= 0) {
*nbytes = 0;
- return APR_SUCCESS;
+ return APR_SUCCESS;
}
if (thefile->buffered) {
@@ -128,7 +128,7 @@
thefile->dataRead = 0;
}
- rv = 0;
+ rv = 0;
if (thefile->ungetchar != -1) {
*pos = (char)thefile->ungetchar;
++pos;
@@ -177,8 +177,8 @@
(*nbytes)--;
thefile->ungetchar = -1;
if (*nbytes == 0) {
- *nbytes = bytes_read;
- return APR_SUCCESS;
+ *nbytes = bytes_read;
+ return APR_SUCCESS;
}
}
@@ -237,7 +237,7 @@
thefile->direction = 1;
}
- rv = 0;
+ rv = 0;
while (rv == 0 && size > 0) {
if (thefile->bufpos == APR_FILE_BUFSIZE) /* write buffer is
full*/
apr_file_flush(thefile);
@@ -271,7 +271,7 @@
else {
do {
rv = write(thefile->filedes, buf, *nbytes);
- } while (rv == (apr_size_t)-1 && errno == EINTR);
+ } while (rv == (apr_size_t)-1 && errno == EINTR);
}
}
#endif