Skip to content

Commit 390ade9

Browse files
authored
Merge pull request #150 from sysprog21/bump-copyright-year
Bump copyright year
2 parents 1aca5b9 + b64d2fc commit 390ade9

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
lab0-c is freely redistributable under the two-clause BSD License:
22

33
Copyright (C) 2017 Carnegie Mellon University.
4-
Copyright (C) 2018-2023 National Cheng Kung University, Taiwan.
4+
Copyright (C) 2018-2024 National Cheng Kung University, Taiwan.
55
All rights reserved.
66

77
Redistribution and use in source and binary forms, with or without

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ Trace files
116116
## Debugging Facilities
117117

118118
Before using GDB debug `qtest`, there are some routine instructions need to do. The script `scripts/debug.py` covers these instructions and provides basic debug function.
119-
```
119+
```shell
120120
$ scripts/debug.py -h
121121
usage: debug.py [-h] [-d | -a]
122122

@@ -126,7 +126,7 @@ optional arguments:
126126
-a, --analyze Analyze the core dump file
127127
```
128128
* Enter GDB without interruption by **SIGALRM**.
129-
```
129+
```shell
130130
$ scripts/debug.py -d
131131
Reading symbols from lab0-c/qtest...done.
132132
Signal Stop Print Pass to program Description
@@ -138,13 +138,13 @@ cmd>
138138

139139
The core dump file was created in the working directory of the `qtest`.
140140
* Allow the core dumps by using shell built-in command **ulimit** to set core file size.
141-
```
141+
```shell
142142
$ ulimit -c unlimited
143143
$ ulimit -c
144144
unlimited
145145
```
146146
* Enter GDB and analyze
147-
```
147+
```shell
148148
$ scripts/debug.py -a
149149
Reading symbols from lab0-c/qtest...done.
150150
[New LWP 9424]
@@ -167,7 +167,7 @@ cmd>
167167
168168
A small web server is already integrated within the `qtest` command line interpreter,
169169
and you may use it by running the `web` command in its prompt.
170-
```
170+
```shell
171171
$ ./qtest
172172
cmd> web
173173
listen on port 9999, fd is 3

scripts/pre-push.hook

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ YELLOW='\033[1;33m'
88
NC='\033[0m' # No Color
99

1010
# Validate repository
11-
# commit c2084e68866b7eaabd95f671319d3ee01e923b32 (HEAD -> master)
12-
# Author: Jim Huang <jserv[email protected]>
13-
# Date: Tue Jan 24 14:59:36 2023 +0800
11+
# commit 3ed17237af5b1ead6c394df5099bc2bc1f8392df (HEAD -> bump-copyright-year)
12+
# Author: Jim Huang <jserv@ccns.ncku.edu.tw>
13+
# Date: Tue Feb 20 03:59:49 2024 +0800
1414
# Bump copyright year
15-
commit=$(git rev-list -n 1 --grep '^Bump copyright' 0e922a9b7da49726c91f1d7176bd5fa0cada97be...HEAD)
16-
if [ x"$commit" != x"c2084e68866b7eaabd95f671319d3ee01e923b32" ] ; then
15+
commit=$(git rev-list -n 1 --grep '^Bump copyright' 1aca5b98471765db50c91e03298e49bf7c08cdbc...HEAD)
16+
if [ x"$commit" != x"3ed17237af5b1ead6c394df5099bc2bc1f8392df" ] ; then
1717
echo -e "${RED}ERROR${NC}: This repository is insane."
1818
echo -e "Make sure you did fork from https://github.com/sysprog21/lab0-c recently."
1919
echo ""

0 commit comments

Comments
 (0)