revert
This commit is contained in:
parent
ac06c97e30
commit
f3c6f98243
4
app/bdftopcf/config.guess
vendored
4
app/bdftopcf/config.guess
vendored
@ -208,6 +208,10 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
|||||||
UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
|
UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
|
||||||
echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
|
echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
|
||||||
exit ;;
|
exit ;;
|
||||||
|
*:SecBSD:*:*)
|
||||||
|
UNAME_MACHINE_ARCH=`arch | sed 's/SecBSD.//'`
|
||||||
|
echo ${UNAME_MACHINE_ARCH}-unknown-secbsd${UNAME_RELEASE}
|
||||||
|
exit ;;
|
||||||
*:ekkoBSD:*:*)
|
*:ekkoBSD:*:*)
|
||||||
echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
|
echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
|
||||||
exit ;;
|
exit ;;
|
||||||
|
2
app/bdftopcf/config.sub
vendored
2
app/bdftopcf/config.sub
vendored
@ -1363,7 +1363,7 @@ case $os in
|
|||||||
| -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
|
| -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
|
||||||
| -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
|
| -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
|
||||||
| -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
|
| -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
|
||||||
| -bitrig* | -openbsd* | -solidbsd* \
|
| -bitrig* | -openbsd* | -secbsd* | -solidbsd* \
|
||||||
| -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
|
| -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
|
||||||
| -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
|
| -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
|
||||||
| -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
|
| -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
|
||||||
|
@ -71,7 +71,7 @@ static Event * BuildEvent ( ProtocolStream * stream );
|
|||||||
static void FreeEvent ( Event * event );
|
static void FreeEvent ( Event * event );
|
||||||
static char * DispatchEvent ( Event * event );
|
static char * DispatchEvent ( Event * event );
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* Function Name: ClientTimedOut
|
/* Function Name: ClientTimedOut
|
||||||
* Description: Called if the client takes too long to take our selection.
|
* 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);
|
SetMessage(global_screen_data.info_label, msg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* Function Name: GetClientWindow
|
/* Function Name: GetClientWindow
|
||||||
* Description: Gets the Client's window by asking the user.
|
* 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));
|
return(XmuClientWindow(dpy, target_win));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* Function Name: SetCommand
|
/* Function Name: SetCommand
|
||||||
* Description: Causes this widget to own the resource editor's
|
* Description: Causes this widget to own the resource editor's
|
||||||
@ -244,7 +244,7 @@ SetCommand(Widget w, ResCommand command, String msg)
|
|||||||
ClientTimedOut, (XtPointer) w);
|
ClientTimedOut, (XtPointer) w);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* Function Name: TellUserAboutMessage
|
/* Function Name: TellUserAboutMessage
|
||||||
* Description: Informs the user that we have sent a message to the client
|
* 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);
|
SetMessage(label, msg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* Function Name: ConvertCommand
|
/* Function Name: ConvertCommand
|
||||||
* Description: Converts the command string into a selection that can
|
* 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);
|
return(TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* Function Name: SelectionDone
|
/* Function Name: SelectionDone
|
||||||
* Description: done with the selection.
|
* 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 */
|
/* Keep the toolkit from automatically freeing the selection value */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* Function Name: LoseSelection
|
/* Function Name: LoseSelection
|
||||||
* Description: Called when we have lost the selection, asks client
|
* Description: Called when we have lost the selection, asks client
|
||||||
@ -347,7 +347,7 @@ LoseSelection(Widget w, Atom *sel)
|
|||||||
NULL, XtLastTimestampProcessed(XtDisplay(w)));
|
NULL, XtLastTimestampProcessed(XtDisplay(w)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* Function Name: GetClientValue
|
/* Function Name: GetClientValue
|
||||||
* Description: Gets the value out of the client, and does good things
|
* 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);
|
XtFree(error_str);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* Function Name: BuildHeader
|
/* Function Name: BuildHeader
|
||||||
* Description: Puts the header into the message.
|
* Description: Puts the header into the message.
|
||||||
@ -529,7 +529,7 @@ BuildHeader(CurrentClient *client_data)
|
|||||||
stream->size = old_size;
|
stream->size = old_size;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* Function Name: BuildEvent
|
/* Function Name: BuildEvent
|
||||||
* Description: Builds the event structure from the
|
* Description: Builds the event structure from the
|
||||||
@ -758,7 +758,7 @@ BuildEvent(ProtocolStream *stream)
|
|||||||
return(NULL);
|
return(NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* Function Name: FreeEvent
|
/* Function Name: FreeEvent
|
||||||
* Description: Frees all memory associated with the event.
|
* Description: Frees all memory associated with the event.
|
||||||
@ -860,7 +860,7 @@ FreeEvent(Event *event)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* Function Name: DispatchEvent
|
/* Function Name: DispatchEvent
|
||||||
* Description: Handles the event, calling the proper function.
|
* Description: Handles the event, calling the proper function.
|
||||||
@ -903,7 +903,7 @@ DispatchEvent(Event *event)
|
|||||||
return(error);
|
return(error);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* Function Name: InternAtoms
|
/* Function Name: InternAtoms
|
||||||
* Description: interns all static atoms.
|
* Description: interns all static atoms.
|
||||||
|
@ -53,7 +53,7 @@ in this Software without prior written authorization from The Open Group.
|
|||||||
|
|
||||||
#include "editresP.h"
|
#include "editresP.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* functions.
|
* functions.
|
||||||
@ -74,7 +74,7 @@ static void PopupOnNode ( WNode * node, Widget shell );
|
|||||||
static void FreeClientData ( Widget w, XtPointer ptr, XtPointer junk );
|
static void FreeClientData ( Widget w, XtPointer ptr, XtPointer junk );
|
||||||
static void FreeResBox ( Widget w, XtPointer ptr, XtPointer junk );
|
static void FreeResBox ( Widget w, XtPointer ptr, XtPointer junk );
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* Function Name: RebuildMenusAndLabel
|
/* Function Name: RebuildMenusAndLabel
|
||||||
* Description: Determines if the user has selected an application
|
* Description: Determines if the user has selected an application
|
||||||
@ -156,7 +156,7 @@ RebuildMenusAndLabel(const char *toolkit)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* Function Name: BuildWidgetTree
|
/* Function Name: BuildWidgetTree
|
||||||
* Description: Creates all widgets for Editres.
|
* Description: Creates all widgets for Editres.
|
||||||
@ -189,7 +189,7 @@ BuildWidgetTree(Widget parent)
|
|||||||
global_tree_parent = porthole;
|
global_tree_parent = porthole;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* Function Name: CreateTopArea
|
/* Function Name: CreateTopArea
|
||||||
@ -229,7 +229,7 @@ CreateTopArea(Widget parent)
|
|||||||
return(panner);
|
return(panner);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* Function Name: SetEntriesInsensitive
|
/* Function Name: SetEntriesInsensitive
|
||||||
* Description: Make menu entries unusable.
|
* 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);
|
int i; for (i=0; i<num; i++) XtSetSensitive(entries[i], sensitive);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* Function Name: CreateCommandMenu
|
/* Function Name: CreateCommandMenu
|
||||||
* Description: Creates the command menu.
|
* Description: Creates the command menu.
|
||||||
@ -311,7 +311,7 @@ CreateCommandMenu(Widget parent, const char *toolkit)
|
|||||||
SetEntriesSensitive(&CM_entries[CM_OFFSET], CM_NUM, False);
|
SetEntriesSensitive(&CM_entries[CM_OFFSET], CM_NUM, False);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* Function Name: CreateTreeCommandMenu
|
/* Function Name: CreateTreeCommandMenu
|
||||||
* Description: Creates the command menu.
|
* Description: Creates the command menu.
|
||||||
@ -406,7 +406,7 @@ CreateTreeCommandMenu(Widget parent, const char *toolkit)
|
|||||||
TM_NUM, False);
|
TM_NUM, False);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
static Pixmap old_pixmap;
|
static Pixmap old_pixmap;
|
||||||
|
|
||||||
@ -430,7 +430,7 @@ PrepareToLayoutTree(Widget tree)
|
|||||||
XtUnmapWidget(tree);
|
XtUnmapWidget(tree);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* Function Name: LayoutTree
|
/* Function Name: LayoutTree
|
||||||
* Description: Laysout the tree widget.
|
* Description: Laysout the tree widget.
|
||||||
@ -450,7 +450,7 @@ LayoutTree(Widget tree)
|
|||||||
XtSetValues(XtParent(tree), args, ONE);
|
XtSetValues(XtParent(tree), args, ONE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/************************************************************
|
/************************************************************
|
||||||
*
|
*
|
||||||
@ -533,7 +533,7 @@ CreateResourceBoxWidgets(WNode *node, char **names, char **cons_names)
|
|||||||
PopupOnNode(node, res_box->shell);
|
PopupOnNode(node, res_box->shell);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* Function Name: CreateResourceNameForm
|
/* Function Name: CreateResourceNameForm
|
||||||
* Description: Creates the Form widget with children that represent
|
* Description: Creates the Form widget with children that represent
|
||||||
@ -672,7 +672,7 @@ CreateResourceNameForm(Widget parent, WNode *node)
|
|||||||
XtFree((char *)classes);
|
XtFree((char *)classes);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* Function Name: SetToggleGroupLeaders
|
/* Function Name: SetToggleGroupLeaders
|
||||||
* Description: Sets the leaders of each toggle group.
|
* Description: Sets the leaders of each toggle group.
|
||||||
@ -697,7 +697,7 @@ SetToggleGroupLeaders(WNode *node)
|
|||||||
SetResourceString(NULL, (XtPointer) node, NULL);
|
SetResourceString(NULL, (XtPointer) node, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* Function Name: MakeBoxLookNice
|
/* Function Name: MakeBoxLookNice
|
||||||
* Description: Resizes the box that contains the resource names
|
* 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);
|
XtSetValues(single, args, num_args);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* Function Name: CreateLists
|
/* Function Name: CreateLists
|
||||||
* Description: Creates the list widgets for the normal and constraint
|
* Description: Creates the list widgets for the normal and constraint
|
||||||
@ -911,7 +911,7 @@ CreateValueWidget(Widget parent, WNode *node)
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* Function Name: PopupOnNode
|
/* Function Name: PopupOnNode
|
||||||
* Description: Pops a shell widget up centered on the node specified.
|
* Description: Pops a shell widget up centered on the node specified.
|
||||||
@ -969,7 +969,7 @@ PopupOnNode(WNode *node, Widget shell)
|
|||||||
XtPopup(shell, XtGrabNone);
|
XtPopup(shell, XtGrabNone);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* Function Name: FreeClientData
|
/* Function Name: FreeClientData
|
||||||
* Description: Frees the client data passed to this function.
|
* Description: Frees the client data passed to this function.
|
||||||
@ -986,7 +986,7 @@ FreeClientData(Widget w, XtPointer ptr, XtPointer junk)
|
|||||||
XtFree(ptr);
|
XtFree(ptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* Function Name: FreeResBox.
|
/* Function Name: FreeResBox.
|
||||||
* Description: Frees resource box allocated memory.
|
* Description: Frees resource box allocated memory.
|
||||||
|
Loading…
Reference in New Issue
Block a user