Re: Activity

Phil Willoughby <[email protected]> Sat, 16 Oct 2004 12:43:33 +0100
Newsgroups gmane.comp.graphics.y.devel
Message-ID <[email protected]>
Quoting Arpad Borsos <[email protected]>:
> So please at least commit your changes to arch that other people can
> play with the code and that i can test it.

You seem to be under the impression that there is some secret hidden codebase
somewhere in which changes have been made. There isn't.  Everyone's busy.

> I had a compile error some time ago which i could resolve with a little
> help from a friend but since i have switched to gcc 3.4 i'm totaly out
> of luck. Unfortunately i can't code C++ :( See the Build Config Page for
> more details.

Where's that page then?  As a complaint, this is probably the most useless
information ever.  If you send the last few lines of your make output (from the
point it executed the compiler to the point make noticed the error) to the list
there's a moderate chance you might get some help.

This patch fixes some bugs in code which may or may not be related to your
problem (against [email protected] Y--devel--0.2--patch-54):

===begin===
--- orig/Y/main/config.c
+++ mod/Y/main/config.c
@@ -199,7 +199,7 @@
   long int i = strtol(*c, &end, 0);

   /* Must be terminated with whitespace */
-  if (!isspace(*c))
+  if (!isspace(*end))
     return false;

   *c = end;
@@ -218,7 +218,7 @@
   unsigned long int i = strtoul(*c, &end, 0);

   /* Must be terminated with whitespace */
-  if (!isspace(*c))
+  if (!isspace(*end))
     return false;

   *c = end;
--- orig/Y/main/y.c
+++ mod/Y/main/y.c
@@ -92,7 +92,7 @@
 {
   fprintf(stderr, "Usage: Y [OPTION ...]\n");
   fprintf(stderr, "  --config file     use a different config file\n");
-  fprintf(stderr, "  --no-detach       do not detach from teh controlling
terminal\n");
+  fprintf(stderr, "  --no-detach       do not detach from the controlling
terminal\n");
   fprintf(stderr, "  --emit-pid        when detaching, emit the pid of the
server on stdout\n");
   fprintf(stderr, "\n");
   fprintf(stderr, "  --version         display version information and
exit\n");
===end===

Phil