summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Merrill <jason@gcc.gnu.org>1997-08-21 19:14:36 -0400
committerJason Merrill <jason@gcc.gnu.org>1997-08-21 19:14:36 -0400
commit51e3ba163a15e7acf89aaa11c7a1afe9fcedeaff (patch)
tree7ea22b8a550f20d59776b0d6c0d47aa0cdfa0e8c
parent6599da043e22e96ac830fb50a61c1b6d95d1b142 (diff)
downloadgcc-51e3ba163a15e7acf89aaa11c7a1afe9fcedeaff.tar.gz
ignored by import
From-SVN: r14882
-rw-r--r--libio/stdio/ChangeLog.old141
-rw-r--r--mpw-install122
2 files changed, 263 insertions, 0 deletions
diff --git a/libio/stdio/ChangeLog.old b/libio/stdio/ChangeLog.old
new file mode 100644
index 00000000000..9cc5d324bd7
--- /dev/null
+++ b/libio/stdio/ChangeLog.old
@@ -0,0 +1,141 @@
+Thu Jun 24 12:34:43 1993 Per Bothner (bothner@rtl.cygnus.com)
+
+ * configure.in (TARGETLIB): Fix libio.a -> libstdio++.a.
+
+Fri May 28 16:05:20 1993 Per Bothner (bothner@rtl.cygnus.com)
+
+ * stdio.h: Don't define NULL as (void*)0, if __cplusplus,
+ unless g++.
+
+Mon Apr 26 12:47:43 1993 Ian Lance Taylor (ian@cygnus.com)
+
+ * tmpnam.C: Don't include unnecessary header files.
+
+Fri Oct 16 17:27:39 1992 Per Bothner (bothner@rtl.cygnus.com)
+
+ * fseek.C, stdio.h: fseek() returns int, not long.
+ * stdio.h: Define size_t with typedef, not macro.
+ * stdio.h: Use renamed __std_filebuf_0 etc instead of
+ old names _cin_sbuf (etc). (See ../strstrbufs.C.)
+ * stdio.h, fprintf.C, printf.C: Implement non-macro versions
+ of stdin/stdout/stderr, for use by debuggers.
+
+Mon Aug 17 15:26:23 1992 Mike Stump (mrs@rtl.cygnus.com)
+
+ * setbuf.C (setbuf), setvbuf.C (setvbuf): Fix typo. fp should be
+ stream.
+
+Mon Aug 10 19:22:50 1992 Per Bothner (bothner@cygnus.com)
+
+ * setbuf.C, setvbuf.C: Stylistic change: Use
+ FILE_to_streambuf macro instead of __validfp + cast.
+ * setbuf.C (setbuf): Turn off linebuffering.
+
+Mon Aug 10 11:40:22 1992 Ian Lance Taylor (ian@dumbest.cygnus.com)
+
+ * Makefile.in: always create installation directories.
+
+Mon Jul 20 14:56:39 1992 Mike Stump (mrs@cygnus.com)
+
+ * fread.c (fread), fwrite.C (fwrite), tmpnam.C (tempnam):
+ Cast a void * to a char *, since it is not a standard
+ conversion.
+
+Fri Jun 26 12:06:47 1992 Per Bothner (bothner@rtl.cygnus.com)
+
+ * stdio.h: Declare Posix stuff even without _POSIX_SOURCE
+ unless __STRICT_ANSI__ is defined.
+ * fflush.C: Use streambuf::sync() rather than overflow(EOF),
+ since that seems likely to be more consistent with Posix
+ (though only your language lawyer can tell for sure).
+
+Wed Jun 17 17:02:30 1992 Per Bothner (bothner@rtl.cygnus.com)
+
+ * Makefile.in: Fix *clean rules.
+ * stdio.h: Protect prototypes for the sake of K&R compilers.
+
+Thu Jun 4 12:01:05 1992 Per Bothner (bothner@rtl.cygnus.com)
+
+ * stdio.h: Fix typo: tmpname -> tmpnam.
+
+ * remove.C, rename.C: Remove redundant prototypes
+ for link() and unlink().
+
+Wed Jun 3 17:00:15 1992 Per Bothner (bothner@rtl.cygnus.com)
+
+ * fgetpos.C, fsetpos.C, gets.C, perror.C, puts.C, remove.C,
+ rename.C, tmpfile.C, tmpnam.C: New files, adding the
+ remaining pieces of ANSI functionality.
+ * stdio.h: Add new functions and macros.
+ * Makefile.in: Add new file.
+ * fputs.C (fputs): Fix return value according to ANSI.
+ * ftell.C (ftell): Make sure errno is set on an error
+ (if not set by lower-level routines), as required by ANSI.
+
+Sun May 31 14:05:07 1992 Per Bothner (bothner@rtl.cygnus.com)
+
+ * Makefile.in: Use CFLAGS, not MINUS_G.
+
+Thu May 28 13:52:27 1992 Per Bothner (bothner@rtl.cygnus.com)
+
+ * stdio.h: #include <stdarg.h> if _G_config.h tells us we need to.
+ * vfscanf.C, vscanf.C, vsscanf.C: Use _G_va_list
+ instead of va_list, to be consistent.
+
+Thu May 14 12:43:35 1992 Per Bothner (bothner@rtl.cygnus.com)
+
+ * Makefile.in: Define IO_DIR (needed by depend rules).
+
+Wed May 6 15:40:46 1992 Per Bothner (bothner@rtl.cygnus.com)
+
+ * Makefile.in: Delete $(TARGETLIB) before runing ar.
+ * fseek.C: fseek() should return 0 on success, not
+ the new position.
+
+Mon Apr 20 14:33:09 1992 Per Bothner (bothner@cygnus.com)
+
+ * popen.C: New file, defines popen() and pclose() using procbufs.
+ * Makefile.in, stdio.h: Add popen.
+
+Fri Apr 17 09:13:04 1992 Per Bothner (bothner at PersSony)
+
+ * configure.in: No longer needed.
+ * stdio.C: Removed __underflow and __overflow; now in libio.a.
+ * fflush.C: Add FILE*->streambuf* cast, for new __overflow.
+ * stdio.h: Use __underflow and __overflow in libio.a.
+
+Wed Feb 26 11:56:04 1992 Per Bothner (bothner at cygnus.com)
+
+ * freopen.C, sscanf.C, vfscanf.C, vsprintf.C: Removed
+ redundant 'extern "C"' (or just plain 'extern') before
+ function definitions.
+ * stdio.h: Try to clean up some system-specific
+ stuff by getting parameters from _G_config.h.
+ * vprintf.C, vsprintf.C: Use _G_va_list, not _STDIO_VA
+
+Tue Feb 4 13:26:12 1992 Per Bothner (bothner at cygnus.com)
+
+ * Makefile.in: Rename library to libstdio++.a,
+ and add 'install' rule.
+ * fread.C: Fix to return correct count.
+ * fwrite.C: Pull out stuff from BSD; just use streambuf::sputn.
+ * stdio.C, fflush.c: Use new streambuf::flush_all() method.
+ * stdio.h, hvfprintf.C, vprintf.C, vsprintf.C:
+ Define _STDIO_VA and use it instead of va_list.
+ (Using va_list causes namespace problems.)
+
+Thu Jan 16 17:04:26 1992 Per Bothner (bothner at cygnus.com)
+
+ * *printf.C: Change __vsbprintf(sb ...) to sb->vform(...).
+ * *scanf.C: Change __vsbscanf(sb ...) to sb->vscan(...).
+ * emulate.C: Removed unused function __stdio_check_offset.
+
+Fri Jan 3 16:12:18 1992 Per Bothner (bothner at cygnus.com)
+
+ * Makefile.in: Make fit better with rest of libg++ Makefiles.
+
+Thu Jan 2 22:31:04 1992 John Gilmore (gnu at cygnus.com)
+
+ * Makefile.in, configure.in: Create.
+ * Makefile: Remove.
+ * ChangeLog: Create.
diff --git a/mpw-install b/mpw-install
new file mode 100644
index 00000000000..04c5aac2a4f
--- /dev/null
+++ b/mpw-install
@@ -0,0 +1,122 @@
+# GNU Install script for MPW.
+
+Set OldExit "{Exit}"
+Set Exit 0
+
+Set TempUserStartup "{TempFolder}"__temp__UserStartup
+
+Echo '# UserStartup generated by GNU Install script' > "{TempUserStartup}"
+Echo '' >> "{TempUserStartup}"
+
+# (should) Check that disk space is sufficient for installation.
+
+# Assume that the install script is where everything else is.
+
+Set thisdir "`Directory`"
+
+# Copy the binaries to the desired place.
+
+Confirm -t "Copy the binaries to somewhere else?"
+Set TmpStatus {Status}
+If {TmpStatus} == 0
+ Set bindest "`GetFileName -d -m "Where to install the binaries?"`"
+ If {Status} == 0
+ If "`Exists "{thisdir}bin"`" != ""
+ For afile In "{thisdir}"bin:\Option-x
+ Duplicate -y "{afile}" "{bindest}"
+ End For
+ Else
+ Echo "bin directory not found, exiting"
+ Exit 1
+ End If
+ Else
+ Echo "No destination supplied, exiting"
+ Exit 1
+ End If
+Else If {TmpStatus} == 4
+ # Use the existing directory.
+ Set bindest "{thisdir}bin:"
+Else
+ # Cancelled from confirmation, escape altogether.
+ Exit 1
+End If
+
+# Copy the libraries to the desired place.
+
+Confirm -t "Copy the libraries to somewhere else?"
+Set TmpStatus {Status}
+If {TmpStatus} == 0
+ Set libdest "`GetFileName -d -m "Where to install the libraries?"`"
+ If {Status} == 0
+ If "`Exists "{thisdir}lib:"`" != ""
+ For afile In "{thisdir}"lib:\Option-x
+ Duplicate -y "{afile}" "{libdest}"
+ End For
+ Else
+ Echo "lib directory not found, exiting"
+ Exit 1
+ End If
+ Else
+ Echo "No destination supplied, exiting"
+ Exit 1
+ End If
+Else If {TmpStatus} == 4
+ # Use the existing directory.
+ Set libdest "{thisdir}lib:"
+Else
+ # Cancelled from confirmation, escape altogether.
+ Exit 1
+End If
+
+
+# Add the location of the binaries to the command path.
+
+Echo -n 'Set Commands "' >> "{TempUserStartup}"
+Echo -n "{bindest}" >> "{TempUserStartup}"
+Echo ',{Commands}"' >> "{TempUserStartup}"
+Echo '' >> "{TempUserStartup}"
+
+# Set up GCC exec prefix.
+
+Set gcclibdir "{libdest}"gcc-lib:
+
+Echo -n 'Set GCC_EXEC_PREFIX "' >> "{TempUserStartup}"
+Echo -n "{gcclibdir}" >> "{TempUserStartup}"
+Echo '"' >> "{TempUserStartup}"
+Echo "Export GCC_EXEC_PREFIX" >> "{TempUserStartup}"
+Echo '' >> "{TempUserStartup}"
+
+# Set up path to libgcc.xcoff etc.
+
+Echo -n 'Set GCCPPCLibraries "' >> "{TempUserStartup}"
+Echo -n "{libdest}" >> "{TempUserStartup}"
+Echo '"' >> "{TempUserStartup}"
+Echo "Export GCCPPCLibraries" >> "{TempUserStartup}"
+Echo '' >> "{TempUserStartup}"
+
+# Display contents of UserStartup, confirm installation.
+
+Set UserStartupName "UserStartup\Option-8GNU"
+
+Echo "Contents of" {UserStartupName} "will be:"
+Catenate "{TempUserStartup}"
+
+Confirm "Install {UserStartupName} into the MPW folder {MPW} ?"
+If {Status} == 0
+ Duplicate "{TempUserStartup}" "{MPW}{UserStartupName}"
+ Delete -y "{TempUserStartup}"
+Else
+ Echo "{UserStartupName} file not installed"
+End If
+
+# (should) Check HEXA resource, warn if low.
+
+# (should) Check for spaces in pathnames, warn if found.
+
+Echo "Installation was successful."
+Echo ""
+Echo "Be sure to review the usage notes in 'Read Me for MPW' before proceeding!"
+
+# Restore previous settings.
+
+Set Exit "{OldExit}"