[xorg-commit-diffs] xc/lib/FS FSlibInt.c,1.1.4.3,1.1.4.4
Egbert Eich
xorg-commit at pdx.freedesktop.org
Thu Apr 15 03:14:55 PDT 2004
- Previous message: [xorg-commit-diffs] xc/lib Imakefile,1.1.4.3,1.1.4.4
- Next message: [xorg-commit-diffs]
xc/lib/PEX5 Imakefile, 1.1.4.1, NONE PEX.h, 1.1,
NONE PEX5-def.cpp, 1.1, NONE PEXlib.h, 1.1, NONE PEXlibint.h,
1.1, NONE PEXproto.h, 1.1, NONE PEXprotost.h, 1.1,
NONE jump_funcs, 1.1.4.1, NONE jump_ignore, 1.1.4.1,
NONE jump_vars, 1.1.4.1, NONE pl_convert.c, 1.1,
NONE pl_convert.h, 1.1, NONE pl_escape.c, 1.1,
NONE pl_extract.h, 1.1, NONE pl_font.c, 1.1, NONE pl_free.c,
1.1, NONE pl_global.h, 1.1, NONE pl_lut.c, 1.1, NONE pl_lut.h,
1.1, NONE pl_nameset.c, 1.1, NONE pl_oc_attr.c, 1.1,
NONE pl_oc_dec.c, 1.1, NONE pl_oc_enc.c, 1.1,
NONE pl_oc_prim.c, 1.1, NONE pl_oc_str.c, 1.1,
NONE pl_oc_util.c, 1.1, NONE pl_oc_util.h, 1.1, NONE pl_pc.c,
1.1, NONE pl_pick.c, 1.1, NONE pl_rdr.c, 1.1, NONE pl_sc.c,
1.1, NONE pl_startup.c, 1.1, NONE pl_store.h, 1.1,
NONE pl_struct.c, 1.1, NONE pl_util.c, 1.1, NONE pl_util.h,
1.1, NONE pl_wks.c, 1.1, NONE pl_xdata.h, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Committed by: eich
Update of /cvs/xorg/xc/lib/FS
In directory pdx:/home/eich/tstbuild/xc/lib/FS
Modified Files:
Tag: XORG-CURRENT
FSlibInt.c
Log Message:
2004-04-15 Egbert Eich <eich at freedesktop.org>
Merged changes from RELEASE-1 branch
Index: FSlibInt.c
===================================================================
RCS file: /cvs/xorg/xc/lib/FS/FSlibInt.c,v
retrieving revision 1.1.4.3
retrieving revision 1.1.4.4
diff -u -d -r1.1.4.3 -r1.1.4.4
--- a/FSlibInt.c 5 Mar 2004 13:38:53 -0000 1.1.4.3
+++ b/FSlibInt.c 15 Apr 2004 10:14:52 -0000 1.1.4.4
@@ -498,9 +498,10 @@
if (bytes_read > 0) {
size -= bytes_read;
if (iov[0].iov_len < bytes_read) {
- iov[1].iov_len += iov[0].iov_len - bytes_read;
+ int pad_bytes_read = bytes_read - iov[0].iov_len;
+ iov[1].iov_len -= pad_bytes_read;
iov[1].iov_base =
- (char *)iov[1].iov_base +bytes_read - iov[0].iov_len;
+ (char *)iov[1].iov_base + pad_bytes_read;
iov[0].iov_len = 0;
} else {
iov[0].iov_len -= bytes_read;
- Previous message: [xorg-commit-diffs] xc/lib Imakefile,1.1.4.3,1.1.4.4
- Next message: [xorg-commit-diffs]
xc/lib/PEX5 Imakefile, 1.1.4.1, NONE PEX.h, 1.1,
NONE PEX5-def.cpp, 1.1, NONE PEXlib.h, 1.1, NONE PEXlibint.h,
1.1, NONE PEXproto.h, 1.1, NONE PEXprotost.h, 1.1,
NONE jump_funcs, 1.1.4.1, NONE jump_ignore, 1.1.4.1,
NONE jump_vars, 1.1.4.1, NONE pl_convert.c, 1.1,
NONE pl_convert.h, 1.1, NONE pl_escape.c, 1.1,
NONE pl_extract.h, 1.1, NONE pl_font.c, 1.1, NONE pl_free.c,
1.1, NONE pl_global.h, 1.1, NONE pl_lut.c, 1.1, NONE pl_lut.h,
1.1, NONE pl_nameset.c, 1.1, NONE pl_oc_attr.c, 1.1,
NONE pl_oc_dec.c, 1.1, NONE pl_oc_enc.c, 1.1,
NONE pl_oc_prim.c, 1.1, NONE pl_oc_str.c, 1.1,
NONE pl_oc_util.c, 1.1, NONE pl_oc_util.h, 1.1, NONE pl_pc.c,
1.1, NONE pl_pick.c, 1.1, NONE pl_rdr.c, 1.1, NONE pl_sc.c,
1.1, NONE pl_startup.c, 1.1, NONE pl_store.h, 1.1,
NONE pl_struct.c, 1.1, NONE pl_util.c, 1.1, NONE pl_util.h,
1.1, NONE pl_wks.c, 1.1, NONE pl_xdata.h, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the xorg-commit-diffs
mailing list