1/* 2 * Redistribution and use in source and binary forms, with or without 3 * modification, are permitted provided that the following conditions 4 * are met: 5 * 1. Redistributions of source code must retain the above copyright 6 * notice, this list of conditions and the following disclaimer. 7 * 2. Redistributions in binary form must reproduce the above copyright 8 * notice, this list of conditions and the following disclaimer in the 9 * documentation and/or other materials provided with the distribution. 10 * 11 * Jordan K. Hubbard 12 * 29 August 1998 13 *
| 1/* 2 * Redistribution and use in source and binary forms, with or without 3 * modification, are permitted provided that the following conditions 4 * are met: 5 * 1. Redistributions of source code must retain the above copyright 6 * notice, this list of conditions and the following disclaimer. 7 * 2. Redistributions in binary form must reproduce the above copyright 8 * notice, this list of conditions and the following disclaimer in the 9 * documentation and/or other materials provided with the distribution. 10 * 11 * Jordan K. Hubbard 12 * 29 August 1998 13 *
|
14 * $FreeBSD: head/sys/boot/common/interp_backslash.c 50477 1999-08-28 01:08:13Z peter $
| 14 * $FreeBSD: head/sys/boot/common/interp_backslash.c 64187 2000-08-03 09:14:02Z jhb $
|
15 * 16 * Routine for doing backslash elimination. 17 */ 18 19#include <stand.h> 20#include <string.h>
| 15 * 16 * Routine for doing backslash elimination. 17 */ 18 19#include <stand.h> 20#include <string.h>
|
| 21#include "bootstrap.h"
|
21 22#define DIGIT(x) (isdigit(x) ? (x) - '0' : islower(x) ? (x) + 10 - 'a' : (x) + 10 - 'A') 23 24/* 25 * backslash: Return malloc'd copy of str with all standard "backslash 26 * processing" done on it. Original can be free'd if desired. 27 */ 28char *
--- 137 unchanged lines hidden --- | 22 23#define DIGIT(x) (isdigit(x) ? (x) - '0' : islower(x) ? (x) + 10 - 'a' : (x) + 10 - 'A') 24 25/* 26 * backslash: Return malloc'd copy of str with all standard "backslash 27 * processing" done on it. Original can be free'd if desired. 28 */ 29char *
--- 137 unchanged lines hidden --- |