Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
15dfd3d9
Commit
15dfd3d9
authored
Mar 14, 2011
by
Paul Eggert
Browse files
* sysdep.c (MAXPATHLEN): Define only if needed.
parent
edced198
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
src/ChangeLog
src/ChangeLog
+1
-0
src/sysdep.c
src/sysdep.c
+2
-2
No files found.
src/ChangeLog
View file @
15dfd3d9
...
...
@@ -4,6 +4,7 @@
Fix pointer signedness issue.
(sys_subshell): Mark local as volatile if checking for lint,
to suppress a gcc -Wclobbered warning that does not seem to be right.
(MAXPATHLEN): Define only if needed.
* process.c (serial_open, serial_configure): Move decls from here ...
* systty.h: ... to here, so that they can be checked.
src/sysdep.c
View file @
15dfd3d9
...
...
@@ -1886,13 +1886,13 @@ emacs_write (int fildes, const char *buf, unsigned int nbyte)
* under error conditions.
*/
#ifndef HAVE_GETWD
#ifndef MAXPATHLEN
/* In 4.1, param.h fails to define this. */
#define MAXPATHLEN 1024
#endif
#ifndef HAVE_GETWD
char *
getwd (char *pathname)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment