Mercurial > hg > xemacs-beta
comparison src/emacs.c @ 4977:2bf7c51d7101
Automatic merge
author | Ben Wing <ben@xemacs.org> |
---|---|
date | Fri, 05 Feb 2010 04:28:08 -0600 |
parents | 16112448d484 3bf1b0f0c391 |
children | 3c3c1d139863 |
comparison
equal
deleted
inserted
replaced
4976:16112448d484 | 4977:2bf7c51d7101 |
---|---|
935 #endif | 935 #endif |
936 | 936 |
937 #define SHEBANG_PROGNAME_LENGTH \ | 937 #define SHEBANG_PROGNAME_LENGTH \ |
938 (int)((sizeof (WEXTSTRING (SHEBANG_PROGNAME)) - sizeof (WEXTSTRING ("")))) | 938 (int)((sizeof (WEXTSTRING (SHEBANG_PROGNAME)) - sizeof (WEXTSTRING ("")))) |
939 #define SHEBANG_EXE_PROGNAME_LENGTH \ | 939 #define SHEBANG_EXE_PROGNAME_LENGTH \ |
940 (int)(sizeof (WEXTSTRING (SHEBANG_PROGNAME ".exe")) \ | 940 (int)(sizeof (WEXTSTRING (SHEBANG_PROGNAME) WEXTSTRING (".exe")) \ |
941 - sizeof (WEXTSTRING (""))) | 941 - sizeof (WEXTSTRING (""))) |
942 | 942 |
943 { | 943 { |
944 int progname_len = wext_strlen (argv[0]); | 944 int progname_len = wext_strlen (argv[0]); |
945 if (progname_len >= SHEBANG_PROGNAME_LENGTH) | 945 if (progname_len >= SHEBANG_PROGNAME_LENGTH) |