Thread View: gnu.gcc.bug
1 messages
1 total messages
Started by Marty Leisner 311/? x?
Fri, 24 Jul 1992 17:07
fixincludes on xmu.h problem with gcc 2.2.2?
Author: Marty Leisner 311/? x?
Date: Fri, 24 Jul 1992 17:07
Date: Fri, 24 Jul 1992 17:07
44 lines
1573 bytes
1573 bytes
Fixincludes with gcc2.2.2 seems have a problem with Xmu.h
I think Xmu.h is in X11/Xmu/Xmu.h, not X11/Xmu.h
Here's the diff:
***************
*** 361,370 ****
fi
fi
! # Incorrect sprintf declaration in X11/Xmu.h
! file=X11/Xmu.h
if [ -r $file ] && [ ! -r ${LIB}/$file ]; then
! mkdir ${LIB}/X11 2>/dev/null
cp $file ${LIB}/$file >/dev/null 2>&1 || echo "Can't copy $file"
chmod +w ${LIB}/$file 2>/dev/null
fi
--- 361,370 ----
fi
fi
! # Incorrect sprintf declaration in X11/Xmu/Xmu.h
! file=X11/Xmu/Xmu.h
if [ -r $file ] && [ ! -r ${LIB}/$file ]; then
! mkdir -p ${LIB}/X11/Xmu 2>/dev/null
cp $file ${LIB}/$file >/dev/null 2>&1 || echo "Can't copy $file"
chmod +w ${LIB}/$file 2>/dev/null
fi
Also, I'm not an expert on shell scripts, but doing
#!/bin/sh -vx
should turn on the v and x options...
In fixincludes, it didn't but:
set -v
set -x
on seperate lines worked (I'm using SunOS 4.1.2).
--
marty
leisner.henr801c@xerox.com
Member of the League for Programming Freedom
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads