From c3ef388efe05ab2c69ae1c67d4da89bd6b33164c Mon Sep 17 00:00:00 2001 From: Unknown <> Date: Sat, 23 Jul 2011 00:20:10 +0000 Subject: [PATCH] add files for 2011-07-23T00:20:10Z --- src/osdep/unix/Makefile | 8 ++++++++ src/osdep/unix/env_unix.c | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/osdep/unix/Makefile b/src/osdep/unix/Makefile index 090c8f2..78913ac 100644 --- a/src/osdep/unix/Makefile +++ b/src/osdep/unix/Makefile @@ -199,6 +199,14 @@ a41: # AIX 4.1 for RS/6000 BASECFLAGS="-g -Dunix=1 -D_BSD -qro -qroconst" \ BASELDFLAGS="-ls" +a52: # Attempt at AIX 5.2 + $(BUILD) `$(CAT) SPECIALS` OS=$@ \ + SIGTYPE=psx CHECKPW=a41 CRXTYPE=nfs \ + SPOOLDIR=/var/spool \ + RSHPATH=/usr/bin/rsh \ + BASECFLAGS="-g -Dunix=1 -D_BSD -qro -qroconst" \ + BASELDFLAGS="-ls" + aix: # AIX/370 @echo You are building for AIX on an S/370 class machine @echo If you want AIX on an RS/6000 you need to use a32 or a41 instead! diff --git a/src/osdep/unix/env_unix.c b/src/osdep/unix/env_unix.c index 5ddade1..6b2c447 100644 --- a/src/osdep/unix/env_unix.c +++ b/src/osdep/unix/env_unix.c @@ -21,7 +21,7 @@ * Internet: MRC@Washington.EDU * * Date: 1 August 1988 - * Last Edited: 15 May 2008 + * Last Edited: 23 February 2009 */ #include @@ -1813,7 +1813,7 @@ long path_create (MAILSTREAM *stream,char *path) restrictBox = NIL; /* can't restrict */ if (blackBox) { /* if black box */ /* toss out driver dependent names */ - printf (path,"%s/INBOX",mymailboxdir ()); + sprintf (path,"%s/INBOX",mymailboxdir ()); blackBox = NIL; /* well that's evil - evil is going on */ ret = mail_create (stream,path); blackBox = T; /* restore the box */ -- 2.50.1