[prev in list] [next in list] [prev in thread] [next in thread] 

List:       strace
Subject:    [PATCH] Typo in source break compile on Solaris 7
From:       Petter Reinholdtsen <pere () hungry ! com>
Date:       2003-12-16 19:13:38
[Download RAW message or body]


There is a small typo in the source, breaking the compile on Solaris 7.
This is the start of the error messages.  The errors go on.

  cc-wrapper -DHAVE_CONFIG_H -I. -I. -I. -Isvr4/sparc -I./svr4/sparc
  -Isvr4 -I./svr4 -D_GNU_SOURCE -g -c `test -f 'stream.c' || echo
  './'`stream.c
  "stream.c", line 935: undefined symbol: strict
  "stream.c", line 935: syntax error before or at: ioctlent

The problem is a 'strict' which should read 'struct'.  Here is a patch
to fix it.

diff -ur src-4.5.1/stream.c src-4.5.1-local/stream.c
--- src-4.5.1/stream.c  2003-11-14 03:54:03.000000000 +0100
+++ src-4.5.1-local/stream.c    2003-12-16 20:10:57.000000000 +0100
@@ -932,7 +932,7 @@
 int arg;
 {
        struct strioctl si;
-       strict ioctlent *iop;
+       struct ioctlent *iop;
        int in_and_out;
        int timod = 0;
 #ifdef SI_GETUDATA

Please apply in the next version.


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Strace-devel mailing list
Strace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/strace-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic