On Thursday 12 June 2008 04:42:13 am Harlan Stenn wrote:
> Here's the patch I needed to use to get 5.9.5 working:

> --- sntp/libopts/m4/libopts.m4  Fri Jun  6 17:16:28 2008
> +++ libopts/m4/libopts.m4       Thu Jun 12 06:56:38 2008
> @@ -68,6 +68,7 @@
>    AC_CHECK_HEADERS(stdint.h inttypes.h, break)
>    AC_CHECK_TYPES([int8_t, uint8_t, int16_t, uint16_t, int32_t, uint32_t,
>       intptr_t, uintptr_t, uint_t])
> +  AC_CHECK_TYPES([wchar_t, mode_t, pid_t, uid_t, gid_t])
>
>    # =====
>    # sizes

I am unclear why these are needed.  Several (mode_t, uid_t and gid_t) are not 
even
used.  I think I'll remove all references.  "wchar_t" is only needed by the 
snprintf
library which is not included in libopts.  How does this affect anything?  The 
"pid_t"
does need to be added to config/libopts.def (ultimately showing up in 
libopts.m4).

So, I've added "pid_t" and removed the others from both configure.in and 
compat/compat.h.

Thanks -Bruce


$ for w in wchar_t mode_t pid_t uid_t gid_t;do echo;echo;egrep -w $w 
$(<.list);done


compat/compat.h:  typedef unsigned int  wchar_t;
configure.in:  [u_int, long long, uintmax_t, mode_t, pid_t, size_t, uid_t, 
gid_t, wchar_t])
snprintfv/compat.h:typedef wchar_t snv_wchar_t;
snprintfv/printf.in: * @pa_wchar: a %wchar_t
snprintfv/printf.in: * @pa_wstring: a %const pointer to %wchar_t
snprintfv/printf.in:  PA_WSTRING,                       /* const wchar_t *, 
wide character string */
snprintfv/snprintfv.m4:  AC_CHECK_TYPES(wchar_t)


compat/compat.h:  typedef signed int    mode_t;
configure.in:  [u_int, long long, uintmax_t, mode_t, pid_t, size_t, uid_t, 
gid_t, wchar_t])


agen5/agInit.c:            pid_t child;
agen5/agInit.c:            pid_t child;
agen5/agShell.c: int chainOpen( int stdinFd, tCC** ppArgs, pid_t* pChild ) { 
return -1; }
agen5/agShell.c: pid_t openServer( tFdPair* pPair, tCC** ppArgs ) { return 
NOPROCESS; }
agen5/agShell.c: pid_t openServerFP( tpfPair* pfPair, tCC** ppArgs ) { return 
NOPROCESS; }
agen5/agShell.c:static pid_t   serverId   = NULLPROCESS;
agen5/agShell.c:           pid_t*    pChild  )
agen5/agShell.c:    pid_t     chId;
agen5/agShell.c:LOCAL pid_t
agen5/agShell.c:    pid_t     chId;
agen5/agShell.c:LOCAL pid_t
agen5/agShell.c:    pid_t     chId = openServer( &fdPair, ppArgs );
agen5/autogen.h:#define NOPROCESS   ((pid_t)-1)
agen5/autogen.h:#define NULLPROCESS ((pid_t)0)
autoopts/pgusage.c:    static pid_t     my_pid;
compat/compat.h:  typedef signed int    pid_t;
configure.in:  [u_int, long long, uintmax_t, mode_t, pid_t, size_t, uid_t, 
gid_t, wchar_t])
getdefs/getdefs.h:pid_t   agPid      = -1;


compat/compat.h:  typedef signed int    uid_t;
configure.in:  [u_int, long long, uintmax_t, mode_t, pid_t, size_t, uid_t, 
gid_t, wchar_t])


compat/compat.h:  typedef signed int    gid_t;
configure.in:  [u_int, long long, uintmax_t, mode_t, pid_t, size_t, uid_t, 
gid_t, wchar_t])

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Autogen-users mailing list
Autogen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/autogen-users

Reply via email to