diff options
| author | Jim Meyering <meyering@redhat.com> | 2009-08-22 18:56:06 +0200 |
|---|---|---|
| committer | Jim Meyering <meyering@redhat.com> | 2009-08-25 09:21:00 +0200 |
| commit | 5e778f7c8d1ecf3d8f11385db013af2ba026e2a5 (patch) | |
| tree | e460d471f37f0dce1ba06f60f88114d1a65326c4 /lib/fdopendir-glibc.c | |
| parent | cp: ignore obscure failure to preserve symlink time stamps, (diff) | |
| download | coreutils-5e778f7c8d1ecf3d8f11385db013af2ba026e2a5.tar.gz coreutils-5e778f7c8d1ecf3d8f11385db013af2ba026e2a5.zip | |
global: convert indentation-TABs to spaces
Transformed via this shell code:
t=$'\t'
git ls-files \
| grep -vE '(^|/)((GNU)?[Mm]akefile|ChangeLog)|\.(am|mk)$' \
| grep -vE 'tests/pr/|help2man' \
| xargs grep -lE "^ *$t" \
| xargs perl -MText::Tabs -ni -le \
'$m=/^( *\t[ \t]*)(.*)/; print $m ? expand($1) . $2 : $_'
Diffstat (limited to 'lib/fdopendir-glibc.c')
| -rw-r--r-- | lib/fdopendir-glibc.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/fdopendir-glibc.c b/lib/fdopendir-glibc.c index a35917113..1e6a460e9 100644 --- a/lib/fdopendir-glibc.c +++ b/lib/fdopendir-glibc.c @@ -77,12 +77,12 @@ __alloc_dir (int fd, bool close_fd) size_t allocation; #ifdef _STATBUF_ST_BLKSIZE if (__builtin_expect ((size_t) statp->st_blksize >= sizeof (struct dirent64), - 1)) + 1)) allocation = statp->st_blksize; else #endif allocation = (BUFSIZ < sizeof (struct dirent64) - ? sizeof (struct dirent64) : BUFSIZ); + ? sizeof (struct dirent64) : BUFSIZ); const int pad = -sizeof (DIR) % __alignof__ (struct dirent64); @@ -91,11 +91,11 @@ __alloc_dir (int fd, bool close_fd) lose: { if (close_fd) - { - int save_errno = errno; - close_not_cancel_no_status (fd); - __set_errno (save_errno); - } + { + int save_errno = errno; + close_not_cancel_no_status (fd); + __set_errno (save_errno); + } return NULL; } memset (dirp, '\0', sizeof (DIR)); |
