Loading ...
Sorry, an error occurred while loading the content.

Asus EeePC support for JASSPA MicroEmacs

Expand Messages
  • Jon Green
    A Zero-install JASSPA MicroEmacs image for the Asus Eee PC has now been built and uploaded to the Jasspa site. This does not require the macros which are built
    Message 1 of 1 , May 2, 2010
    • 0 Attachment
      A Zero-install JASSPA MicroEmacs image for the Asus Eee PC has now been built
      and uploaded to the Jasspa site. This does not require the macros which are
      built in and should run with no installation. Console and X-Window versions are
      made available.

      http://www.jasspa.com/zeroinst.html

      If you wish to build from source then the following source code patch is
      required on the zero install source bundle 2009.12.12. This fixes a crash when
      the binary is installed on the system path (i.e. /usr/local/bin)

      Regards
      Jon.

      ++

      *** /home/jon/merep/me/src/unixterm.c 2009-12-13 18:20:29.584266000 +0000
      --- /home/jon/unixterm.c 2010-05-03 00:21:10.947714000 +0100
      ***************
      *** 336,342 ****
      /* Create the pathname of the executable in the /proc file system and
      * read in the link. */
      sprintf (buf, "/proc/%d/path/a.out", pid);
      ! if ((n = readlink (buf, execpath, execlen)) >= 0)
      {
      execpath [n] = '\0';
      status = 1;
      --- 336,342 ----
      /* Create the pathname of the executable in the /proc file system and
      * read in the link. */
      sprintf (buf, "/proc/%d/path/a.out", pid);
      ! if ((n = readlink (buf, execpath, execlen)) > 0)
      {
      execpath [n] = '\0';
      status = 1;
      ***************
      *** 348,360 ****
      /* Get the PID */
      if ((pid = getpid ()) >= 0)
      {
      char buf [meBUF_SIZE_MAX];
      int n;

      /* Create the pathname of the executable in the /proc file system and
      * read in the link. */
      sprintf (buf, "/proc/%d/exe", pid);
      ! if ((n = readlink (buf, execpath, execlen)) >= 0)
      {
      execpath [n] = '\0';
      status = 1;
      --- 348,363 ----
      /* Get the PID */
      if ((pid = getpid ()) >= 0)
      {
      + struct stat statbuf;
      char buf [meBUF_SIZE_MAX];
      int n;

      /* Create the pathname of the executable in the /proc file system and
      * read in the link. */
      sprintf (buf, "/proc/%d/exe", pid);
      ! if((lstat(buf, &statbuf) != 0) &&
      ! (S_ISLNK(statbuf.st_mode)) &&
      ! ((n = readlink (buf, execpath, execlen)) >= 0))
      {
      execpath [n] = '\0';
      status = 1;
      [EXIT 1]
    Your message has been successfully submitted and would be delivered to recipients shortly.