On Fri, Jan 28, 2000 at 12:05:21AM -0800, Kris Kennaway wrote:
>
>/home/kris/tmp/world/obj/.amd_mnt/freefall/host/c/users/kris/tmp/world/src/alpha/.amd_mnt/freefall/host/c/users/kris/tmp/world/src/gnu/usr.bin/cc/cpp/../cc_int/libcc_int.a(choose-temp.o):
> In function `choose_temp_base':
> choose-temp.c(.text+0x218): warning: mktemp() possibly used
> unsafely; consider using mkstemp()
>
>/home/kris/tmp/world/obj/.amd_mnt/freefall/host/c/users/kris/tmp/world/src/alpha/.amd_mnt/freefall/host/c/users/kris/tmp/world/src/gnu/usr.bin/cc/cpp/../cc_fbsd/libcc_fbsd.a(mktemp.o):
> In
> function `_gettemp':
> mktemp.c(.text+0x3f0): undefined reference to `_open'
> mktemp.c(.text+0x3f4): undefined reference to `_open'
> *** Error code 1
> 1 error
>
> This is from a freshly checked-out tree on beast, with no local mods
> outside of secure/. I've verified twice it's up-to-date with CVS..
I'm still trying to test this patch before committing.
Jason
Index: SYS.h
===================================================================
RCS file: /home/ncvs/src/lib/libc/alpha/SYS.h,v
retrieving revision 1.9
diff -u -r1.9 SYS.h
--- SYS.h 2000/01/27 23:06:02 1.9
+++ SYS.h 2000/01/28 08:15:20
@@ -104,7 +104,7 @@
#define PSYSCALL(name) \
PLEAF(name,0); /* XXX # of args? */ \
- WEAK_ALIAS(__CONCAT(_thread_sys_,name), name); \
+ WEAK_ALIAS(__CONCAT(_,name), name); \
CALLSYS_ERROR(name)
#define PRSYSCALL(name) \
@@ -115,7 +115,7 @@
#define PPSEUDO(label,name) \
PLEAF(label,0); /* XXX # of args? */ \
- WEAK_ALIAS(__CONCAT(_thread_sys_,name), name); \
+ WEAK_ALIAS(__CONCAT(_,name), name); \
CALLSYS_ERROR(name); \
RET; \
PEND(label)
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message