OpenBSD CVS

CVS log for src/usr.bin/mg/Attic/sysdef.h


[BACK] Up to [local] / src / usr.bin / mg

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.20, Thu Mar 19 21:22:15 2015 UTC (9 years, 2 months ago) by bcallah
Branch: MAIN
CVS Tags: HEAD
Changes since 1.19: +1 -1 lines
FILE REMOVED

Clean up the includes in mg.
This does the following:
Moves all POSIX headers from sysdef.h into the individual .c files so that
each file now only includes what it needs. All headers are properly sorted.
Moves the remainder of sysdef.h to other files (mostly def.h) and deletes
sysdef.h now that it's no longer contains anything.
Tweak a comment that references sysdef.h so that it no longer does that.
ok florian@

Revision 1.19 / (download) - annotate - [select for diffs], Sun Nov 16 04:16:41 2014 UTC (9 years, 6 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)

Stop using <sys/param.h>; replace MAXPATHLEN with PATH_MAX, stop using MAX(),
and pull in <limits.h> for *_MAX constants.

inspired on a diff from Kamil Rytarowski (n54 (at) gmx.com)
ok bcallah@

Revision 1.18 / (download) - annotate - [select for diffs], Sun Nov 16 01:01:28 2014 UTC (9 years, 6 months ago) by guenther
Branch: MAIN
Changes since 1.17: +2 -1 lines
Diff to previous 1.17 (colored)

pull in <time.h> for struct timespec

diff from Kamil Rytarowski (n54 (at) gmx.com)

Revision 1.17 / (download) - annotate - [select for diffs], Thu Nov 13 21:36:23 2014 UTC (9 years, 6 months ago) by florian
Branch: MAIN
Changes since 1.16: +1 -4 lines
Diff to previous 1.16 (colored)

Nuke GOOD define and just exit(0) on success. While there remove
unused MALLOCROUND define.
No binary change.
From Martin Natano (natano AT natano DOT net).
OK lum@

Revision 1.16 / (download) - annotate - [select for diffs], Mon Sep 15 16:11:35 2008 UTC (15 years, 8 months ago) by kjell
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5
Changes since 1.15: +2 -1 lines
Diff to previous 1.15 (colored)

Enable dirty buffer detection in mg.
Emulate the emacs behavior: after suspend/resume, buffer switch,
or at save time, warn (prompt) the user if the file has been modified
on disk in the interim.
This has already saved my butt numerous times.
ok phessler

Revision 1.15 / (download) - annotate - [select for diffs], Tue Aug 1 22:16:03 2006 UTC (17 years, 9 months ago) by jason
Branch: MAIN
CVS Tags: OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0
Changes since 1.14: +3 -1 lines
Diff to previous 1.14 (colored)

* move sys/queue.h inclusion to sysdef.h (it's system specific)
* add <signal.h> to sysdef.h (needed for sig_atomic_t on linux, and
we get it by accident on OpenBSD)
* remove <signal.h> from tty.c/spawn.c (not needed now that it's in sysdef.h)
ok beck

Revision 1.14 / (download) - annotate - [select for diffs], Wed May 3 22:19:41 2006 UTC (18 years ago) by kjell
Branch: MAIN
Changes since 1.13: +1 -2 lines
Diff to previous 1.13 (colored)

Do some KNF, clean up some unused junk that has lying around for 40-odd
cvs revisions, and fix a few comments to match reality

Revision 1.13 / (download) - annotate - [select for diffs], Tue Jun 14 18:14:40 2005 UTC (18 years, 11 months ago) by kjell
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8
Changes since 1.12: +3 -1 lines
Diff to previous 1.12 (colored)

Add explicit public domain notices to all public domain files.
ok millert@, deraadt@

Revision 1.12 / (download) - annotate - [select for diffs], Sun Apr 3 02:09:28 2005 UTC (19 years, 1 month ago) by db
Branch: MAIN
Changes since 1.11: +5 -5 lines
Diff to previous 1.11 (colored)

This is a no binary change which does:

- spelling, punctuation fixes
- variable declaration lineup
- use parentheses for return and sizeof
- K&R function declarations -> ANSI
- other minor code beautification

ok henning@

Revision 1.11 / (download) - annotate - [select for diffs], Thu Feb 21 04:16:23 2002 UTC (22 years, 3 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6, OPENBSD_3_5_BASE, OPENBSD_3_5, OPENBSD_3_4_BASE, OPENBSD_3_4, OPENBSD_3_3_BASE, OPENBSD_3_3, OPENBSD_3_2_BASE, OPENBSD_3_2, OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.10: +3 -6 lines
Diff to previous 1.10 (colored)

remove a wrapper around getenv()

Revision 1.10 / (download) - annotate - [select for diffs], Thu Feb 14 22:54:35 2002 UTC (22 years, 3 months ago) by vincent
Branch: MAIN
Changes since 1.9: +3 -1 lines
Diff to previous 1.9 (colored)

 some programs now need the errno definition and sys/params, so put them in
there.

Revision 1.9 / (download) - annotate - [select for diffs], Thu May 24 03:05:26 2001 UTC (23 years ago) by mickey
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE, OPENBSD_3_0
Changes since 1.8: +6 -6 lines
Diff to previous 1.8 (colored)

spaces

Revision 1.8 / (download) - annotate - [select for diffs], Fri May 4 22:00:36 2001 UTC (23 years ago) by art
Branch: MAIN
Changes since 1.7: +1 -12 lines
Diff to previous 1.7 (colored)

Cleanups in filename and buffer name handling.
Mostly just using libc instead of rolling our own.

Revision 1.7 / (download) - annotate - [select for diffs], Mon Jan 29 01:58:10 2001 UTC (23 years, 3 months ago) by niklas
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9
Changes since 1.6: +2 -0 lines
Diff to previous 1.6 (colored)

$OpenBSD$

Revision 1.6 / (download) - annotate - [select for diffs], Thu Apr 13 06:12:17 2000 UTC (24 years, 1 month ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_8_BASE, OPENBSD_2_8, OPENBSD_2_7_BASE, OPENBSD_2_7
Changes since 1.5: +13 -13 lines
Diff to previous 1.5 (colored)

The start of KNF + -Wall.  The code has been run through indent but
needs hand fixup.  I stopped at keymap.c...

Revision 1.5 / (download) - annotate - [select for diffs], Sun Feb 27 05:55:30 2000 UTC (24 years, 2 months ago) by millert
Branch: MAIN
Changes since 1.4: +0 -1 lines
Diff to previous 1.4 (colored)

use rmdir, not unlinkdir hack

Revision 1.4 / (download) - annotate - [select for diffs], Sat Feb 26 23:22:44 2000 UTC (24 years, 2 months ago) by millert
Branch: MAIN
Changes since 1.3: +6 -4 lines
Diff to previous 1.3 (colored)

Use uid_t, gid_t and mode_t where applicable.
Pull in changes from the BSD-specific sysdef.h and fileio.c:
kill bogus unlinkdir() and rename() kludges since we have rmdir(2) and rename(2)
define SYMBLINK since we have symlinks
TODO: merge BSD spawn.c and ttyio.c

Revision 1.3 / (download) - annotate - [select for diffs], Sat Feb 26 22:53:16 2000 UTC (24 years, 2 months ago) by millert
Branch: MAIN
Changes since 1.2: +1 -1 lines
Diff to previous 1.2 (colored)

change WINDOW -> MGWIN to avoid curses type conflict
convert to terminfo in tty*.c
add support for some keypad function keys (arrows, pgup, pgdown)

Revision 1.2 / (download) - annotate - [select for diffs], Fri Feb 25 19:13:21 2000 UTC (24 years, 2 months ago) by deraadt
Branch: MAIN
Changes since 1.1: +4 -6 lines
Diff to previous 1.1 (colored)

further pruning

Revision 1.1 / (download) - annotate - [select for diffs], Fri Feb 25 19:08:51 2000 UTC (24 years, 2 months ago) by deraadt
Branch: MAIN

initial import of mg2a

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.