diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2009-12-10 09:21:37 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2009-12-10 09:21:37 (GMT) |
commit | b3dcb75ee899428c0b1fae1ae3ddc2770030792b (patch) | |
tree | e542643bcafeaa434bb7d9531afb9f285ca7d2e5 /compat | |
parent | 15f182d337ae87fc0027e61456f7a79bce13251a (diff) | |
download | tcl-b3dcb75ee899428c0b1fae1ae3ddc2770030792b.zip tcl-b3dcb75ee899428c0b1fae1ae3ddc2770030792b.tar.gz tcl-b3dcb75ee899428c0b1fae1ae3ddc2770030792b.tar.bz2 |
Minor whitespace cleanup... nothing to see here
Diffstat (limited to 'compat')
-rw-r--r-- | compat/opendir.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/compat/opendir.c b/compat/opendir.c index 6c8f263..1822261 100644 --- a/compat/opendir.c +++ b/compat/opendir.c @@ -5,14 +5,14 @@ * Unix systems that don't have such procedures. The origin of this code * is unclear, but it seems to have come originally from Larry Wall. * - * RCS: @(#) $Id: opendir.c,v 1.4 2007/04/16 13:36:34 dkf Exp $ + * RCS: @(#) $Id: opendir.c,v 1.5 2009/12/10 09:21:37 dkf Exp $ */ #include "tclInt.h" #undef DIRSIZ #define DIRSIZ(dp) \ - ((sizeof (struct dirent) - (MAXNAMLEN+1)) + (((dp)->d_namlen+1 + 3) &~ 3)) + ((sizeof(struct dirent) - (MAXNAMLEN+1)) + (((dp)->d_namlen+1 + 3) &~ 3)) /* * open a directory. @@ -47,14 +47,14 @@ opendir( #ifndef pyr #define ODIRSIZ 14 -struct olddirect { +struct olddirect { ino_t od_ino; char od_name[ODIRSIZ]; }; #else /* a Pyramid in the ATT universe */ #define ODIRSIZ 248 -struct olddirect { +struct olddirect { long od_ino; short od_fill1, od_fill2; char od_name[ODIRSIZ]; |