[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Groff-commit] groff ./ChangeLog src/devices/grotty/tty.cpp sr...
From: |
Werner LEMBERG |
Subject: |
[Groff-commit] groff ./ChangeLog src/devices/grotty/tty.cpp sr... |
Date: |
Mon, 02 May 2005 07:12:05 -0400 |
CVSROOT: /cvsroot/groff
Module name: groff
Branch:
Changes by: Werner LEMBERG <address@hidden> 05/05/02 11:12:05
Modified files:
. : ChangeLog
src/devices/grotty: tty.cpp
src/include : nonposix.h posix.h
Log message:
* src/include/nonposix.h (access) [_MSC_VER]: New macro.
* src/include/posix.h (F_OK): Define conditionally.
* src/devices/grotty/tty.cpp (tty_printer::make_underline): Use
different variable name in second `for' loop to avoid MSVC compiler
problem.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/groff/groff/ChangeLog.diff?tr1=1.817&tr2=1.818&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/groff/groff/src/devices/grotty/tty.cpp.diff?tr1=1.11&tr2=1.12&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/groff/groff/src/include/nonposix.h.diff?tr1=1.19&tr2=1.20&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/groff/groff/src/include/posix.h.diff?tr1=1.10&tr2=1.11&r1=text&r2=text
Patches:
Index: groff/ChangeLog
diff -u groff/ChangeLog:1.817 groff/ChangeLog:1.818
--- groff/ChangeLog:1.817 Mon May 2 10:25:01 2005
+++ groff/ChangeLog Mon May 2 11:12:04 2005
@@ -9,6 +9,15 @@
src/include/Makefile.sub, src/libs/libgroff/getopt.c,
src/libs/libgroff/getopt1.c: Revert to previous version.
+
+ * src/include/nonposix.h (access) [_MSC_VER]: New macro.
+
+ * src/include/posix.h (F_OK): Define conditionally.
+
+ * src/devices/grotty/tty.cpp (tty_printer::make_underline): Use
+ different variable name in second `for' loop to avoid MSVC compiler
+ problem.
+
2004-04-30 Werner LEMBERG <address@hidden>
AC_TYPE_SIGNAL from current autoconf can fail if CC=g++.
@@ -19,6 +28,7 @@
* PROBLEMS: Updated.
+
Update getopt files.
* src/include/getopt.h, src/libs/libgroff/getopt.c,
Index: groff/src/devices/grotty/tty.cpp
diff -u groff/src/devices/grotty/tty.cpp:1.11
groff/src/devices/grotty/tty.cpp:1.12
--- groff/src/devices/grotty/tty.cpp:1.11 Mon Mar 28 09:13:41 2005
+++ groff/src/devices/grotty/tty.cpp Mon May 2 11:12:05 2005
@@ -309,7 +309,7 @@
int n = w / font::hor;
for (int i = 0; i < n; i++)
putchar('_');
- for (int i = 0; i < n; i++)
+ for (int j = 0; j < n; j++)
putchar('\b');
}
}
Index: groff/src/include/nonposix.h
diff -u groff/src/include/nonposix.h:1.19 groff/src/include/nonposix.h:1.20
--- groff/src/include/nonposix.h:1.19 Sat Apr 2 12:49:11 2005
+++ groff/src/include/nonposix.h Mon May 2 11:12:05 2005
@@ -65,6 +65,7 @@
# define dup2(f1,f2) _dup2(f1,f2)
# define close(f) _close(f)
# define isatty(f) _isatty(f)
+# define access(p,m) _access(p,m)
# endif
# define SET_BINARY(f) do {if (!isatty(f)) setmode(f,O_BINARY);} while(0)
# define FOPEN_RB "rb"
Index: groff/src/include/posix.h
diff -u groff/src/include/posix.h:1.10 groff/src/include/posix.h:1.11
--- groff/src/include/posix.h:1.10 Mon Jan 5 22:49:07 2004
+++ groff/src/include/posix.h Mon May 2 11:12:05 2005
@@ -1,5 +1,5 @@
// -*- C++ -*-
-/* Copyright (C) 1992, 2000, 2001, 2002 Free Software Foundation, Inc.
+/* Copyright (C) 1992, 2000, 2001, 2002, 2005 Free Software Foundation, Inc.
Written by James Clark (address@hidden)
This file is part of groff.
@@ -58,6 +58,10 @@
#define O_RDONLY 0
#endif
+#ifndef F_OK
+#define F_OK 0
+#endif
+
#ifndef HAVE_ISATTY
#define isatty(n) (1)
#endif
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Groff-commit] groff ./ChangeLog src/devices/grotty/tty.cpp sr...,
Werner LEMBERG <=