1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-15 04:32:24 +00:00
Commit graph

597 commits

Author SHA1 Message Date
Pascal Stumpf
c50eb571e3 OpenBSD.cf: don't include xorg.cf (leftover) 2013-07-23 18:46:31 -06:00
Pascal Stumpf
20081d15c9 ttsnoop: deal with iostream.h and missing sentinels.
Replacing strstream may be possible, but requires more work and a better
understanding of the code.
2013-07-23 18:44:56 -06:00
Pascal Stumpf
380232cb93 Kill iostream.h deprecation warnings on *BSD. 2013-07-23 18:43:05 -06:00
Pascal Stumpf
f9a70b5165 SECURITY fix for dtappintegrate: Use mktemp(1) to generate a template.
Using a fixed filename in /tmp is just begging for a symlink attack ...
2013-07-22 17:26:19 -06:00
Pascal Stumpf
6c42732461 error.ds.src: don't hardcode /usr/dt 2013-07-22 17:25:00 -06:00
Pascal Stumpf
aa470d2e3a Adapt dtlogin/config/_common.ksh.src for OpenBSD:
* ps(1) is totally different on BSD and Linux.  The OSF commandline works fine.
* fontpath is in /usr/X11R6 on OpenBSD.
2013-07-22 17:24:13 -06:00
Pascal Stumpf
2e6347984b Simplify programs/Imakefile a bit. dtksh, dtlogin and dtcm build everywhere. 2013-07-22 17:23:24 -06:00
Pascal Stumpf
57cfd2162d s,/usr/dt,CDE_INSTALLATION_TOP,g in dtlogin/config 2013-07-22 17:22:23 -06:00
Pascal Stumpf
5153c43c50 Xreset.src: Do not hardcode /usr/dt. 2013-07-22 17:21:20 -06:00
Pascal Stumpf
9bd98b70f2 Do not hardcode /usr/dt in print.dt. 2013-07-22 17:20:25 -06:00
Pascal Stumpf
7e0a9517e3 Silence lots of warnings in lib/DtHelp.
* 64bit warnings
* Missing prototypes
* explicit parentheses / brackets

There's still some work to be done, but, as always, it's a start ...
2013-07-22 17:19:13 -06:00
Pascal Stumpf
0c165f56f5 kill a few more warnings in DtPrint 2013-07-22 17:15:34 -06:00
Pascal Stumpf
387ae5bdab sync warning flags betseen cc and c++ on OpenBSD 2013-07-22 17:14:15 -06:00
Pascal Stumpf
c48771be2b Do not use -fpermissive in programs/nsgmls. It's not needed. 2013-07-22 17:13:11 -06:00
Pascal Stumpf
dc0e8ea74d Kill most warnings in lib/DtTerm.
Mostly missing headers, explicit parentheses and new prototypes.

Some Caveats:
* I haven't compile-tested the SVR4 getpty file, it might need another tweak
* There were operator precedence bugs in TermPrimCursor.c and TermPrimRender.c
  (^ vs. !=).  This might change behaviour, but at least I haven't experienced
  any crashes ...
* This adds a little more dependencies for include ordering, but unless we
  want to play the "headers that include headers that include headers..." game,
  this is unavoidable.
2013-07-22 17:12:07 -06:00
Pascal Stumpf
8f98ac92cd Kill lots of warnings in DtSvc. 2013-07-21 15:54:39 -06:00
alx
0d7568e843 dticon: fixed "rubber string" drawing on high/true color displays 2013-06-26 11:20:52 -06:00
Jon Trulson
f8567bff18 update for 2.2.0d release 2013-05-30 15:20:09 -06:00
Jon Trulson
1dca91cb11 update for release 2013-05-30 15:11:21 -06:00
Peter Howkins
6d5eec1855 Update date in copyright (and splash screen) 2013-05-30 16:08:58 +01:00
Ulrich Wilkens
6f56ab0e42 Fix screen locking for BSDs 2013-05-29 20:00:43 -06:00
Jon Trulson
1d8f86a6ba Revert "Enable the use of the TIRPC library on Linux."
This reverts commit 8a8619bfa8.

More work will need to be done to use tirpc on 64bit systems.  It
works 'accidentally' on 32b systems.  The issue is that tirpc
includes *must* be used, and there is some work required to properly
support this (like proper include paths, proper definition of XDR,
etc).

So for now, we revert this until that work can be completed and tested,
otherwise 64b linux builds are likely to have problems.
2013-05-27 19:34:08 -06:00
alx
006dbc0e33 Enable X11 screen saver extension on Linux 2013-05-26 21:10:48 -06:00
Jon Trulson
fae50f7b98 Merge branch 'master' into multi-monitor 2013-05-26 17:50:12 -06:00
Jon Trulson
7006fbc8bf Merge branch 'master' of ssh://git.code.sf.net/p/cdesktopenv/code 2013-05-26 17:48:55 -06:00
Jon Trulson
8a8619bfa8 Enable the use of the TIRPC library on Linux.
This should avoid the need to run rpcbind in insecure mode.  You will
need to have the libtirpc-dev package, or equivalent installed.
2013-05-26 17:47:00 -06:00
Peter Howkins
3bd9b4c4da dtstyle: Sort color palette names into alphabetical order for displaying. 2013-05-20 15:53:44 +01:00
Jon Trulson
a71ee09728 dtksh: fix a build issue with Kubuntu x86_64.
Remove an apparently unnecessary 'mac' definition for feature/fs and
an unnecessary struct stat forward declaration.
2013-05-18 02:34:06 -06:00
Jon Trulson
fbe451187f Merge branch 'master' into multi-monitor 2013-05-17 23:55:51 -06:00
Jon Trulson
fe0e5904c3 dtksh: fix a build issue with Kubuntu x86_64.
Remove an apparently 'mac' definition for feature/fs and an
unnecessary struct stat forward declaration.
2013-05-17 23:22:33 -06:00
Jon Trulson
a198d898e8 TT RPC server: Don't search 538 million transients trying to allocate one.
Currently, mp_rpc_server.C tries 538 million ports to acquire an
available transient rpcbind port number.  This is bad when rpcbind is
running in secure mode (and you are not using tirpc) - Xsession will
'hang' at the dthello (blue) screen filling up your error logs with
RPC errors.

Now, just try +- 50 (for a total of 100 ports) before bailing.  The
dthello 'blue screen of death' is the most common problem in starting
CDE when rpcbind isn't set up properly.  This should at least not
cause the appearance of a 'hang'.
2013-05-17 16:16:17 -06:00
alx
86e5dc1f10 Fixed dtpad server crash when closing editor window associated with primary document 2013-04-15 17:54:25 -06:00
Ulrich Wilkens
e8cb780125 Build dtksh on more OSs 2013-03-30 17:33:07 -06:00
Jon Trulson
af7ba55f78 Add basic Xinerama support via new lib/DtXinerama
This adds a basic library and support to dtsession and dtlogin to
support Xinerama/Twinview, where multimple monitors are used to make
up an X11 screen.

The main goal here is to draw dialogs and such centered on a monitor,
rather than spread out over multiple monitors.

Might need to add sorting - as on my test system, what I would
consider monitor 0, appears to actually be monitor 1.  So a sort might
need to be added to sort the screens according to increasing x and y
offsets so it make sense to a user.

Also, this library is built statically and not documented.  Maybe it
could be 'filled' out and refactored/redesigned in the futre if need
be and suppoerted.

It is enabled via a define, CDE_USEXINERAMA in site.def.  It's a very
simple lib, so I do not expect any issues with the BSD's - it should
build and work fine, assuming your X server has the XINERAMA
extension, which I think pretty much all of them do at this point.
2013-03-26 19:49:50 -06:00
Jon Trulson
208c1e4999 Add initial Greek UTF-8 translations.
Supplied by Antonis Tsolomitis <antonis.tsolomitis@gmail.com>
2013-03-12 15:03:43 -06:00
Karsten Pedersen
69997241c5 Fixed building on FreeBSD 8.x 2013-02-26 17:28:17 -07:00
Karsten Pedersen
cc076d7756 Fixed colored border around workspace buttons 2013-02-26 17:28:10 -07:00
Pascal Stumpf
0ec1d6b692 Avoid negative array subscript; break out of the loop if that happens. 2012-11-27 23:46:12 -07:00
Pascal Stumpf
943aaadf86 Introduce DTKORNSHELL, analogous to KORNSHELL.
DTKORNSHELL is used to specify the install location of dtksh on your system,
preventing hardcoding of /usr/dt/bin/dtksh in Shebang lines and such.
2012-11-24 19:25:27 -07:00
Pascal Stumpf
b49a4ffc94 Keep track of the length of the string in ExpandVariables().
On OpenBSD, the 'S' option to malloc(3) enables guard pages (among other
things).  This loop could have triggered this trap when reading beyond the
buffer.  Also, the whole "while(*ip)" construct was based on the assumption that
the memory after the string is always zero-filled.
2012-11-24 19:25:19 -07:00
Jon Trulson
f84950100f Revert "Older Linux installations do not have svcfd_create()."
This reverts commit 44e384aedb.

This code is actually needed.  If svcfd_create() is not available, it
should be fixed only for those systems that it affects.
2012-11-24 19:16:58 -07:00
Pascal Stumpf
c64ac1985b Set NATIVEXBINDIR on OpenBSD. 2012-11-20 17:17:37 -07:00
Pascal Stumpf
c57d2191e8 Respect CDE_CONFIGURATION_TOP and CDE_INSTALLATION_TOP.
Do not hardcode /etc/dt and /usr/dt.
2012-11-20 17:17:33 -07:00
Pascal Stumpf
76c874b068 dtgreet: Do not crash if LANG is not set in the environment.
In that case, catopen() will have never been called, and we'd feed 0 as the
first argument to catgets().  This crashes, at least on OpenBSD.
2012-11-20 17:17:29 -07:00
Pascal Stumpf
0e5560cee4 Correct paths to xterm as failsafe client on the BSDs. 2012-11-20 17:17:25 -07:00
Pascal Stumpf
d821557ca4 Use same SIGCHLD handling for OpenBSD as for OSF. 2012-11-20 17:17:18 -07:00
Peter Howkins
e51d581782 dtaction: Resolve 8 warnings caused by -Wall 2012-11-20 16:22:04 +00:00
Peter Howkins
ea96eb624d dtcalc: Resolve 82 warnings causing by enabling -Wall 2012-11-20 14:49:40 +00:00
Pascal Stumpf
b64f79b1b8 On OpenBSD, use FILE_MAP_OPTIMIZED.
This has the effect of not performing a tt call each time in
ResolveLocalPathName() if we're on the local host anyway.  Drastically reduces
dtfile startup time.
2012-11-19 19:44:32 -07:00
Pascal Stumpf
5b9d3fc5ec Use /usr/sbin/sendmail as default mailer on OpenBSD. 2012-11-19 19:44:29 -07:00
Pascal Stumpf
6ecf213b63 Do not build motif manpages any more. 2012-11-19 19:44:24 -07:00
Pascal Stumpf
fad2d16d20 Remove hack adding csu objects to the linker command line on OpenBSD.
This is no longer needed now that $(CC) is used to link shared libraries.
2012-11-19 19:44:19 -07:00
Pascal Stumpf
38f3f5dcba set AvoidNullMakeCommand on OpenBSD to avoid make warnings 2012-11-19 19:44:15 -07:00
Peter Howkins
e56e3f74e6 dtcalc: Further remove K&R function prototypes and replace with ANSI. 2012-11-19 14:28:52 +00:00
Peter Howkins
f4339cd58e dtcalc: Convert functions from K&R to ansi declarations. 2012-11-16 17:03:10 +00:00
Peter Howkins
b556633eca dtscreen: Resolve (all) 11 warnigns caused by -Wall 2012-11-16 15:57:36 +00:00
Peter Howkins
a67b65198d dtscreen: Resolve a -Wformat-security warning. 2012-11-16 15:29:50 +00:00
Peter Howkins
43cfaeaa65 libDtSearch: Resolve 137 -Wunused-variable warnings. 2012-11-12 17:13:36 +00:00
Peter Howkins
9040256676 libDtSearch: Resolve 38 -Wformat warnings 2012-11-12 16:26:11 +00:00
Peter Howkins
a10520c43c libDtPrint: Resolve 9 -Wunused-variable warnings. 2012-11-12 15:03:37 +00:00
Peter Howkins
21feacd159 libdthelp: Resolve 65 -Wunused-variable warnings 2012-11-09 17:20:46 +00:00
Peter Howkins
6f2a704bbd libcsa: Resolve 96 -Wunused-variable warnings.
This is not all of them, another ~90 exist in generated code.
2012-11-06 15:07:08 +00:00
Peter Howkins
37c30d32f7 lidtwidget: Resolve 74 -Wunused-variable warnings 2012-11-06 13:56:11 +00:00
Peter Howkins
a0da2db479 dtcalc: Resolve 43 warnings that would be introduced with -Wunused-variable or -Wall
Basically 43 local variables declared in functions and then never used.
2012-11-05 16:44:29 +00:00
Marcin Cieslak
2c10f0d62b Fix location of some SGML files 2012-10-24 18:17:06 -06:00
Ulrich Wilkens
8fd8a8a4db Fix dtappbuilder on Linux 2012-10-16 21:04:57 -06:00
Ulrich Wilkens
9b4fe61ea4 dtinfo other requirements 2012-10-15 17:59:26 -06:00
Ulrich Wilkens
f17d779dab dtinfo subtree clients 2012-10-15 17:59:11 -06:00
Ulrich Wilkens
5cdb889f7b dtinfo subtree tools 2012-10-15 17:59:00 -06:00
Ulrich Wilkens
07e886ba7c dtinfo subtree dtinfogen 2012-10-15 17:58:44 -06:00
Ulrich Wilkens
51b8929ebd dtinfo subtree dtinfo 2012-10-15 17:57:49 -06:00
Ulrich Wilkens
8275485b4a dtinfo subtree mmdb 2012-10-15 17:57:35 -06:00
Ulrich Wilkens
8c8363f4a5 dtinfo subtree DtMmdb 2012-10-15 17:57:14 -06:00
Marcin Cieslak
b92cf08899 Adobe Helvetica as -dt-interface system-
Use Adobe Helvetica as the sans serif user
interface font (among others, dtlogin, front
panel buttons, menu titles) instead of Lucida.

While there, move X Consortium comment back
to the top.

This change applies only to FreeBSD.
2012-10-08 19:31:24 +01:00
Peter Howkins
cd39eabb18 libdthelp: resolve 46 compiler warnings 2012-10-08 15:34:45 +01:00
Marcin Cieslak
c3c9abd86f Set CDE_RELEASE to 2.2.0 2012-10-06 18:42:35 +01:00
Jon Trulson
1c7b2005fe Update HISTORY for 2.2.0c release 2012-10-04 18:10:33 -06:00
Jon Trulson
7c9ca091be update CONTRIBUTORS 2012-10-04 18:06:47 -06:00
Jelle Hermsen
b8862cab32 Changed a couple of ifdefs for __FreeBSD__ to CSRG_BASED. These are all clearcut cases. I left the ones I had doubts about, or where I wasn't sure about the OpenBSD side of things to look at later. 2012-10-03 17:06:57 -06:00
David J.McBrayer
8cfdf21526 -Updated README.dtlogin -Update "# Provides:" in dtlogin LSB init script 2012-10-02 18:58:42 -06:00
Marcin Cieslak
40883b0165 Remove missing xmbind and uil from UDB
Remove xmbind and uil utilities we
do not build and install from the
packing lists.
2012-10-02 18:57:14 -06:00
Marcin Cieslak
aacfe3e5de dtfile: Fix crash when trying to open filter dialog
On 64-bit machine dtfile crashes when opening
list of file types to filter in Encaps.c:

   _DtShowDialog (parent=0x805c80900, map_parent=0x0, top_rec=0x805ce3600,
     dialog_data=0x805db25e0, change_proc=0x4489f0 <FilterChange+16>,
     change_data=0x805ce3600, close_proc=0x4489c0 <FilterClose+16>,
     close_data=0x805ce3600, workspaces=0x0, iconify_state=0 '\0',
     ignoreCache=0 '\0', title=0x0, classHints=0x0) at Encaps.c:531

531	        ResetFlag(NULL,fr->close);
2012-10-02 18:57:12 -06:00
Jon Trulson
cc5544354f linux.cf: use -fno-strict-aliasing, define DefaultGcc2i386Opt, use indenting to improve readability 2012-10-01 19:27:36 -06:00
Marcin Cieslak
de61ffa637 Use -O2 -fno-strict-aliasing optimization for FreeBSD
- Switching from -O to -O2 after the dthelp problem
  has been resolved
- Introducing -fno-strict-aliasing (currently FreeBSD's
  default) to avoid silent change of behaviour of legacy code.

  http://thiemonagel.de/2010/01/no-strict-aliasing/

  http://jeffreystedfast.blogspot.de/2010/01/weird-bugs-due-to-gcc-44-and-strict.html

Analysis of C99 aliasing (we are not C99 yet):

  http://davmac.wordpress.com/2010/02/26/c99-revisited/
2012-10-01 18:59:20 -06:00
Marcin Cieslak
775fb0f0f1 Don't break help with gcc -O2
libDtHelp is unable to read SDL help files
with -ftree-store-ccp optimization which
is enabled by -O2 on gcc 4.2.1.

GifUtils.c and decompress.c didn't work
properly with -ftree-store-ccp enabled.

GifUtils.c was repaired by fixing
those warnings:

GifUtils.c: In function 'create_pixmap':
GifUtils.c:1093: warning: return makes integer from pointer without a cast
GifUtils.c:1110: warning: return makes integer from pointer without a cast
GifUtils.c:1215: warning: return makes integer from pointer without a cast
GifUtils.c: In function 'gif_to_pixmap':
GifUtils.c:1242: warning: return makes integer from pointer without a cast

decompress.c didn't generate warnings, but the
only effect of the -ftree-store-cpp was to introduce
this change:

        addq    $1, %rax
        movq    %rax, (%rbx)
 .L90:
-       cmpl    $157, %edx
+       cmpl    $-99, %edx
        jne     .L86
        movl    8(%rbx), %eax
        subl    $1, %eax

Which corresponds to this source code:

bufioI.h

     57 #define BufFileGet(f)   ((f)->left-- ? *(f)->bufp++ : (*(f)->io) (f))

     42     int     (*io)(/* BufFilePtr f */);

decompress.c
     53 #ifdef NO_UCHAR
     54  typedef char   char_type;
     55 #else
     56  typedef        unsigned char   char_type;
     57 #endif /* UCHAR */
     58
     59 static  char_type magic_header[] = { "\037\235" };      /* 1F 9D */

    131     if ((BufFileGet(f) != (magic_header[0] & 0xFF)) ||
    132         (BufFileGet(f) != (magic_header[1] & 0xFF)))
    133     {
    134         return 0;
    135     }

BufFileGet() returns (int), so the (unsigned char) constants
got promoted to (int) with sign extension; therefore constant
157 decimal (0x9D) became -99 decimal, sign extended
(0xffffff9D), and the comparison was always false.

Tested using:
$ gcc -v
Using built-in specs.
Target: amd64-undermydesk-freebsd
Configured with: FreeBSD/amd64 system compiler
Thread model: posix
gcc version 4.2.1 20070831 patched [FreeBSD]

Running on:
FreeBSD 10.0-CURRENT (r240948M)
built Wed Sep 26 23:33:08 CEST 2012
2012-10-01 18:59:14 -06:00
Marcin Cieslak
48b76f8623 dtcreate: Don't crash when clicking "Find Set..."
dtcreate crashed on 64-bit system when clicking
"Find Set.." button.

Crash happens in libXm:

    new_w=0x805db4300, args=0x7fffffffb430, num_args=0x7fffffffb3dc)
    at Form.c:1955

$1 = {att = {{type = 4 '\004', w = 0x805db3700, percent = 0, offset = 0,
      value = 0, tempValue = 0}, {type = 1 '\001', w = 0x0, percent = 0,
      offset = 10, value = 0, tempValue = 0}, {type = 3 '\003',
      w = 0x805db3700, percent = 0, offset = 0, value = 0, tempValue = 0}, {
      type = 3 '\003', w = 0x800000000, percent = 0, offset = 10, value = 0,
      tempValue = 0}}, next_sibling = 0x0, sorted = 0 '\0',
  resizable = 1 '\001', preferred_width = 0, preferred_height = 0}

(...)

    at icon_selection_dialog.c:1768
1767            /* Creation of icon_scrolled_win */
1768            icon_scrolled_win = XtVaCreateManagedWidget( "icon_scrolled_win",
1769                            xmScrolledWindowWidgetClass,
1770                            icon_selection_dialog,
1771                            XmNscrollingPolicy, XmAUTOMATIC,
1772    /*                      XmNnavigationType, XmTAB_GROUP, */
1773                            XmNx, 282,
1774                            XmNy, 84,
1775                            XmNscrollBarDisplayPolicy, XmAS_NEEDED,
1776                            XmNrightOffset, 10,
1777                            XmNrightAttachment, XmATTACH_FORM,
1778                            XmNtopOffset, 0,
1779                            XmNtopWidget, icon_container_label,
1780                            XmNtopAttachment, XmATTACH_WIDGET,
1781                            XmNleftOffset, 0,
1782                            XmNleftWidget, icon_container_label,
1783                            XmNleftAttachment, XmATTACH_OPPOSITE_WIDGET,
1784                            XmNbottomOffset, 10,
1785                            XmNbottomWidget, XmATTACH_NONE,
1786                            XmNbottomAttachment, XmATTACH_WIDGET,
1787                            NULL );

What happens here is that ConstraintInitialize receives
four constraints, the last one is this:

    { type = 3 '\003', /* XmATTACH_WIDGET */
      w = 0x800000000, /* malformed XmATTACH_NONE ???
      percent = 0,
      offset = 10, /* specified as XmNbottomOffset */
      value = 0,
      tempValue = 0}

XmATTACH_* values are defined in <Xm/Xm.h> as follows:

   505  enum{   XmATTACH_NONE,                  XmATTACH_FORM,
   506          XmATTACH_OPPOSITE_FORM,         XmATTACH_WIDGET,
   507          XmATTACH_OPPOSITE_WIDGET,       XmATTACH_POSITION,
   508          XmATTACH_SELF
   509          } ;

What is not clear to why XmATTACH_NONE - which should be (int)0 -
becomes 0x800000000 - looks like a 64 bit bug somewhere.

Providing a long value on None (0L) as in this change fixes the
problem.

I understand is that it possible to use such an "empty" widget
is to create additional space at the bottom of the newly created
"icon_scrolled_win".

What needs to be clarified - shouldn't be such an (int) value be
automatically promoted to (long) (or XtArgVal, XtPointer, ...)
and preserve the value 0? Lots of parameters seem to be
passed as ints (for example dimensions) and they do not
appear to cause any trouble.
2012-09-30 11:11:21 -06:00
Jon Trulson
f40368caa2 XmPrivate.h: never try to build this automatically.
XmPrivate must be generated manually.  For this you work, you must
have a freshly compiled openmotif tree, and MLIBSRC must be pointing
to it.

Otherwise, it's possible during the includes phase for an attempt to
be made to regenerate this file, which will fail on the vast majority
of systems out there.

So, to regenerate,

cd include/Xm
rm XmPrivate.h
make XmPrivate.h
2012-09-29 20:46:27 -06:00
Marcin Cieslak
27bc7d6bec dtcreate: Add missing prototypes and more (64-bit)
- Fix missing prototypes
- Fix some 64-bit related problems (XtVaGetValues)
- Fix crash on dtcreate startup in create_applicationShell1()
- Add XmeFlushIconFileCache() prototype from <Xm/IconFileP.h>
2012-09-29 20:28:45 -06:00
Marcin Cieslak
3eaeffaf7e XmPrivate.h: Avoid whitespace problems (IMPROVED)
When applying a patch, "git am" strips
trailing whitespace, although they are
present in the git formatted-patch.

This way the committed file will be
slightly different than the file re-generated
by extractprototype.h

It shouldn't hurt, but next run of
extractprototype.h will add trailing spaces
again and the resulting diff on XmPrivate.h
will include more changes than actually
needed.

This may break some viscious circle after
applying the patch, so enabling regeneration
on LinuxArchitecture again.

This patch does not add XmeFlushIconFileCache()
needed by dtcreate.
2012-09-29 20:28:43 -06:00
Frederic Koehler
71962e580d dtcreate: Avoid trying to reuse closed help window
This fixes a segfault when trying to go to help a second
time, after closing the first window.
2012-09-29 19:29:02 -06:00
Frederic Koehler
4773d68153 dthelp: Avoid undefined behaviour in strcpy
Technically strcpy's ranges cannot overlap at all,
although in practice this is usually not an issue.
Does quiet a valgrind warning, however.
2012-09-29 19:21:27 -06:00
Marcin Cieslak
7948362829 dtfile: fix crash in RecheckFlag (64bit) 2012-09-28 19:13:29 -06:00
Jelle Hermsen
399915f0ce Teach ToolTalk config about NetBSD and adds HAS_STATVFS identifier which is consequently used in tt_file_system.C, because NetBSD switched to the POSIX/XOpen statvfs() calls in 2004. 2012-09-28 19:11:09 -06:00
James Woodcock
0ea703ed1e Use the system strcasestr() on Linux. 2012-09-27 18:01:24 -06:00
James Woodcock
44e384aedb Older Linux installations do not have svcfd_create().
svcfd_create() is only called if OPT_UNIX_SOCKET_RPC is defined, so a #ifdef
round that code should be OK.
2012-09-27 18:01:19 -06:00
James Woodcock
406fa95994 Use RPC_ANYSOCK instead of the magic number -1. 2012-09-27 18:01:14 -06:00
James Woodcock
407bb371f2 Remove unnecessary extern modifier from struct declaration. 2012-09-27 18:01:09 -06:00
Marcin Cieslak
ee82570104 Use typedef XDR from <rpc/xdr.h>
__rpc_xdr is no longer available on FreeBSD 10.
(XDR is typedef'd as "struct XDR" and not "struct __rpc_xdr").

By the way, why did we ever need this? Probably
it should be removed. Leaving for __OpenBSD__ for now.
2012-09-27 17:54:12 -06:00
Marcin Cieslak
5f8b6ba739 dticon: fix typo in the last commit 2012-09-27 17:54:09 -06:00
Marcin Cieslak
481e46a7b2 Update vendor logo for FreeBSD
- Improved font rendering and anti-aliasing
  by hand
- Let dticon recognize .bm file as X bitmap
2012-09-26 19:43:55 -06:00