OSDN Git Service

fixed macros: CLK_TCK, malloc_usable_size.
[putex/putex.git] / src / texsourc / yandytex.c
index fefec3e..2006236 100644 (file)
@@ -1,4 +1,5 @@
-/* Copyright 1992 Karl Berry\r
+/*\r
+   Copyright 1992 Karl Berry\r
    Copyright 2007 TeX Users Group\r
    Copyright 2014 Clerk Ma\r
 \r
    You should have received a copy of the GNU General Public License\r
    along with this program; if not, write to the Free Software\r
    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA\r
-   02110-1301 USA.  */\r
+   02110-1301 USA.\r
+*/\r
 \r
 #define EXTERN\r
 \r
 #include "yandytex.h"\r
 \r
-#define dump_ext_length     4\r
-#define edit_value          tex_edit_value\r
+#define dump_ext_length 4\r
+#define edit_value      tex_edit_value\r
 \r
 extern char * replacement[];\r
 int    gargc;\r
@@ -736,36 +738,4 @@ int do_undump (char *p, int item_size, int nitems, FILE *in_file)
 #endif\r
 \r
   return 0;\r
-}\r
-\r
-#ifdef FUNNY_CORE_DUMP\r
-\r
-void funny_core_dump (void)\r
-{\r
-  int pid, w;\r
-  union wait status;\r
-\r
-  switch (pid = vfork ())\r
-  {\r
-    case -1:\r
-      perrormod ("vfork");\r
-      exit (-1);\r
-\r
-    case 0:\r
-       (void) signal (SIGQUIT, SIG_DFL);\r
-       (void) kill (getpid (), SIGQUIT);\r
-       (void) write (2, "how did we get here?\n", 21);\r
-       exit (1);\r
-\r
-    default:\r
-      while ((w = wait (&status)) != pid && w != -1)\r
-        ;\r
-\r
-      if (status.w_coredump)\r
-        exit (0);\r
-\r
-      (void) write (2, "attempt to dump core failed\n", 28);\r
-      exit (1);\r
-  }\r
-}\r
-#endif /* FUNNY_CORE_DUMP */
\ No newline at end of file
+}
\ No newline at end of file