This commit is contained in:
purplerain 2024-10-06 22:33:21 +00:00
parent ac06c97e30
commit f3c6f98243
Signed by: purplerain
GPG Key ID: F42C07F07E2E35B7
19 changed files with 118 additions and 114 deletions

View File

@ -208,6 +208,10 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
exit ;;
*:SecBSD:*:*)
UNAME_MACHINE_ARCH=`arch | sed 's/SecBSD.//'`
echo ${UNAME_MACHINE_ARCH}-unknown-secbsd${UNAME_RELEASE}
exit ;;
*:ekkoBSD:*:*)
echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
exit ;;

View File

@ -1363,7 +1363,7 @@ case $os in
| -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
| -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
| -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
| -bitrig* | -openbsd* | -solidbsd* \
| -bitrig* | -openbsd* | -secbsd* | -solidbsd* \
| -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
| -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
| -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \

View File

@ -71,7 +71,7 @@ static Event * BuildEvent ( ProtocolStream * stream );
static void FreeEvent ( Event * event );
static char * DispatchEvent ( Event * event );
/* Function Name: ClientTimedOut
* Description: Called if the client takes too long to take our selection.
@ -96,7 +96,7 @@ ClientTimedOut(XtPointer data, XtIntervalId *id)
SetMessage(global_screen_data.info_label, msg);
}
/* Function Name: GetClientWindow
* Description: Gets the Client's window by asking the user.
@ -169,7 +169,7 @@ GetClientWindow(Widget w, int *x, int *y)
return(XmuClientWindow(dpy, target_win));
}
/* Function Name: SetCommand
* Description: Causes this widget to own the resource editor's
@ -244,7 +244,7 @@ SetCommand(Widget w, ResCommand command, String msg)
ClientTimedOut, (XtPointer) w);
}
/* Function Name: TellUserAboutMessage
* Description: Informs the user that we have sent a message to the client
@ -285,7 +285,7 @@ TellUserAboutMessage(Widget label, ResCommand command)
SetMessage(label, msg);
}
/* Function Name: ConvertCommand
* Description: Converts the command string into a selection that can
@ -310,7 +310,7 @@ ConvertCommand(Widget w, Atom *selection, Atom *target, Atom *type_ret,
return(TRUE);
}
/* Function Name: SelectionDone
* Description: done with the selection.
@ -325,7 +325,7 @@ SelectionDone(Widget w, Atom *sel, Atom *targ)
/* Keep the toolkit from automatically freeing the selection value */
}
/* Function Name: LoseSelection
* Description: Called when we have lost the selection, asks client
@ -347,7 +347,7 @@ LoseSelection(Widget w, Atom *sel)
NULL, XtLastTimestampProcessed(XtDisplay(w)));
}
/* Function Name: GetClientValue
* Description: Gets the value out of the client, and does good things
@ -459,7 +459,7 @@ GetClientValue(Widget w, XtPointer data, Atom *selection, Atom *type,
XtFree(error_str);
}
/* Function Name: BuildHeader
* Description: Puts the header into the message.
@ -529,7 +529,7 @@ BuildHeader(CurrentClient *client_data)
stream->size = old_size;
}
/* Function Name: BuildEvent
* Description: Builds the event structure from the
@ -758,7 +758,7 @@ BuildEvent(ProtocolStream *stream)
return(NULL);
}
/* Function Name: FreeEvent
* Description: Frees all memory associated with the event.
@ -860,7 +860,7 @@ FreeEvent(Event *event)
}
}
/* Function Name: DispatchEvent
* Description: Handles the event, calling the proper function.
@ -903,7 +903,7 @@ DispatchEvent(Event *event)
return(error);
}
/* Function Name: InternAtoms
* Description: interns all static atoms.

View File

@ -53,7 +53,7 @@ in this Software without prior written authorization from The Open Group.
#include "editresP.h"
/*
* functions.
@ -74,7 +74,7 @@ static void PopupOnNode ( WNode * node, Widget shell );
static void FreeClientData ( Widget w, XtPointer ptr, XtPointer junk );
static void FreeResBox ( Widget w, XtPointer ptr, XtPointer junk );
/* Function Name: RebuildMenusAndLabel
* Description: Determines if the user has selected an application
@ -156,7 +156,7 @@ RebuildMenusAndLabel(const char *toolkit)
}
}
/* Function Name: BuildWidgetTree
* Description: Creates all widgets for Editres.
@ -189,7 +189,7 @@ BuildWidgetTree(Widget parent)
global_tree_parent = porthole;
}
/* Function Name: CreateTopArea
@ -229,7 +229,7 @@ CreateTopArea(Widget parent)
return(panner);
}
/* Function Name: SetEntriesInsensitive
* Description: Make menu entries unusable.
@ -244,7 +244,7 @@ SetEntriesSensitive(Widget *entries, int num, Boolean sensitive)
int i; for (i=0; i<num; i++) XtSetSensitive(entries[i], sensitive);
}
/* Function Name: CreateCommandMenu
* Description: Creates the command menu.
@ -311,7 +311,7 @@ CreateCommandMenu(Widget parent, const char *toolkit)
SetEntriesSensitive(&CM_entries[CM_OFFSET], CM_NUM, False);
}
/* Function Name: CreateTreeCommandMenu
* Description: Creates the command menu.
@ -406,7 +406,7 @@ CreateTreeCommandMenu(Widget parent, const char *toolkit)
TM_NUM, False);
}
static Pixmap old_pixmap;
@ -430,7 +430,7 @@ PrepareToLayoutTree(Widget tree)
XtUnmapWidget(tree);
}
/* Function Name: LayoutTree
* Description: Laysout the tree widget.
@ -450,7 +450,7 @@ LayoutTree(Widget tree)
XtSetValues(XtParent(tree), args, ONE);
}
/************************************************************
*
@ -533,7 +533,7 @@ CreateResourceBoxWidgets(WNode *node, char **names, char **cons_names)
PopupOnNode(node, res_box->shell);
}
/* Function Name: CreateResourceNameForm
* Description: Creates the Form widget with children that represent
@ -672,7 +672,7 @@ CreateResourceNameForm(Widget parent, WNode *node)
XtFree((char *)classes);
}
/* Function Name: SetToggleGroupLeaders
* Description: Sets the leaders of each toggle group.
@ -697,7 +697,7 @@ SetToggleGroupLeaders(WNode *node)
SetResourceString(NULL, (XtPointer) node, NULL);
}
/* Function Name: MakeBoxLookNice
* Description: Resizes the box that contains the resource names
@ -807,7 +807,7 @@ MakeBoxLookNice(Widget dot, Widget star, Widget any, Widget single,
XtSetValues(single, args, num_args);
}
/* Function Name: CreateLists
* Description: Creates the list widgets for the normal and constraint
@ -911,7 +911,7 @@ CreateValueWidget(Widget parent, WNode *node)
#endif
}
/* Function Name: PopupOnNode
* Description: Pops a shell widget up centered on the node specified.
@ -969,7 +969,7 @@ PopupOnNode(WNode *node, Widget shell)
XtPopup(shell, XtGrabNone);
}
/* Function Name: FreeClientData
* Description: Frees the client data passed to this function.
@ -986,7 +986,7 @@ FreeClientData(Widget w, XtPointer ptr, XtPointer junk)
XtFree(ptr);
}
/* Function Name: FreeResBox.
* Description: Frees resource box allocated memory.