public inbox for libc-hacker@sourceware.org
 help / color / mirror / Atom feed
* regexec.c does not build
@ 2004-01-03  9:39 Andreas Jaeger
  2004-01-03 12:49 ` Jakub Jelinek
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Jaeger @ 2004-01-03  9:39 UTC (permalink / raw)
  To: GNU libc hacker

[-- Attachment #1: Type: text/plain, Size: 1411 bytes --]


Uli, did you forget to commit a patch?

In file included from regex.c:54:
regexec.c: In function `re_search_internal':
regexec.c:572: error: unknown field `dfa' specified in initializer
regexec.c:572: warning: missing braces around initializer
regexec.c:572: warning: (near initialization for `mctx.input')
regexec.c:572: warning: initialization from incompatible pointer type
regexec.c: In function `prune_impossible_nodes':
regexec.c:846: error: structure has no member named `dfa'
regexec.c: In function `acquire_init_state_context':
regexec.c:936: error: structure has no member named `dfa'
regexec.c: In function `check_matching':
regexec.c:977: error: structure has no member named `dfa'
regexec.c: In function `check_halt_state_context':
regexec.c:1103: error: structure has no member named `dfa'
regexec.c: In function `proceed_next_node':
regexec.c:1121: error: structure has no member named `dfa'
regexec.c: In function `sift_states_backward':
regexec.c:1442: error: structure has no member named `dfa'
regexec.c: In function `update_cur_sifted_state':
regexec.c:1608: error: structure has no member named `dfa'
regexec.c: In function `check_dst_limits':

This is current CVS,
Andreas
-- 
 Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
  SuSE Linux AG, Maxfeldstr. 5, 90409 Nürnberg, Germany
   GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126

[-- Attachment #2: Type: application/pgp-signature, Size: 188 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: regexec.c does not build
  2004-01-03  9:39 regexec.c does not build Andreas Jaeger
@ 2004-01-03 12:49 ` Jakub Jelinek
  2004-01-03 13:08   ` Andreas Jaeger
  0 siblings, 1 reply; 3+ messages in thread
From: Jakub Jelinek @ 2004-01-03 12:49 UTC (permalink / raw)
  To: Andreas Jaeger; +Cc: GNU libc hacker

On Sat, Jan 03, 2004 at 10:37:08AM +0100, Andreas Jaeger wrote:
> 
> Uli, did you forget to commit a patch?
> 
> In file included from regex.c:54:
> regexec.c: In function `re_search_internal':
> regexec.c:572: error: unknown field `dfa' specified in initializer
> regexec.c:572: warning: missing braces around initializer
> regexec.c:572: warning: (near initialization for `mctx.input')
> regexec.c:572: warning: initialization from incompatible pointer type
> regexec.c: In function `prune_impossible_nodes':
> regexec.c:846: error: structure has no member named `dfa'
> regexec.c: In function `acquire_init_state_context':
> regexec.c:936: error: structure has no member named `dfa'
> regexec.c: In function `check_matching':
> regexec.c:977: error: structure has no member named `dfa'
> regexec.c: In function `check_halt_state_context':
> regexec.c:1103: error: structure has no member named `dfa'
> regexec.c: In function `proceed_next_node':
> regexec.c:1121: error: structure has no member named `dfa'
> regexec.c: In function `sift_states_backward':
> regexec.c:1442: error: structure has no member named `dfa'
> regexec.c: In function `update_cur_sifted_state':
> regexec.c:1608: error: structure has no member named `dfa'
> regexec.c: In function `check_dst_limits':

Seems the regex_internal.h part of the patch has not been commited.
Also, perl -pi -e 's/mctxt/mctx/' ChangeLog
(sorry for not providing ChangeLog entry yesterday).

--- libc/posix/regex_internal.h.jj	2004-01-03 13:44:41.000000000 +0100
+++ libc/posix/regex_internal.h	2004-01-03 13:45:04.000000000 +0100
@@ -556,6 +556,11 @@ typedef struct
 {
   /* The string object corresponding to the input string.  */
   re_string_t input;
+#if defined _LIBC || (defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L)
+  re_dfa_t *const dfa;
+#else
+  re_dfa_t *dfa;
+#endif
   /* EFLAGS of the argument of regexec.  */
   int eflags;
   /* Where the matching ends.  */


	Jakub

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: regexec.c does not build
  2004-01-03 12:49 ` Jakub Jelinek
@ 2004-01-03 13:08   ` Andreas Jaeger
  0 siblings, 0 replies; 3+ messages in thread
From: Andreas Jaeger @ 2004-01-03 13:08 UTC (permalink / raw)
  To: Jakub Jelinek; +Cc: GNU libc hacker

[-- Attachment #1: Type: text/plain, Size: 457 bytes --]

Jakub Jelinek <jakub@redhat.com> writes:

>[...]
> Seems the regex_internal.h part of the patch has not been commited.

Thanks for providing that - I've committed it now.

> Also, perl -pi -e 's/mctxt/mctx/' ChangeLog

Ok, also done and committed,

Andreas
-- 
 Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
  SuSE Linux AG, Maxfeldstr. 5, 90409 Nürnberg, Germany
   GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126

[-- Attachment #2: Type: application/pgp-signature, Size: 188 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-01-03 13:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-03  9:39 regexec.c does not build Andreas Jaeger
2004-01-03 12:49 ` Jakub Jelinek
2004-01-03 13:08   ` Andreas Jaeger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).