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
emacs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
emacs
emacs
Commits
6f197c07
Commit
6f197c07
authored
Jul 17, 2002
by
Dave Love
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(adjust_coding_eol_type): Fix eol_type/eol_seen mixup.
parent
fd3aa3e1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
src/ChangeLog
src/ChangeLog
+4
-0
src/coding.c
src/coding.c
+3
-3
No files found.
src/ChangeLog
View file @
6f197c07
2002-07-17 Dave Love <fx@gnu.org>
* coding.c (adjust_coding_eol_type): Fix eol_type/eol_seen mixup.
2002-07-16 Dave Love <fx@gnu.org>
* casetab.c (init_casetab_once, init_casetab_once): Fix
...
...
src/coding.c
View file @
6f197c07
/* Coding system handler (conversion, detection, and etc).
Copyright (C) 1995, 1997, 1998 Electrotechnical Laboratory, JAPAN.
Licensed to the Free Software Foundation.
Copyright (C) 2001 Free Software Foundation, Inc.
Copyright (C) 2001
, 2002
Free Software Foundation, Inc.
Copyright (C) 2001, 2002
National Institute of Advanced Industrial Science and Technology (AIST)
Registration Number H13PRO009
...
...
@@ -4982,9 +4982,9 @@ adjust_coding_eol_type (coding, eol_seen)
eol_type = CODING_ID_EOL_TYPE (coding->id);
if (eol_seen & EOL_SEEN_LF)
coding->id = CODING_SYSTEM_ID (AREF (eol_type, 0));
else if (eol_
type
& EOL_SEEN_CRLF)
else if (eol_
seen
& EOL_SEEN_CRLF)
coding->id = CODING_SYSTEM_ID (AREF (eol_type, 1));
else if (eol_
type
& EOL_SEEN_CR)
else if (eol_
seen
& EOL_SEEN_CR)
coding->id = CODING_SYSTEM_ID (AREF (eol_type, 2));
}
...
...
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