This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Bug in 2.1.3 current CVS (+patch)



I just got:

programs/ld-ctype.c: In function `ctype_output':
programs/ld-ctype.c:597: parse error before `~'

Here's the offending statement:
	  CTYPE_DATA (_NL_CTYPE_WIDTH,
		      ctype->width,
		      (ctype->plane_size * ctype->plane_cnt + 3) ~3ul);

I guess you missed an "&".

Andreas

2000-02-24  Andreas Jaeger  <aj@suse.de>

	* locale/programs/ld-ctype.c (ctype_output): Fix last patch.

============================================================
Index: locale/programs/ld-ctype.c
--- locale/programs/ld-ctype.c	2000/02/24 05:50:20	1.23.2.4
+++ locale/programs/ld-ctype.c	2000/02/24 09:34:22
@@ -594,7 +594,7 @@
 
 	  CTYPE_DATA (_NL_CTYPE_WIDTH,
 		      ctype->width,
-		      (ctype->plane_size * ctype->plane_cnt + 3) ~3ul);
+		      (ctype->plane_size * ctype->plane_cnt + 3) & ~3ul);
 
 	  CTYPE_DATA (_NL_CTYPE_MB_CUR_MAX,
 		      &ctype->mb_cur_max, sizeof (u_int32_t));

-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.rhein-neckar.de

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]